A GameCube/Wii emulator and debugger written in Rust.
about page
Layled972c4572975
diff --git a/README.md b/README.mdindex 5bed878..c197900 100644--- a/README.md+++ b/README.md@@ -31,6 +31,7 @@ Gecko is developed with homebrew development and reverse engineering in mind, bu- `wgpu` based renderer backend- Supports all major platforms- `wesl` based specialized shader compiler+- JIT and shader cache- Frame pacing- Modular audio backend, defaults to `cpal`- Supports mixing audio sinksdiff --git a/crates/dbglib/src/windows.rs b/crates/dbglib/src/windows.rsindex 7e903f4..4d1de8a 100644--- a/crates/dbglib/src/windows.rs+++ b/crates/dbglib/src/windows.rs@@ -1,3 +1,4 @@+pub mod about;pub mod breakpoints;pub mod callstack;pub mod controls;diff --git a/crates/dbglib/src/windows/about.rs b/crates/dbglib/src/windows/about.rsnew file mode 100644index 0000000..6275291--- /dev/null+++ b/crates/dbglib/src/windows/about.rs@@ -0,0 +1,35 @@+use egui::{Context, RichText};++const REPO_URL: &str = "https://github.com/ioncodes/gecko";++pub fn show_about(ctx: &Context, open: &mut bool) {+ egui::Window::new("About")+ .open(open)+ .resizable(false)+ .collapsible(false)+ .default_width(280.0)+ .show(ctx, |ui| {+ ui.vertical_centered(|ui| {+ ui.add_space(4.0);+ ui.label(RichText::new("Gecko").size(20.0).strong());+ ui.label("GameCube / Wii emulator");+ ui.add_space(6.0);+ ui.hyperlink_to(REPO_URL, REPO_URL);+ ui.add_space(8.0);+ });++ ui.separator();+ ui.add_space(4.0);++ ui.label(RichText::new("Author").strong());+ ui.label("Layle");++ ui.add_space(8.0);++ ui.label(RichText::new("Acknowledgements").strong());+ ui.label("zayd");+ ui.label("vxpm");+ ui.label("hazelwiss");+ ui.label("Dolphin team");+ });+}diff --git a/crates/debugger/src/debugger.rs b/crates/debugger/src/debugger.rsindex 3a75834..6324ee3 100644--- a/crates/debugger/src/debugger.rs+++ b/crates/debugger/src/debugger.rs@@ -22,6 +22,7 @@ pub struct DebuggerUi {pub show_callstack: bool,pub show_lua: bool,pub show_breakpoints: bool,+ pub show_about: bool,pub memory_base: u32,pub memory_addr_input: String,pub run_until_addr_input: String,@@ -50,6 +51,7 @@ impl Default for DebuggerUi {show_callstack: false,show_lua: false,show_breakpoints: false,+ show_about: true,memory_base: 0x8000_0000,memory_addr_input: "80000000".to_string(),run_until_addr_input: String::new(),diff --git a/crates/debugger/src/render.rs b/crates/debugger/src/render.rsindex 227baa6..40f9a5b 100644--- a/crates/debugger/src/render.rs+++ b/crates/debugger/src/render.rs@@ -208,6 +208,10 @@ impl RenderState {ui.checkbox(&mut debugger_ui.show_breakpoints, "Breakpoints");ui.checkbox(&mut debugger_ui.show_lua, "Lua");});++ ui.menu_button("Help", |ui| {+ ui.checkbox(&mut debugger_ui.show_about, "About");+ });});});@@ -304,6 +308,9 @@ impl RenderState {&mut debugger_ui.breakpoint_addr_input,);}+ if debugger_ui.show_about {+ dbglib::windows::about::show_about(&ctx, &mut debugger_ui.show_about);+ }if debugger_ui.show_lua {let mut load_script = false;let mut clear_log = false;diff --git a/crates/tinyapp/src/app.rs b/crates/tinyapp/src/app.rsindex 07f6336..9f219b5 100644--- a/crates/tinyapp/src/app.rs+++ b/crates/tinyapp/src/app.rs@@ -202,7 +202,34 @@ impl State {.movable(false).anchor(egui::Align2::CENTER_CENTER, [0.0, 0.0]).frame(frame)+ .default_width(280.0).show(&ctx, |ui| {+ ui.vertical_centered(|ui| {+ ui.add_space(4.0);+ ui.label(egui::RichText::new("Gecko").size(20.0).strong());+ ui.label("GameCube / Wii emulator");+ ui.add_space(6.0);+ ui.hyperlink_to("https://github.com/ioncodes/gecko", "https://github.com/ioncodes/gecko");+ ui.add_space(8.0);+ });++ ui.separator();+ ui.add_space(4.0);++ ui.label(egui::RichText::new("Author").strong());+ ui.label("Layle");++ ui.add_space(8.0);++ ui.label(egui::RichText::new("Acknowledgements").strong());+ ui.label("zayd");+ ui.label("vxpm");+ ui.label("hazelwiss");+ ui.label("Dolphin team");++ ui.add_space(10.0);+ ui.separator();+ ui.add_space(4.0);ui.vertical_centered(|ui| {ui.label(egui::RichText::new("press space to start")