Update tests

This commit is contained in:
scawful
2025-01-19 18:55:01 -05:00
parent 38d34fd40c
commit de75cc6850
4 changed files with 28 additions and 68 deletions

View File

@@ -15,6 +15,9 @@ namespace yaze {
namespace zelda3 {
absl::Status Overworld::Load(Rom &rom) {
if (rom.size() == 0) {
return absl::InvalidArgumentError("ROM file not loaded");
}
rom_ = rom;
RETURN_IF_ERROR(AssembleMap32Tiles());