notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use picofe menu, move generic code out of gp2x/
[fceu.git]
/
drivers
/
gp2x
/
gp2x-sound.c
diff --git
a/drivers/gp2x/gp2x-sound.c
b/drivers/gp2x/gp2x-sound.c
index
666aee1
..
b4a38e0
100644
(file)
--- a/
drivers/gp2x/gp2x-sound.c
+++ b/
drivers/gp2x/gp2x-sound.c
@@
-18,9
+18,9
@@
#include <stdio.h>
#include "../../driver.h"
#include <stdio.h>
#include "../../driver.h"
-#include "gp2x.h"
+#include "../common/settings.h"
+#include "../common/throttle.h"
#include "minimal.h"
#include "minimal.h"
-#include "throttle.h"
extern int soundvol;
extern int soundvol;
@@
-54,6
+54,11
@@
uint32 GetWriteSound(void)
return 1024;
}
return 1024;
}
+void StartSound(void)
+{
+ gp2x_start_sound(Settings.sound_rate, 16, 0);
+}
+
int KillSound(void)
{
//FCEUI_Sound(0);
int KillSound(void)
{
//FCEUI_Sound(0);