mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-25 19:19:02 +00:00
New save-state (.aws) v2:
. Format now extensible for supporting new hardware types in the future . Include missing items like Apple2Type, CyclesThisVideoFrame (#255) Continue to support loading of old v1 format. Added card save/load for: . Mouse (#260) . HDD (#260) . Printer Extended card support for: . SSC Other: . Added save-state v1 struct size checks . Create SaveState_Structs_v2.h and split out common into SaveState_Structs_common.h . Refactor HardDisk.cpp to use imagehandle; and consolidate with Disk.cpp . Fix Disk/HD_GetFullPathName() which wasn't always returning full pathname . Consolidate common GetImageTitle() and move into DiskImage.cpp
This commit is contained in:
+11
-6
@@ -1080,14 +1080,19 @@ void Spkr_DSUninit()
|
||||
|
||||
//=============================================================================
|
||||
|
||||
DWORD SpkrGetSnapshot(SS_IO_Speaker* pSS)
|
||||
void SpkrSetSnapshot_v1(const unsigned __int64 SpkrLastCycle)
|
||||
{
|
||||
pSS->g_nSpkrLastCycle = g_nSpkrLastCycle;
|
||||
return 0;
|
||||
g_nSpkrLastCycle = SpkrLastCycle;
|
||||
}
|
||||
|
||||
DWORD SpkrSetSnapshot(SS_IO_Speaker* pSS)
|
||||
//
|
||||
|
||||
void SpkrGetSnapshot(unsigned __int64& rSpkrLastCycle)
|
||||
{
|
||||
g_nSpkrLastCycle = pSS->g_nSpkrLastCycle;
|
||||
return 0;
|
||||
rSpkrLastCycle = g_nSpkrLastCycle;
|
||||
}
|
||||
|
||||
void SpkrSetSnapshot(const unsigned __int64 SpkrLastCycle)
|
||||
{
|
||||
g_nSpkrLastCycle = SpkrLastCycle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user