mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
(PS3) SSNES PS3 lives :) - audio, video works - controls don't
seem to work
This commit is contained in:
parent
d03f351f33
commit
5a3232adff
@ -4,7 +4,7 @@
|
||||
##
|
||||
###
|
||||
##
|
||||
DEBUG=1
|
||||
DEBUG=0
|
||||
CELL_BUILD_TOOLS = GCC
|
||||
|
||||
## Platform detection from nall/Makefile. Only two applicable hosts for PS3 SDK.
|
||||
|
8
driver.c
8
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();
|
||||
|
0
ps3/pkg/USRDIR/.empty
Normal file
0
ps3/pkg/USRDIR/.empty
Normal file
@ -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"
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user