Browse Source

Merge pull request #12 from Disruption/stomas/bugfix/wrong-field-reference

Added 'this' reference to num_instructions field so it's properly updated
pull/15/merge
bunnei 12 years ago
parent
commit
7527f238a1
  1. 2
      src/core/arm/arm_interface.h

2
src/core/arm/arm_interface.h

@ -25,7 +25,7 @@ public:
*/
void Run(int num_instructions) {
ExecuteInstructions(num_instructions);
num_instructions += num_instructions;
this->num_instructions += num_instructions;
}
/// Step CPU by one instruction

Loading…
Cancel
Save