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

Function Snapshot_Startup

source/SaveState.cpp:565–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563//-----------------------------------------------------------------------------
564
565void Snapshot_Startup()
566{
567 static bool bDone = false;
568
569 if (!g_saveStateOnExit || bDone)
570 return;
571
572 Snapshot_LoadState();
573
574 bDone = true; // Prevents a g_bRestart from loading an old save-state
575}
576
577void Snapshot_Shutdown()
578{

Callers 1

RepeatInitializationFunction · 0.85

Calls 1

Snapshot_LoadStateFunction · 0.85

Tested by

no test coverage detected