summaryrefslogtreecommitdiff
path: root/sound.c
diff options
context:
space:
mode:
authoraliaspider2014-12-09 05:16:09 +0100
committeraliaspider2014-12-09 05:16:09 +0100
commitb69fee8b3139eb26405c20aa3adde166f9034b59 (patch)
tree99cd6453677178d02e28ed867c76a2d440fc6cbc /sound.c
parent3cc3944725700c957b006de6f5a2ee2944d2f525 (diff)
downloadpicogpsp-b69fee8b3139eb26405c20aa3adde166f9034b59.tar.gz
picogpsp-b69fee8b3139eb26405c20aa3adde166f9034b59.tar.bz2
picogpsp-b69fee8b3139eb26405c20aa3adde166f9034b59.zip
video output now works in statically linked builds.
core can't be used as a shared library yet due to the dynarec not working when compiled with -fPIC
Diffstat (limited to 'sound.c')
-rw-r--r--sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound.c b/sound.c
index 4794ce2..1683f9f 100644
--- a/sound.c
+++ b/sound.c
@@ -852,6 +852,8 @@ void render_audio(void)
u32 i;
s32 current_sample;
+ return;
+
while (((gbc_sound_buffer_index - sound_buffer_base) % BUFFER_SIZE) > 512) {
sound_copy(sound_buffer_base, 512, normal);
audio_batch_cb(stream_base, 256);