housekeeping

This commit is contained in:
scawful
2022-12-31 13:53:21 -06:00
parent a8729add01
commit 6902102402
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ void ScreenEditor::DrawInventoryMenuEditor() {
static bool create = false; static bool create = false;
if (!create && rom_.isLoaded()) { if (!create && rom_.isLoaded()) {
inventory_.Create(); inventory_.Create();
palette_ =inventory_.Palette(); palette_ = inventory_.Palette();
create = true; create = true;
} }

View File

@@ -74,7 +74,7 @@ absl::Status Inventory::BuildTileset() {
for (int i = 0; i < 0x4000; i++) { for (int i = 0; i < 0x4000; i++) {
test_.push_back(tilesheets_[i]); test_.push_back(tilesheets_[i]);
} }
for (int i = 0x8000; i < + 0x8000 + 0x2000; i++) { for (int i = 0x8000; i < +0x8000 + 0x2000; i++) {
test_.push_back(tilesheets_[i]); test_.push_back(tilesheets_[i]);
} }
tilesheets_bmp_.Create(128, 0x130, 64, test_); tilesheets_bmp_.Create(128, 0x130, 64, test_);