mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-05-28 17:41:37 +00:00
SNES MAX: load state: defaulting to no buttons pressed
This commit is contained in:
parent
4cb8a6414d
commit
51e42d1d4e
|
@ -234,5 +234,9 @@ bool SNESMAXCard::LoadSnapshot(YamlLoadHelper& yamlLoadHelper, UINT slot, UINT v
|
|||
|
||||
m_buttonIndex = yamlLoadHelper.LoadUint(SS_YAML_KEY_BUTTON_INDEX);
|
||||
|
||||
// Initialise with no buttons pressed (loaded state maybe part way through reading the buttons)
|
||||
m_controller1Buttons = 0xff;
|
||||
m_controller2Buttons = 0xff;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user