MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / SaveStateUpdate

Method SaveStateUpdate

source/Configuration/PropertySheetHelper.cpp:177–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void 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
187int CPropertySheetHelper::SaveStateSelectImage(HWND hWindow, const char* pszTitle, bool bSave)

Callers 2

SaveStateSelectImageMethod · 0.80
ApplyConfigAfterCloseMethod · 0.80

Calls 2

Snapshot_SetFilenameFunction · 0.85
RegSaveStringFunction · 0.85

Tested by

no test coverage detected