android fix

This commit is contained in:
R-type
2015-12-15 14:59:19 +01:00
parent 1db63d0830
commit 5132452264
4 changed files with 22 additions and 8 deletions
+3 -1
View File
@@ -207,7 +207,9 @@ int AFILE_OpenFile(const char *filename, int reboot, int diskno, int readonly)
return AFILE_ERROR;
#else /* BASIC */
/* r > 0 */
#ifndef ANDROID
//LIBRETRO HACK
//#ifndef ANDROID
#if !defined(ANDROID) || defined(__LIBRETRO__)
CARTRIDGE_SetTypeAutoReboot(&CARTRIDGE_main, UI_SelectCartType(r));
#else
return (r << 8) | AFILE_ROM;