mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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_rerecords > tmpHeader.numRerecords)
|
||||
{
|
||||
tmpHeader.numRerecords = g_rerecords;
|
||||
}
|
||||
tmpHeader.numRerecords++;
|
||||
t_record.Seek(0, SEEK_SET);
|
||||
t_record.WriteArray(&tmpHeader, 1);
|
||||
|
||||
Reference in New Issue
Block a user