mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
Fixed the rerecord counter when using more than one save state. Patch by rdragoon.
This commit is contained in:
@ -627,6 +627,10 @@ void LoadInput(const char *filename)
|
|||||||
|
|
||||||
if (!g_bReadOnly)
|
if (!g_bReadOnly)
|
||||||
{
|
{
|
||||||
|
if (g_rerecords > tmpHeader.numRerecords)
|
||||||
|
{
|
||||||
|
tmpHeader.numRerecords = g_rerecords;
|
||||||
|
}
|
||||||
tmpHeader.numRerecords++;
|
tmpHeader.numRerecords++;
|
||||||
t_record.Seek(0, SEEK_SET);
|
t_record.Seek(0, SEEK_SET);
|
||||||
t_record.WriteArray(&tmpHeader, 1);
|
t_record.WriteArray(&tmpHeader, 1);
|
||||||
|
Reference in New Issue
Block a user