Move ROM::LoadAllGraphicsData call to MasterEditor

This commit is contained in:
scawful
2024-04-14 10:53:36 -05:00
parent 9483065477
commit eea082da0e
2 changed files with 2 additions and 2 deletions

View File

@@ -151,6 +151,8 @@ absl::Status MasterEditor::Update() {
DrawInfoPopup();
if (rom()->is_loaded() && !rom_assets_loaded_) {
// Load all of the graphics data from the game.
RETURN_IF_ERROR(rom()->LoadAllGraphicsData())
// Initialize overworld graphics, maps, and palettes
RETURN_IF_ERROR(overworld_editor_.LoadGraphics());
rom_assets_loaded_ = true;