(360) Gets to initing audio

This commit is contained in:
TwinAphex51224 2012-01-06 14:12:12 +01:00
parent d1c562ce4e
commit 072342cdab
3 changed files with 18 additions and 3 deletions

View File

@ -18,18 +18,24 @@
#include <xtl.h>
#include <stddef.h>
#include <xbdm.h>
int ssnes_main(int argc, char *argv[]);
#undef main
// Temporary, a more sane implementation should go here.
int main(int argc, char *argv[])
{
//for devits only, we will need to mount all partitions for retail
//in a different way
DmMapDevkitDrive();
char arg1[] = "ssnes";
char arg2[] = "\\Device\\Harddisk0\\Partition2\\roms\\mario.sfc";
char arg2[] = "e:\\roms\\mario.sfc";
char arg3[] = "-v";
char arg4[] = "-c";
char arg5[] = "D:/roms/ssnes.cfg";
char arg5[] = "e:\\roms\\ssnes.cfg";
char *argv_[] = { arg1, arg2, arg3, arg4, arg5, NULL };
return ssnes_main(sizeof(argv_) / sizeof(argv_[0]) - 1, argv_);
}

View File

@ -221,5 +221,5 @@ const audio_driver_t audio_xdk360 = {
xa_set_nonblock_state,
xa_free,
xa_use_float,
"xdk360_xaudio"
"xdk360"
};

View File

@ -53,6 +53,9 @@ static void set_defaults(void)
case VIDEO_XENON360:
def_video = "xenon360";
break;
case VIDEO_XDK360:
def_video = "xdk360";
break;
case VIDEO_XVIDEO:
def_video = "xvideo";
break;
@ -104,6 +107,9 @@ static void set_defaults(void)
case AUDIO_XENON360:
def_audio = "xenon360";
break;
case AUDIO_XDK360:
def_audio = "xdk360";
break;
case AUDIO_PS3:
def_audio = "ps3";
break;
@ -128,6 +134,9 @@ static void set_defaults(void)
case INPUT_XENON360:
def_input = "xenon360";
break;
case INPUT_XDK360:
def_input = "xdk360";
break;
case INPUT_WII:
def_input = "wii";
break;