From 8f9b841f721bbfbc74590267e57e0bb4744ae63f Mon Sep 17 00:00:00 2001 From: aliaspider Date: Tue, 9 Dec 2014 00:17:28 +0100 Subject: can compile --- cpu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpu.c') diff --git a/cpu.c b/cpu.c index d8ea5db..4397568 100644 --- a/cpu.c +++ b/cpu.c @@ -4146,8 +4146,10 @@ void function_cc step_debug(u32 pc, u32 cycles) { u32 key = 0; +#ifndef __LIBRETRO__ SDL_LockMutex(sound_mutex); SDL_PauseAudio(1); +#endif if(output_field >= num_output_fields) { @@ -4281,8 +4283,10 @@ void function_cc step_debug(u32 pc, u32 cycles) quit(); } +#ifndef __LIBRETRO__ SDL_PauseAudio(0); SDL_UnlockMutex(sound_mutex); +#endif } last_instruction = reg[REG_PC]; -- cgit v1.2.3