mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-19 04:08:45 +00:00
43455eb4fe
Whenever harddisks/disks are inserted (or removed) and *if path has changed* then: . Then the internal save-state's path & filename will be updated to reflect the new defaults. . LoadConfiguration(): Read the save-state pathname from Registry before harddisks/disks. Also: . CiderPress: only save pathname on OK. . Refactored CPropertySheetHelper::BrowseToFile(). . Extended support for -d1,-d2,-h1, etc such that if the param is "", then it will eject/unplug the disk/harddisk.
15 lines
520 B
C++
15 lines
520 B
C++
#pragma once
|
|
|
|
extern bool g_bSaveStateOnExit;
|
|
|
|
void Snapshot_SetFilename(const std::string& filename, const std::string& path="");
|
|
const std::string& Snapshot_GetFilename(void);
|
|
const std::string& Snapshot_GetPath(void);
|
|
const std::string& Snapshot_GetPathname(void);
|
|
void Snapshot_GetDefaultFilenameAndPath(std::string& defaultFilename, std::string& defaultPath);
|
|
void Snapshot_UpdatePath(void);
|
|
void Snapshot_LoadState();
|
|
void Snapshot_SaveState();
|
|
void Snapshot_Startup();
|
|
void Snapshot_Shutdown();
|