mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
libretro: Fix loading of data.zip as the game
This commit is contained in:
parent
e2eccdb216
commit
eab75e0514
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ retro_get_system_info(struct retro_system_info* info)
|
|||
info->valid_extensions = "zip";
|
||||
info->library_version = "0.1";
|
||||
info->library_name = "vvvvvv";
|
||||
info->block_extract = false;
|
||||
info->block_extract = true;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -135,7 +135,7 @@ retro_load_game(const struct retro_game_info* game)
|
|||
chdir(systemdir);
|
||||
chdir("vvvvvv");
|
||||
} else {
|
||||
chdir(game->path);
|
||||
chdir(dirname(SDL_strdup(game->path)));
|
||||
}
|
||||
|
||||
game_thread = SDL_CreateThread(game_main, "VVVVVV", NULL);
|
||||
|
|
Loading…
Reference in a new issue