mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-31 15:30:14 +00:00
Disk: minor refactor
This commit is contained in:
parent
1472f25bad
commit
3cd4ead90d
@ -241,17 +241,14 @@ private:
|
||||
bool m_resetSequencer;
|
||||
|
||||
enum SEQFUNC {readSequencing=0, checkWriteProtAndInitWrite, dataShiftWrite, dataLoadWrite}; // UTAIIe 9-14
|
||||
struct SEQUENCER_FUNCTION
|
||||
union SEQUENCER_FUNCTION
|
||||
{
|
||||
union
|
||||
struct
|
||||
{
|
||||
struct
|
||||
{
|
||||
UINT writeMode : 1; // $C08E/F,X
|
||||
UINT loadMode : 1; // $C08C/D,X
|
||||
};
|
||||
SEQFUNC function;
|
||||
UINT writeMode : 1; // $C08E/F,X
|
||||
UINT loadMode : 1; // $C08C/D,X
|
||||
};
|
||||
SEQFUNC function;
|
||||
};
|
||||
|
||||
SEQUENCER_FUNCTION m_seqFunc;
|
||||
|
@ -845,7 +845,7 @@ bool HD_LoadSnapshot(YamlLoadHelper& yamlLoadHelper, UINT slot, UINT version, co
|
||||
throw std::string("Card: wrong version");
|
||||
|
||||
if (version == 1 && (regs.pc >> 8) == (0xC0|slot))
|
||||
throw std::string("HDD card: 6502 is running old HDD firmware");
|
||||
throw std::string("HDD card: 6502 is running old HDD firmware");
|
||||
|
||||
g_nHD_UnitNum = yamlLoadHelper.LoadUint(SS_YAML_KEY_CURRENT_UNIT); // b7=unit
|
||||
g_nHD_Command = yamlLoadHelper.LoadUint(SS_YAML_KEY_COMMAND);
|
||||
|
Loading…
x
Reference in New Issue
Block a user