summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-09 21:32:00 +0100
committertwinaphex2014-12-09 21:32:00 +0100
commit35b71ff223252fcc3277b06c35aa6f098af5fb9d (patch)
treef35992eedb421e65f45900fc07eb9b3a79b01007
parent99e6e574d315044ac20672ce417dc0418d7a7277 (diff)
downloadpicogpsp-35b71ff223252fcc3277b06c35aa6f098af5fb9d.tar.gz
picogpsp-35b71ff223252fcc3277b06c35aa6f098af5fb9d.tar.bz2
picogpsp-35b71ff223252fcc3277b06c35aa6f098af5fb9d.zip
Clean up some unused stuff
-rw-r--r--main.c5
-rw-r--r--sound.c6
-rw-r--r--sound.h2
3 files changed, 0 insertions, 13 deletions
diff --git a/main.c b/main.c
index 682c769..b150669 100644
--- a/main.c
+++ b/main.c
@@ -21,12 +21,7 @@
#include <ctype.h>
#ifdef PSP_BUILD
-
-//PSP_MODULE_INFO("gpSP", 0x1000, 0, 6);
-//PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER);
-
void vblank_interrupt_handler(u32 sub, u32 *parg);
-
#endif
timer_type timer[4];
diff --git a/sound.c b/sound.c
index d05ff8b..d4b0125 100644
--- a/sound.c
+++ b/sound.c
@@ -26,12 +26,6 @@ gbc_sound_struct gbc_sound_channel[4];
u32 sound_frequency = GBA_SOUND_FREQUENCY;
-#ifdef PSP_BUILD
-u32 audio_buffer_size_number = 1;
-#else
-u32 audio_buffer_size_number = 8;
-#endif
-
u32 sound_on;
static u32 audio_buffer_size;
static s16 sound_buffer[BUFFER_SIZE];
diff --git a/sound.h b/sound.h
index b246ae2..0725292 100644
--- a/sound.h
+++ b/sound.h
@@ -27,7 +27,6 @@
#define GBA_XTAL 16777216.0f
-#define GBA_60HZ_RATE 16853760.0f /* 228*(272+960)*60 */
#define GBC_BASE_RATE GBA_XTAL
@@ -113,7 +112,6 @@ extern u32 sound_on;
extern u32 global_enable_audio;
extern u32 enable_low_pass_filter;
-extern u32 audio_buffer_size_number;
void sound_timer_queue8(u32 channel, u8 value);
void sound_timer_queue16(u32 channel, u16 value);