X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgizmondo%2Femu.c;h=73c01dcc4d13831d8a3a3996898117d1813b687e;hb=88b3d7c16ae976d332b8462de839b86f856a7180;hp=440a8de33e53b5e91846958c954cf8f693b4beea;hpb=c77ca79e899d9cff96f90a2c5b6a866cf02ed47e;p=picodrive.git diff --git a/platform/gizmondo/emu.c b/platform/gizmondo/emu.c index 440a8de..73c01dc 100644 --- a/platform/gizmondo/emu.c +++ b/platform/gizmondo/emu.c @@ -104,7 +104,7 @@ void emu_Init(void) void emu_Deinit(void) { // save SRAM - if((currentConfig.EmuOpt & 1) && SRam.changed) { + if ((currentConfig.EmuOpt & 1) && SRam.changed) { emu_SaveLoadGame(0, 1); SRam.changed = 0; } @@ -593,7 +593,7 @@ void emu_Loop(void) { int ret, snd_excess_add, stereo; if (PsndRate != PsndRate_old || (PicoOpt&0x0b) != (PicoOpt_old&0x0b) || Pico.m.pal != pal_old) { - sound_rerate(Pico.m.frame_count ? 1 : 0); + PsndRerate(Pico.m.frame_count ? 1 : 0); } stereo=(PicoOpt&8)>>3; snd_excess_add = ((PsndRate - PsndLen*target_fps)<<16) / target_fps;