Commits

spencercw committed 2616f44

Initialise the real-time clock with the overflow flag set so games will recognise that the value is invalid.

Comments (0)

Files changed (1)

gb_emulator/src/gb_timers.cpp

 
 GbTimers::GbTimers(Gb &gb):
 gb_(gb),
-rtc_(0),
+rtc_(44236800),  // 512 days. This will set the overflow flag.
 dividerCountdown_(0),
 timerCountdown_(0),
 rtcCountdown_(0)