(360) Fix Salamander build

This commit is contained in:
twinaphex 2013-05-10 23:38:54 +02:00
parent 8785a45da1
commit 6e2fc94c5e
5 changed files with 23 additions and 18 deletions

View File

@ -196,22 +196,6 @@ enum
#endif
#endif
#if defined(HAVE_LIBRETRO_MANAGEMENT) || defined(IS_SALAMANDER)
#ifdef GEKKO
#define SALAMANDER_FILE "boot.dol"
#define DEFAULT_EXE_EXT ".dol"
#elif defined(__CELLOS_LV2__)
#define SALAMANDER_FILE "EBOOT.BIN"
#define DEFAULT_EXE_EXT ".SELF"
#elif defined(_XBOX1)
#define SALAMANDER_FILE "default.xbe"
#define DEFAULT_EXE_EXT ".xbe"
#elif defined(_XBOX360)
#define SALAMANDER_FILE "default.xex"
#define DEFAULT_EXE_EXT ".xex"
#endif
#endif
////////////////
// Video
////////////////

View File

@ -20,6 +20,7 @@
#include <string.h>
#include "../config.def.h"
#include "frontend_console.h"
#include "menu/rmenu.h"
#if defined(__CELLOS_LV2__)

View File

@ -0,0 +1,20 @@
#ifndef _FRONTEND_CONSOLE_H
#define _FRONTEND_CONSOLE_H
#if defined(HAVE_LIBRETRO_MANAGEMENT) || defined(IS_SALAMANDER)
#ifdef GEKKO
#define SALAMANDER_FILE "boot.dol"
#define DEFAULT_EXE_EXT ".dol"
#elif defined(__CELLOS_LV2__)
#define SALAMANDER_FILE "EBOOT.BIN"
#define DEFAULT_EXE_EXT ".SELF"
#elif defined(_XBOX1)
#define SALAMANDER_FILE "default.xbe"
#define DEFAULT_EXE_EXT ".xbe"
#elif defined(_XBOX360)
#define SALAMANDER_FILE "default.xex"
#define DEFAULT_EXE_EXT ".xex"
#endif
#endif
#endif

View File

@ -19,7 +19,7 @@
#include <stddef.h>
#include <string.h>
#include "../config.def.h"
#include "frontend_console.h"
#include "frontend_salamander.h"
#if defined(__CELLOS_LV2__)

View File

@ -236,10 +236,10 @@ static void get_environment_settings(int argc, char *argv[])
#elif defined(_XBOX360)
strlcpy(default_paths.core_dir, "game:", sizeof(default_paths.core_dir));
strlcpy(default_paths.filesystem_root_dir, "game:\\", sizeof(default_paths.filesystem_root_dir));
strlcpy(g_settings.screenshot_directory, "game:", sizeof(g_settings.screenshot_directory));
#ifdef IS_SALAMANDER
strlcpy(default_paths.config_path, "game:\\retroarch.cfg", sizeof(default_paths.config_path));
#else
strlcpy(g_settings.screenshot_directory, "game:", sizeof(g_settings.screenshot_directory));
strlcpy(g_extern.config_path, "game:\\retroarch.cfg", sizeof(g_extern.config_path));
#endif
strlcpy(default_paths.savestate_dir, "game:\\savestates", sizeof(default_paths.savestate_dir));