Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

gt is supposed to be checked as signed

Laylee0609f48299f
diff --git a/crates/gekko/src/cpu.rs b/crates/gekko/src/cpu.rs
index 96559b9..cedac9b 100644
--- a/crates/gekko/src/cpu.rs
+++ b/crates/gekko/src/cpu.rs
@@ -73,7 +73,7 @@ impl Cpu {
self.cr.set_cr0(
condition::ConditionField::new()
.with_lt((val as i32) < 0)
- .with_gt(val > 0)
+ .with_gt((val as i32) > 0)
.with_eq(val == 0)
.with_so(so),
);