diff options
| author | 2014-06-01 15:25:35 -0400 | |
|---|---|---|
| committer | 2014-06-01 15:25:35 -0400 | |
| commit | 7527f238a18e4dd2fd66a3a62dc1cd622a321a5c (patch) | |
| tree | 43498de81a8b767ca8f1835472483a0d2b68bc3b | |
| parent | Merge pull request #9 from bunnei/master (diff) | |
| parent | Added 'this' reference to num_instructions field so it's properly updated,as ... (diff) | |
| download | yuzu-7527f238a18e4dd2fd66a3a62dc1cd622a321a5c.tar.gz yuzu-7527f238a18e4dd2fd66a3a62dc1cd622a321a5c.tar.xz yuzu-7527f238a18e4dd2fd66a3a62dc1cd622a321a5c.zip | |
Merge pull request #12 from Disruption/stomas/bugfix/wrong-field-reference
Added 'this' reference to num_instructions field so it's properly updated
Diffstat (limited to '')
| -rw-r--r-- | src/core/arm/arm_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index b73786ccd..34a2eba1b 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h | |||
| @@ -25,7 +25,7 @@ public: | |||
| 25 | */ | 25 | */ |
| 26 | void Run(int num_instructions) { | 26 | void Run(int num_instructions) { |
| 27 | ExecuteInstructions(num_instructions); | 27 | ExecuteInstructions(num_instructions); |
| 28 | num_instructions += num_instructions; | 28 | this->num_instructions += num_instructions; |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | /// Step CPU by one instruction | 31 | /// Step CPU by one instruction |