mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Uthernet II card: support save/load state. (PR #1054)
NB. do not attempt to restore a UDP / TCP socket.
This commit is contained in:
@@ -465,6 +465,7 @@ void Snapshot_LoadState()
|
||||
return;
|
||||
}
|
||||
|
||||
LogFileOutput("Loading Save-State from %s\n", g_strSaveStatePathname.c_str());
|
||||
Snapshot_LoadState_v2();
|
||||
}
|
||||
|
||||
@@ -472,6 +473,7 @@ void Snapshot_LoadState()
|
||||
|
||||
void Snapshot_SaveState(void)
|
||||
{
|
||||
LogFileOutput("Saving Save-State to %s\n", g_strSaveStatePathname.c_str());
|
||||
try
|
||||
{
|
||||
YamlSaveHelper yamlSaveHelper(g_strSaveStatePathname);
|
||||
|
||||
Reference in New Issue
Block a user