mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(360) Fix Salamander build
This commit is contained in:
parent
8785a45da1
commit
6e2fc94c5e
16
config.def.h
16
config.def.h
@ -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
|
||||
////////////////
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "../config.def.h"
|
||||
#include "frontend_console.h"
|
||||
#include "menu/rmenu.h"
|
||||
|
||||
#if defined(__CELLOS_LV2__)
|
||||
|
20
frontend/frontend_console.h
Normal file
20
frontend/frontend_console.h
Normal 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
|
@ -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__)
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user