fix crash on Windows + small performace improvement BUT breaks Donkey
Kong
This commit is contained in:
@@ -26,8 +26,8 @@ void Interpreter::Reset() {
|
||||
}
|
||||
|
||||
int Interpreter::Run() {
|
||||
int cycles = 0;
|
||||
for(; cycles <= mem.mmio.vi.cyclesPerHalfline; cycles++) {
|
||||
int cycles = 1;
|
||||
for(; cycles < mem.mmio.vi.cyclesPerHalfline; cycles++) {
|
||||
CheckCompareInterrupt(mem.mmio.mi, regs);
|
||||
|
||||
regs.prevDelaySlot = regs.delaySlot;
|
||||
|
||||
Reference in New Issue
Block a user