mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-20 09:29:58 +00:00
Merge pull request #12 from Disruption/stomas/bugfix/wrong-field-reference
Added 'this' reference to num_instructions field so it's properly updated
This commit is contained in:
commit
7527f238a1
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ public:
|
||||||
*/
|
*/
|
||||||
void Run(int num_instructions) {
|
void Run(int num_instructions) {
|
||||||
ExecuteInstructions(num_instructions);
|
ExecuteInstructions(num_instructions);
|
||||||
num_instructions += num_instructions;
|
this->num_instructions += num_instructions;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Step CPU by one instruction
|
/// Step CPU by one instruction
|
||||||
|
|
Loading…
Reference in a new issue