From 9d9717e361a5107b0bb6b5a410b0f893d6bf18c8 Mon Sep 17 00:00:00 2001 From: Justin Scofield <47263509+scawful@users.noreply.github.com> Date: Sun, 31 Jul 2022 16:57:08 -0400 Subject: [PATCH] Resolve absl::Status related build "errors" --- src/app/editor/master_editor.cc | 2 +- src/app/zelda3/overworld_map.cc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/editor/master_editor.cc b/src/app/editor/master_editor.cc index 9f584b64..fab596a0 100644 --- a/src/app/editor/master_editor.cc +++ b/src/app/editor/master_editor.cc @@ -267,7 +267,7 @@ void MasterEditor::DrawDungeonEditor() { void MasterEditor::DrawPaletteEditor() { TAB_ITEM("Palettes") - palette_editor_.Update(); + status_ = palette_editor_.Update(); END_TAB_ITEM() } diff --git a/src/app/zelda3/overworld_map.cc b/src/app/zelda3/overworld_map.cc index f550d5e6..3fe99d03 100644 --- a/src/app/zelda3/overworld_map.cc +++ b/src/app/zelda3/overworld_map.cc @@ -122,7 +122,9 @@ void OverworldMap::BuildMap(int count, int game_state, uchar* map_parent, } } - BuildTileset(game_state); + if (!BuildTileset(game_state).ok()) { + std::cout << "BuildTileset failed" << std::endl; + } BuildTiles16Gfx(count, ow_blockset); // build on GFX.mapgfx16Ptr // int world = 0;