mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 06:39:36 +02:00
Look for BIOS roms in libretro system dir
This commit is contained in:
@@ -145,6 +145,9 @@
|
|||||||
#ifdef DIRECTX
|
#ifdef DIRECTX
|
||||||
#include "win32\main.h"
|
#include "win32\main.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__LIBRETRO__)
|
||||||
|
extern const char *retro_system_directory;
|
||||||
|
#endif
|
||||||
|
|
||||||
int Atari800_machine_type = Atari800_MACHINE_XLXE;
|
int Atari800_machine_type = Atari800_MACHINE_XLXE;
|
||||||
|
|
||||||
@@ -437,9 +440,8 @@ int Atari800_Initialise(int *argc, char *argv[])
|
|||||||
//LIBRETRO HACK
|
//LIBRETRO HACK
|
||||||
//#ifndef ANDROID
|
//#ifndef ANDROID
|
||||||
#if !defined(ANDROID) || defined(__LIBRETRO__)
|
#if !defined(ANDROID) || defined(__LIBRETRO__)
|
||||||
#if defined(__LIBRETRO__) && defined(ANDROID)
|
#if defined(__LIBRETRO__)
|
||||||
//FIXME USE RETROSYSDIR
|
SYSROM_FindInDir(retro_system_directory, TRUE);
|
||||||
SYSROM_FindInDir("/mnt/sdcard/atari800", TRUE);
|
|
||||||
#endif
|
#endif
|
||||||
SYSROM_FindInDir(".", TRUE); /* current directory */
|
SYSROM_FindInDir(".", TRUE); /* current directory */
|
||||||
#if defined(unix) || defined(__unix__) || defined(__linux__)
|
#if defined(unix) || defined(__unix__) || defined(__linux__)
|
||||||
|
|||||||
Reference in New Issue
Block a user