RTC changes :
- Replace linux-time.c and win-time.c with universal rtc.c code - Add RTC binary and 12-hour modes, century register, and alarm support - Cleaned up nvr.c a bit - Fix handling of update ended flag - Add ability to disable host clock synchronisation Changes from Battler and Mahod.
This commit is contained in:
parent
9f4b159121
commit
074de51639
14 changed files with 561 additions and 135 deletions
|
|
@ -717,6 +717,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
TerminateThread(mainthreadh,0);
|
||||
// pclog("Quited? %i\n",quited);
|
||||
// pclog("Closepc\n");
|
||||
savenvr();
|
||||
if (save_window_pos && window_remember)
|
||||
saveconfig();
|
||||
closepc();
|
||||
|
|
@ -877,18 +878,21 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
case IDM_FILE_RESET:
|
||||
pause=1;
|
||||
Sleep(100);
|
||||
savenvr();
|
||||
resetpc();
|
||||
pause=0;
|
||||
break;
|
||||
case IDM_FILE_HRESET:
|
||||
pause=1;
|
||||
Sleep(100);
|
||||
savenvr();
|
||||
resetpchard();
|
||||
pause=0;
|
||||
break;
|
||||
case IDM_FILE_RESET_CAD:
|
||||
pause=1;
|
||||
Sleep(100);
|
||||
savenvr();
|
||||
resetpc_cad();
|
||||
pause=0;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue