Skip to content
Snippets Groups Projects
Verified Commit 7df3ce77 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: added clock frequency

parent a7a30cb5
No related branches found
No related tags found
1 merge request!16Support for Game Boy Color (CGB) 😎🖍️
Pipeline #2599 failed
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment