(Xbox 1) Libretro management code works now - have to debug xdk_d3d_init now

This commit is contained in:
twinaphex 2012-07-08 17:25:33 +03:00
parent 6fb7e71871
commit 072abdb8bf
4 changed files with 18 additions and 7 deletions

View File

@ -263,8 +263,13 @@ static void configure_libretro(const char * extension)
snprintf(full_path, sizeof(full_path), "game:\\CORE%s", extension);
#endif
#ifdef _XBOX1
bool find_libretro_file = rarch_configure_libretro_core(full_path, "D:\\", "D:\\",
SYS_CONFIG_FILE, extension);
#else
bool find_libretro_file = rarch_configure_libretro_core(full_path, "game:\\", "game:\\",
SYS_CONFIG_FILE, extension);
#endif
set_default_settings();
#ifdef _XBOX1
@ -301,6 +306,7 @@ int main(int argc, char *argv[])
menu_init();
begin_loop:
if(g_console.mode_switch == MODE_EMULATION)
{

View File

@ -218,8 +218,10 @@ static void xdk_d3d_init_fbo(xdk_d3d_video_t *d3d)
static void *xdk_d3d_init(const video_info_t *video, const input_driver_t **input, void **input_data)
{
#ifndef _XBOX1
if (driver.video_data)
return driver.video_data;
#endif
xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)calloc(1, sizeof(xdk_d3d_video_t));
if (!d3d)

View File

@ -923,8 +923,6 @@ void rarch_config_load(const char * conf_name, const char * libretro_dir_path, c
// g_extern
CONFIG_GET_INT_EXTERN(state_slot, "state_slot");
CONFIG_GET_INT_EXTERN(audio_data.mute, "audio_mute");
config_file_free(conf);
}
}

View File

@ -50,7 +50,8 @@
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="XboxDeploymentTool"/>
Name="XboxDeploymentTool"
RemotePath="xe:\$(SolutionName)\CORE.xbe"/>
<Tool
Name="XboxImageTool"
StackSize="65536"
@ -101,7 +102,8 @@
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="XboxDeploymentTool"/>
Name="XboxDeploymentTool"
RemotePath="xe:\$(SolutionName)\CORE.xbe"/>
<Tool
Name="XboxImageTool"
StackSize="65536"
@ -153,7 +155,8 @@
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="XboxDeploymentTool"/>
Name="XboxDeploymentTool"
RemotePath="xe:\$(SolutionName)\CORE.xbe"/>
<Tool
Name="XboxImageTool"
StackSize="65536"
@ -204,7 +207,8 @@
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="XboxDeploymentTool"/>
Name="XboxDeploymentTool"
RemotePath="xe:\$(SolutionName)\CORE.xbe"/>
<Tool
Name="XboxImageTool"
StackSize="65536"/>
@ -254,7 +258,8 @@
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="XboxDeploymentTool"/>
Name="XboxDeploymentTool"
RemotePath="xe:\$(SolutionName)\CORE.xbe"/>
<Tool
Name="XboxImageTool"
StackSize="65536"/>