diff --git a/src/gb.rs b/src/gb.rs index 5088e6f1fc4e59fb72afef3483c7eeb9cb5adcd2..3c98084af00424166467c587f846c2193280b313 100644 --- a/src/gb.rs +++ b/src/gb.rs @@ -610,11 +610,13 @@ impl GameBoy { pub fn description(&self, column_length: usize) -> String { format!( - "{} {}\n{} {}\n{} {}\n{} {}\n{} {}", + "{} {}\n{} {}\n{} {:.02} Mhz\n{} {}\n{} {}\n{} {}", format!("{:width$}", "Version", width = column_length), VERSION, format!("{:width$}", "Mode", width = column_length), self.mode(), + format!("{:width$}", "Clock", width = column_length), + self.clock_freq() as f32 / 1000.0 / 1000.0, format!("{:width$}", "RAM Size", width = column_length), self.ram_size(), format!("{:width$}", "VRAM Size", width = column_length),