X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fsound%2Fsound.c;h=18e122501e2d2c91f20afba338cda7fdf0787fa3;hb=48582bcfb85529a40a585a7f9c0b8e3baf690b21;hp=69c1be0397b7ea2527f44d0f92487cbb30469016;hpb=bd7b09f4f98effa884fb282329cd55e891f12c22;p=picodrive.git diff --git a/pico/sound/sound.c b/pico/sound/sound.c index 69c1be0..18e1225 100644 --- a/pico/sound/sound.c +++ b/pico/sound/sound.c @@ -118,6 +118,10 @@ PICO_INTERNAL void PsndReset(void) // to be called after changing sound rate or chips void PsndRerate(int preserve_state) { + // PsndRerate not ready yet + if (Pico.romsize <= 0) + return; + void *state = NULL; int target_fps = Pico.m.pal ? 50 : 60;