| 478 | } |
| 479 | |
| 480 | bool CPropertySheetHelper::IsOkToResetConfig(HWND hWnd) |
| 481 | { |
| 482 | if (g_nAppMode == MODE_LOGO) |
| 483 | return true; |
| 484 | |
| 485 | if (MessageBox(hWnd, |
| 486 | "Resetting configuration to the default values whilst the machine is being emulated " |
| 487 | "could result in loss of unsaved work, or corruption of floppy or hard disk images.\n\n" |
| 488 | "Are you sure you want to do this?", |
| 489 | "Reset Configuration", |
| 490 | MB_ICONEXCLAMATION | MB_OKCANCEL | MB_SETFOREGROUND) == IDCANCEL) |
| 491 | return false; |
| 492 | |
| 493 | return true; |
| 494 | } |
| 495 | |
| 496 | bool CPropertySheetHelper::HardwareConfigChanged(HWND hWnd) |
| 497 | { |
no outgoing calls
no test coverage detected