psx - fix bug where saving the state cleared the memcard dirty flags. not 100% sure we'll keep this logic, need to revisit it on the date of the great automatic-flushing-deprecation.
fixes #1031
This commit is contained in:
parent
9498206980
commit
e64d00bf7d
Binary file not shown.
|
@ -193,7 +193,9 @@ void InputDevice_Memcard::SyncState(bool isReader, EW::NewState *ns)
|
|||
//HOWEVER - we clear the dirty flag. that way, a user wont accidentally `clobber` his savestates when loading a state.
|
||||
//instead, the state will only be dirtied when the game actually modifies the contents
|
||||
NSS(card_data);
|
||||
dirty_count = 0;
|
||||
|
||||
if(isReader)
|
||||
dirty_count = 0;
|
||||
}
|
||||
//
|
||||
//int InputDevice_Memcard::StateAction(StateMem* sm, int load, int data_only, const char* section_name)
|
||||
|
|
Loading…
Reference in New Issue