GBA: Remove bad savestate corruption check
Jeffrey Pfau jeffrey@endrift.com
Wed, 03 Jun 2015 20:31:49 -0700
1 files changed,
0 insertions(+),
4 deletions(-)
jump to
M
src/gba/serialize.c
→
src/gba/serialize.c
@@ -82,10 +82,6 @@ if (state->video.nextHblank - state->video.eventDiff < 0) {
GBALog(gba, GBA_LOG_WARN, "Savestate is corrupted: nextHblank is negative"); return; } - if (state->video.lastHblank - state->video.eventDiff < -VIDEO_HBLANK_LENGTH) { - GBALog(gba, GBA_LOG_WARN, "Savestate is corrupted: lastHblank is negative"); - return; - } if (state->timers[0].overflowInterval < 0 || state->timers[1].overflowInterval < 0 || state->timers[2].overflowInterval < 0 || state->timers[3].overflowInterval < 0) { GBALog(gba, GBA_LOG_WARN, "Savestate is corrupted: overflowInterval is negative"); return;