add print debugging to loading all graphics from rom
This commit is contained in:
@@ -160,10 +160,12 @@ absl::Status MasterEditor::Update() {
|
|||||||
DrawInfoPopup();
|
DrawInfoPopup();
|
||||||
|
|
||||||
if (rom()->is_loaded() && !rom_assets_loaded_) {
|
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.
|
// Load all of the graphics data from the game.
|
||||||
RETURN_IF_ERROR(rom()->LoadAllGraphicsData())
|
RETURN_IF_ERROR(rom()->LoadAllGraphicsData())
|
||||||
// Initialize overworld graphics, maps, and palettes
|
// Initialize overworld graphics, maps, and palettes
|
||||||
RETURN_IF_ERROR(overworld_editor_.LoadGraphics());
|
RETURN_IF_ERROR(overworld_editor_.LoadGraphics());
|
||||||
|
std::cout << "Graphics data loaded." << std::endl;
|
||||||
rom_assets_loaded_ = true;
|
rom_assets_loaded_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user