Add core option to force the Region FPS (NTSC, PAL)
[picodrive.git] / pico / sound / sound.c
index 69c1be0..18e1225 100644 (file)
@@ -118,6 +118,10 @@ PICO_INTERNAL void PsndReset(void)
 // to be called after changing sound rate or chips\r
 void PsndRerate(int preserve_state)\r
 {\r
+  // PsndRerate not ready yet\r
+  if (Pico.romsize <= 0)\r
+    return;\r
+\r
   void *state = NULL;\r
   int target_fps = Pico.m.pal ? 50 : 60;\r
 \r