mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-11 05:29:55 +00:00
Fixed indentation with tabs.
This commit is contained in:
parent
20a1a9a884
commit
65e253f312
@ -1114,18 +1114,18 @@ bool CAY8910::LoadSnapshot(YamlLoadHelper& yamlLoadHelper, std::string& suffix)
|
|||||||
if (!bFound)
|
if (!bFound)
|
||||||
break; // done
|
break; // done
|
||||||
|
|
||||||
int _tstates = 0;
|
int _tstates = 0;
|
||||||
int _ofs = 0;
|
int _ofs = 0;
|
||||||
unsigned int _reg = 0;
|
unsigned int _reg = 0;
|
||||||
unsigned int _val = 0;
|
unsigned int _val = 0;
|
||||||
if(4 != sscanf_s(value.c_str(), SS_YAML_VALUE_CHANGE_FORMAT,
|
if(4 != sscanf_s(value.c_str(), SS_YAML_VALUE_CHANGE_FORMAT,
|
||||||
&_tstates, &_ofs, &_reg, &_val))
|
&_tstates, &_ofs, &_reg, &_val))
|
||||||
throw std::string("Card: AY8910: Failed to scanf change list");
|
throw std::string("Card: AY8910: Failed to scanf change list");
|
||||||
|
|
||||||
ay_change[ay_change_count].tstates = _tstates;
|
ay_change[ay_change_count].tstates = _tstates;
|
||||||
ay_change[ay_change_count].ofs = _ofs;
|
ay_change[ay_change_count].ofs = _ofs;
|
||||||
ay_change[ay_change_count].reg = _reg;
|
ay_change[ay_change_count].reg = _reg;
|
||||||
ay_change[ay_change_count].val = _val;
|
ay_change[ay_change_count].val = _val;
|
||||||
|
|
||||||
ay_change_count++;
|
ay_change_count++;
|
||||||
if (ay_change_count > AY_CHANGE_MAX)
|
if (ay_change_count > AY_CHANGE_MAX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user