1
0
Fork 0
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:
宋文武 2024-10-12 22:04:25 +08:00
parent e2eccdb216
commit eab75e0514

View file

@ -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);