add print debugging to loading all graphics from rom

This commit is contained in:
scawful
2024-05-28 19:41:34 -04:00
parent 86ed064edb
commit a3732e3b56

View File

@@ -160,10 +160,12 @@ absl::Status MasterEditor::Update() {
DrawInfoPopup();
if (rom()->is_loaded() && !rom_assets_loaded_) {
std::cout << "Loading all graphics data from the game..." << std::endl;
// 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());
std::cout << "Graphics data loaded." << std::endl;
rom_assets_loaded_ = true;
}