feat(desktop): GPU rendering, modern GTK4 UI, hotkeys and player 2
Some checks failed
CI / rust (push) Has been cancelled

- Replace Cairo DrawingArea with custom NesScreen widget using
  GskTextureScaleNode for GPU-accelerated nearest-neighbor rendering
- Migrate from FileChooserNative to FileDialog (GTK 4.10+)
- Add AlertDialog for error display, structured logging via env_logger
- Add FPS counter (F3), NTSC/PAL toggle (F7), fullscreen (F11),
  Esc to quit, save/load state (Ctrl+S/L), volume slider
- Add player 2 keyboard input support
- Fix window proportions by compensating for header bar height
This commit is contained in:
2026-03-18 15:12:06 +03:00
parent d113228f1b
commit ad6970d4b5
7 changed files with 545 additions and 147 deletions

View File

@@ -5,6 +5,8 @@ edition = "2024"
[dependencies]
nesemu = { path = "../.." }
gtk4 = "0.8"
cairo-rs = "0.19"
gtk4 = { version = "0.8", features = ["v4_10"] }
cpal = "0.15"
log = "0.4"
env_logger = "0.11"