| 175 | } |
| 176 | |
| 177 | void CPropertySheetHelper::SaveStateUpdate() |
| 178 | { |
| 179 | if (m_bSSNewFilename) |
| 180 | { |
| 181 | Snapshot_SetFilename(m_szSSNewFilename, m_szSSNewDirectory); |
| 182 | RegSaveString(REG_CONFIG, REGVALUE_SAVESTATE_FILENAME, 1, Snapshot_GetPathname()); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | // NB. OK'ing this property sheet will call SaveStateUpdate()->Snapshot_SetFilename() with this new path & filename |
| 187 | int CPropertySheetHelper::SaveStateSelectImage(HWND hWindow, const char* pszTitle, bool bSave) |
no test coverage detected