diff --git a/Makefile.ps3 b/Makefile.ps3 index 33eeabce98..d57081e61b 100644 --- a/Makefile.ps3 +++ b/Makefile.ps3 @@ -4,7 +4,7 @@ ## ### ## -DEBUG=1 +DEBUG=0 CELL_BUILD_TOOLS = GCC ## Platform detection from nall/Makefile. Only two applicable hosts for PS3 SDK. diff --git a/driver.c b/driver.c index 4bf82ff181..983f11a2df 100644 --- a/driver.c +++ b/driver.c @@ -101,19 +101,14 @@ static int test_counter = 0; static void find_audio_driver(void) { - SSNES_LOG("Entered find_audio_driver\n"); for (unsigned i = 0; i < sizeof(audio_drivers) / sizeof(audio_driver_t*); i++) { - SSNES_LOG("looking for audio driver\n"); if (strcasecmp(g_settings.audio.driver, audio_drivers[i]->ident) == 0) { - SSNES_LOG("looked for audio driver: %d\n", test_counter++); driver.audio = audio_drivers[i]; return; } - SSNES_LOG("looked for audio driver, and failed: %d\n", test_counter++); } - SSNES_ERR("Couldn't find any audio driver named \"%s\"\n", g_settings.audio.driver); fprintf(stderr, "Available audio drivers are:\n"); for (unsigned i = 0; i < sizeof(audio_drivers) / sizeof(audio_driver_t*); i++) fprintf(stderr, "\t%s\n", audio_drivers[i]->ident); @@ -298,7 +293,6 @@ void init_audio(void) adjust_audio_input_rate(); find_audio_driver(); - SSNES_LOG("SSNES 2.1\n"); g_extern.audio_data.block_chunk_size = AUDIO_CHUNK_SIZE_BLOCKING; g_extern.audio_data.nonblock_chunk_size = AUDIO_CHUNK_SIZE_NONBLOCKING; @@ -317,7 +311,6 @@ void init_audio(void) driver.audio->set_nonblock_state(driver.audio_data, true); g_extern.audio_data.chunk_size = g_extern.audio_data.nonblock_chunk_size; } - SSNES_LOG("SSNES 2.2\n"); g_extern.audio_data.source = hermite_new(); if (!g_extern.audio_data.source) @@ -330,7 +323,6 @@ void init_audio(void) g_extern.audio_data.src_ratio = (double)g_settings.audio.out_rate / g_settings.audio.in_rate; - SSNES_LOG("SSNES 2.3\n"); #ifdef HAVE_DYLIB init_dsp_plugin(); diff --git a/ps3/pkg/USRDIR/.empty b/ps3/pkg/USRDIR/.empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/ps3/ps3_audio.c b/ps3/ps3_audio.c index 5c6ecc6ae5..761275ecd8 100644 --- a/ps3/ps3_audio.c +++ b/ps3/ps3_audio.c @@ -201,5 +201,6 @@ const audio_driver_t audio_ps3 = { .stop = __ps3_stop, .start = __ps3_start, .set_nonblock_state = __ps3_set_nonblock_state, - .free = __ps3_free + .free = __ps3_free, + .ident = "ps3" };