remove shutdown

This commit is contained in:
scawful
2024-05-30 18:18:39 -04:00
parent 18769163a2
commit d9261464eb
3 changed files with 0 additions and 22 deletions

View File

@@ -260,7 +260,6 @@ void Controller::DoRender() const {
}
void Controller::OnExit() {
master_editor_.Shutdown();
if (flags()->kLoadAudioDevice) {
SDL_PauseAudioDevice(audio_device_, 1);
SDL_CloseAudioDevice(audio_device_);

View File

@@ -62,8 +62,6 @@ class MasterEditor : public SharedRom,
std::string filename = "");
absl::Status Update();
void Shutdown() { overworld_editor_.Shutdown(); }
auto emulator() -> emu::Emulator& { return emulator_; }
auto quit() { return quit_; }

View File

@@ -102,25 +102,6 @@ class OverworldEditor : public Editor,
int jump_to_tab() { return jump_to_tab_; }
int jump_to_tab_ = -1;
void Shutdown() {
for (auto& bmp : tile16_individual_) {
bmp.Cleanup();
}
for (auto& [i, bmp] : maps_bmp_) {
bmp.Cleanup();
}
for (auto& [i, bmp] : graphics_bin_) {
bmp.Cleanup();
}
for (auto& [i, bmp] : current_graphics_set_) {
bmp.Cleanup();
}
maps_bmp_.clear();
overworld_.Destroy();
all_gfx_loaded_ = false;
map_blockset_loaded_ = false;
}
/**
* @brief Load the Bitmap objects for each OverworldMap.
*