Skip to content

Commit e6dd463

Browse files
committed
GBA: Remove negative timing check
This can trigger if we get interrupted in the middle of processing pending events and then re-enter later
1 parent fa4a97e commit e6dd463

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/gba/gba.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ static void GBAProcessEvents(struct ARMCore* cpu) {
343343
#ifdef ENABLE_DEBUGGERS
344344
gba->timing.globalCycles += cycles < nextEvent ? nextEvent : cycles;
345345
#endif
346-
mASSERT_DEBUG_LOG(GBA, cycles >= 0, "Negative cycles passed: %i", cycles);
347346
nextEvent = mTimingTick(&gba->timing, cycles < nextEvent ? nextEvent : cycles);
348347
} while (gba->cpuBlocked && !gba->earlyExit);
349348

0 commit comments

Comments
 (0)