fix(palette): align ROM backing and tests

This commit is contained in:
scawful
2025-12-22 14:55:31 -05:00
parent c8ec329f14
commit 26ce12cd6f
6 changed files with 42 additions and 24 deletions

View File

@@ -79,6 +79,7 @@ uint32_t GetGraphicsAddress(const uint8_t* data, uint8_t addr, uint32_t ptr1,
absl::Status LoadGameData(Rom& rom, GameData& data, const LoadOptions& options) {
data.Clear();
data.set_rom(&rom);
if (options.populate_metadata) {
RETURN_IF_ERROR(LoadMetadata(rom, data));