mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-09 18:39: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->valid_extensions = "zip";
|
||||||
info->library_version = "0.1";
|
info->library_version = "0.1";
|
||||||
info->library_name = "vvvvvv";
|
info->library_name = "vvvvvv";
|
||||||
info->block_extract = false;
|
info->block_extract = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -135,7 +135,7 @@ retro_load_game(const struct retro_game_info* game)
|
||||||
chdir(systemdir);
|
chdir(systemdir);
|
||||||
chdir("vvvvvv");
|
chdir("vvvvvv");
|
||||||
} else {
|
} else {
|
||||||
chdir(game->path);
|
chdir(dirname(SDL_strdup(game->path)));
|
||||||
}
|
}
|
||||||
|
|
||||||
game_thread = SDL_CreateThread(game_main, "VVVVVV", NULL);
|
game_thread = SDL_CreateThread(game_main, "VVVVVV", NULL);
|
||||||
|
|
Loading…
Reference in a new issue