Skip to content

Commit

Permalink
libretro: Fix loading of data.zip as the game
Browse files Browse the repository at this point in the history
  • Loading branch information
宋文武 committed Oct 12, 2024
1 parent e2eccdb commit eab75e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktop_version/libretro/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit eab75e0

Please sign in to comment.