notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update jni/Android.mk
[picodrive.git]
/
pico
/
sound
/
sound.c
diff --git
a/pico/sound/sound.c
b/pico/sound/sound.c
index
69c1be0
..
18e1225
100644
(file)
--- 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
\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