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,6 +193,8 @@ 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.
|
//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
|
//instead, the state will only be dirtied when the game actually modifies the contents
|
||||||
NSS(card_data);
|
NSS(card_data);
|
||||||
|
|
||||||
|
if(isReader)
|
||||||
dirty_count = 0;
|
dirty_count = 0;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue