Fix screen stack popping and add a menu

This commit is contained in:
2019-06-26 09:07:34 -07:00
parent 5cfa22c650
commit e0b49ba109
9 changed files with 269 additions and 38 deletions

View File

@@ -182,6 +182,8 @@ ReturnCode RtcDriver::set_time(const Common::WallClockTime &wall_time)
RTC->TR = time;
CLR(RTC->ISR, RTC_ISR_INIT);
while ((RTC->ISR & RTC_ISR_INITF)) {}
while (!(RTC->ISR & RTC_ISR_RSF)) {}
disable_rtc_write();