libretro: m3u playlists

This commit is contained in:
Flyinghead 2021-07-10 18:00:21 +02:00
parent 57874a9bcb
commit 4be4ad07f3
1 changed files with 4 additions and 2 deletions

View File

@ -1480,7 +1480,9 @@ bool retro_load_game(const struct retro_game_info *game)
if (settings.platform.system != DC_PLATFORM_DREAMCAST)
boot_to_bios = false;
if (!boot_to_bios)
if (boot_to_bios)
game_data = nullptr;
else
{
// if an m3u file was loaded, disk_paths will already be populated so load the game from there
if (disk_paths.size() > 0)
@ -1583,7 +1585,7 @@ bool retro_load_game(const struct retro_game_info *game)
}
mute_messages = true;
dc_start_game(boot_to_bios ? nullptr : game->path);
dc_start_game(game_data);
mute_messages = false;
int rotation = config::Rotate90 ? 1 : 0;