Update remaining stub versions of mic_savestate/loadstate.

11cf901336 changed most of these but
missed these three.
This commit is contained in:
Adam Sampson 2017-08-26 15:32:14 +01:00
parent e6d5a8fbe1
commit e58fb84707
3 changed files with 9 additions and 9 deletions

View File

@ -162,13 +162,13 @@ u8 Mic_ReadSample()
} }
/* FIXME: stub! */ /* FIXME: stub! */
void mic_savestate(EMUFILE* os) void mic_savestate(EMUFILE &os)
{ {
write32le((u32)(-1),os); os.write_32LE(-1);
} }
bool mic_loadstate(EMUFILE* is, int size) bool mic_loadstate(EMUFILE &is, int size)
{ {
is->fseek(size, SEEK_CUR); is.fseek(size, SEEK_CUR);
return TRUE; return TRUE;
} }

View File

@ -154,14 +154,14 @@ u8 Mic_ReadSample()
return ret; return ret;
} }
void mic_savestate(EMUFILE* os) void mic_savestate(EMUFILE &os)
{ {
write32le(-1,os); os.write_32LE(-1);
} }
bool mic_loadstate(EMUFILE* is, int size) bool mic_loadstate(EMUFILE &is, int size)
{ {
is->fseek(size, SEEK_CUR); is.fseek(size, SEEK_CUR);
return TRUE; return TRUE;
} }

View File

@ -197,7 +197,7 @@ void Mic_DoNoise(BOOL noise)
void mic_savestate(EMUFILE &os) void mic_savestate(EMUFILE &os)
{ {
write_32LE(-1,os); os.write_32LE(-1);
} }
bool mic_loadstate(EMUFILE &is, int size) bool mic_loadstate(EMUFILE &is, int size)