|
Some checks failed
Rust / build-linux (linux-x86_64, X64, ubuntu-24.04, x86_64-unknown-linux-gnu) (pull_request) Failing after 8s
Rust / build-android (29.0.14206865, ubuntu-24.04, 33) (pull_request) Failing after 4s
Rust-lint / lint-linux (pull_request) Failing after 18s
Rust / build-linux (linux-aarch64, ARM64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
Rust / build-windows (windows-aarch64, woa64, windows-11-arm, aarch64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-windows (windows-x86_64, win64, windows-2025, x86_64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-macos (macos-aarch64, ARM64, aarch64-apple-darwin) (pull_request) Has been cancelled
Rust / Collect release artifacts (pull_request) Has been cancelled
Finding 1: the Rust side calls on_netplay_resume_session, on_netplay_save_session and set_netplay_is_host on AppWindow, but the callbacks/property were only declared on the NetplayCreate/NetplayWait sub-components. appwindow.slint now declares callback netplay_resume_session(string), callback netplay_save_session and the in-out property netplay_is_host <=> NetplayWaitData.is_host, and forwards them at the NetplayCreate/NetplayWait instantiation sites, matching the existing netplay callback pattern. Finding 2: rfd::AsyncFilePicker does not exist in rfd 0.17; the crate exports AsyncFileDialog (already used by this repo in src/ui/gui.rs). Switch the resume file picker to rfd::AsyncFileDialog and use FileHandle::path() for the display path. Finding 3: set is_host from the ResponseSession lobby update instead of at wait-window open, comparing the local player name against players[0] (the session creator, always registered first). Re-evaluates on every lobby update. |
||
|---|---|---|
| .. | ||
| compat | ||
| device | ||
| ui | ||
| cheats.rs | ||
| device.rs | ||
| lib.rs | ||
| main.rs | ||
| netplay.rs | ||
| retroachievements.rs | ||
| savestates.rs | ||
| ui.rs | ||