fix when in GUI with no kbd

This commit is contained in:
R-type
2015-12-15 23:54:08 +01:00
parent 5132452264
commit a975525271
2 changed files with 8 additions and 10 deletions
+2
View File
@@ -210,7 +210,9 @@ int AFILE_OpenFile(const char *filename, int reboot, int diskno, int readonly)
//LIBRETRO HACK
//#ifndef ANDROID
#if !defined(ANDROID) || defined(__LIBRETRO__)
UI_is_active = TRUE;
CARTRIDGE_SetTypeAutoReboot(&CARTRIDGE_main, UI_SelectCartType(r));
UI_is_active = FALSE;
#else
return (r << 8) | AFILE_ROM;
#endif /* ANDROID */