Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

asd

Layled16b440fd25e
diff --git a/crates/gecko/src/flipper/gx/draw.rs b/crates/gecko/src/flipper/gx/draw.rs
index bc8347b..8ef67b0 100644
--- a/crates/gecko/src/flipper/gx/draw.rs
+++ b/crates/gecko/src/flipper/gx/draw.rs
@@ -79,7 +79,10 @@ impl TlutFormat {
0 => Self::IA8,
1 => Self::RGB565,
2 => Self::RGB5A3,
- _ => Self::IA8,
+ _ => {
+ tracing::error!(val, "invalid TLUT format");
+ Self::IA8
+ }
}
}
}