Commit 81f9b563 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Remove unused set_layout_track

parent 6c638882
Pipeline #81942 passed with stages
in 10 minutes and 44 seconds
......@@ -726,7 +726,6 @@ bool retro_load_game(const struct retro_game_info *info)
fill_pathname_basedir(rom_path, info->path, sizeof(rom_path));
log_cb(RETRO_LOG_INFO, "Rom directory: %s\n", rom_path);
//trackloader.set_layout_track("d:/temp.bin");
bool loaded = roms.load_revb_roms();
if (!loaded)
......
......@@ -82,21 +82,6 @@ void TrackLoader::init(bool jap)
init_layout_tracks(jap);
}
bool TrackLoader::set_layout_track(const char* filename)
{
if (layout == NULL)
delete layout;
layout = new RomLoader();
if (layout->load_binary(filename))
return false;
mode = MODE_LAYOUT;
return true;
}
void TrackLoader::init_original_tracks(bool jap)
{
stage_data = jap ? STAGE_MAPPING_JAP : STAGE_MAPPING_USA;
......
......@@ -94,7 +94,6 @@ public:
~TrackLoader();
void init(bool jap);
bool set_layout_track(const char* filename);
void init_original_tracks(bool jap);
void init_layout_tracks(bool jap);
void init_track(const uint32_t);
......@@ -171,4 +170,4 @@ private:
void setup_section(Level* l, RomLoader* data, const int STAGE_ADR);
};
extern TrackLoader trackloader;
\ No newline at end of file
extern TrackLoader trackloader;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment