Esempio n. 1
0
static bool load_bsx_rom(bool slotted)
{
   const char *path[2] = {
      *g_extern.fullpath ? g_extern.fullpath : NULL,
      g_extern.bsx_rom_path
   };

   return load_roms(slotted ? RETRO_GAME_TYPE_BSX_SLOTTED : RETRO_GAME_TYPE_BSX, path, 2); 
}
Esempio n. 2
0
static bool load_sgb_rom(void)
{
   const char *path[2] = {
      *g_extern.fullpath ? g_extern.fullpath : NULL,
      g_extern.gb_rom_path
   };

   return load_roms(RETRO_GAME_TYPE_SUPER_GAME_BOY, path, 2);
}
Esempio n. 3
0
static bool load_sufami_rom(void)
{
   const char *path[3] = {
      *g_extern.fullpath ? g_extern.fullpath : NULL,
      *g_extern.sufami_rom_path[0] ? g_extern.sufami_rom_path[0] : NULL,
      *g_extern.sufami_rom_path[1] ? g_extern.sufami_rom_path[1] : NULL,
   };

   return load_roms(RETRO_GAME_TYPE_SUFAMI_TURBO, path, 3);
}
Esempio n. 4
0
int Atari800_InitialiseMachine(void)
{
#if !defined(BASIC) && !defined(CURSES_BASIC) && !defined(MACOSX)
	Colours_InitialiseMachine();
#endif
	ESC_ClearAll();
	if (!load_roms())
		return FALSE;
	MEMORY_InitialiseMachine();
	Devices_UpdatePatches();
	return TRUE;
}
Esempio n. 5
0
static bool load_normal_rom(void)
{
   if (g_extern.libretro_no_rom && g_extern.system.no_game)
      return pretro_load_game(NULL);
   else if (g_extern.libretro_no_rom && !g_extern.system.no_game)
   {
      RARCH_ERR("No ROM is used, but libretro core does not support this.\n");
      return false;
   }
   else
   {
      const char *path = g_extern.fullpath;
      return load_roms(0, &path, 1);
   }
}
Esempio n. 6
0
static bool load_normal_rom(void)
{
   const char *path = *g_extern.fullpath ? g_extern.fullpath : NULL;
   return load_roms(0, &path, 1);
}