Commit Graph

253 Commits

Author SHA1 Message Date
Claude
eb5cf56ee3 Fix GGRS frame counter reset after state load (#5)
Some checks failed
Rust / build-linux (linux-x86_64, X64, ubuntu-24.04, x86_64-unknown-linux-gnu) (pull_request) Failing after 5s
Rust / build-android (29.0.14206865, ubuntu-24.04, 33) (pull_request) Failing after 2s
Rust-lint / lint-linux (pull_request) Failing after 2s
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
After a netplay savestate load, the GGRS session's internal frame counter
must be reset to match the savestate's frame, or desync detection fires
immediately on resume.

Changes:
- Patch vendored ggrs 0.13.0 to expose set_current_frame(frame) on
  P2PSession and SyncTestSession, with internal SyncLayer and InputQueue
  reset methods to clear stale saved states, checksum history, and input
  queues
- Add [patch.crates-io] ggrs = { path = 'vendor/ggrs' } in Cargo.toml
- Add netplay::reset_frame(session, frame) wrapper function
- Record current GGRS frame in Savestate.netplay_frame during
  create_savestate when in netplay context
- Call reset_frame after load_savestate in netplay context
- Add tests: advance 120 frames, reset to 60, verify current_frame()==60
  and clean resume with matching inputs; reset to 0; idempotent reset

Closes #5
2026-08-25 00:37:22 -05:00
Logan McNaughton
42c44998ff
update quick-xml (#1195) 2026-08-24 13:10:50 +00:00
Logan McNaughton
1957e8a579
use rustls (#1194)
* use rustls

* more

* more

* more

* more

* more
2026-08-24 12:35:05 +00:00
Logan McNaughton
aac8572ee8
bump ver (#1192) 2026-08-21 09:41:11 +00:00
Logan McNaughton
01ad4b5fe4
update rust (#1190) 2026-08-20 18:39:19 +00:00
Logan McNaughton
6bb3487352
use obfstr (#1168)
* use obfstr

* more
2026-07-20 14:30:23 +00:00
Logan McNaughton
c38ae12f0a
update rust (#1167)
* update rust

* remove cache

* more
2026-07-20 08:49:16 +00:00
Logan McNaughton
81cc78ce90
bump crate and rust versions (#1155) 2026-07-09 13:06:49 +00:00
Logan McNaughton
1bfb50de8a
re-arrange input profiles (#1150) 2026-07-05 10:43:23 +00:00
Logan McNaughton
c8eee9f727
don't copy from db (#1136) 2026-06-30 05:23:38 +00:00
Logan McNaughton
01a53ce1c0
use no-intro names in netplay/cheats (#1133)
* use no-intro names in netplay/cheats

* more

* more
2026-06-29 19:37:33 +00:00
Logan McNaughton
e257ba717b
update ggrs (#1127) 2026-06-27 08:19:14 +00:00
Logan McNaughton
a659413090
bump ver (#1124) 2026-06-25 13:09:55 +00:00
Logan McNaughton
a23ede433b
bump version (#1107) 2026-06-21 19:13:16 +00:00
Logan McNaughton
2dda5c8706
handle matchbox panics (#1104) 2026-06-21 08:51:32 +00:00
Logan McNaughton
d6d0b66078
bump version (#1095) 2026-06-16 16:41:13 +00:00
Logan McNaughton
c290e60af1
put tokio runtime in dedicated thread (#1086)
* put tokio runtime in dedicated thread

* more

* more

* more

* more
2026-06-16 09:33:27 +00:00
Logan McNaughton
9d2eec1732
bump version (#1073) 2026-06-14 06:53:05 +00:00
Logan McNaughton
aa0bde0999
use tls-vendored (#1056) 2026-06-11 05:16:13 +00:00
Logan McNaughton
02d53beeac
bump ver (#1048) 2026-06-09 17:11:49 +00:00
Logan McNaughton
af163dac62
Fixed input delay (#1044)
* disable rollback

* more

* more

* more

* more

* more

* more
2026-06-09 14:10:49 +00:00
Logan McNaughton
1d6e415422
use wss (#1017)
* use wss

* more
2026-06-06 09:06:40 +00:00
Logan McNaughton
681f8670f5
GGRS netplay (#1004)
* update netplay

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more
2026-06-05 07:43:31 +00:00
Logan McNaughton
5c7170268e
Don't store luts in savestate (#993)
* use hashmap for tlb

* more

* more

* more

* more

* more
2026-05-31 06:37:11 +00:00
Logan McNaughton
8bd4c936f8
bump rust (#976) 2026-05-28 18:09:08 +00:00
Logan McNaughton
9d7b13d4c9
include sdl libs for android (#954) 2026-05-26 07:39:51 +00:00
Logan McNaughton
7599f71c17 add sdl for android 2026-05-25 19:59:24 +02:00
Logan McNaughton
c16e927288
use native-tls (#940)
* use native-tls

* Add linker argument for aarch64 macOS target

* Update linker settings in config.toml

Remove linker configuration for macOS and consolidate for Windows.

* Revert "Update linker settings in config.toml"

This reverts commit 33c8da07bf87055762cfc5ba0a0defdd1b2e3d12.

* more
2026-05-23 05:34:01 +00:00
Logan McNaughton
b865c88d99
Use Gradle (#931)
* remove cargo-apk

* add gradle

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* more

* Revert "more"

This reverts commit 19395aac139976c9fd1b330f56ab03ac78236dc8.

* more

* more

* more

* more

* more

* more

* more

* more

* more
2026-05-21 16:16:12 +00:00
Logan McNaughton
01ea4c422a
hold a ref to AndroidApp (#928)
* hold a ref to AndroidApp

* more

* more

* more

* more

* more
2026-05-20 14:16:17 +00:00
Logan McNaughton
28b1424357
don't hold android app reference (#922)
* don't hold android app reference

* more

* more
2026-05-20 06:57:56 +00:00
Logan McNaughton
e852439b6a
Fix open on Android (#921)
* fix open

* more

* more

* mroe
2026-05-19 19:56:36 +00:00
Logan McNaughton
5850c514f2
Populate controller list on android (#920)
* list controllers in UI for android

* more

* more
2026-05-19 17:30:09 +00:00
Logan McNaughton
11a49fd687
open crate only for gui (#919) 2026-05-19 13:36:48 +00:00
Logan McNaughton
7eecfa3275
use robius open (#915)
* use robius open

* more
2026-05-19 08:50:42 +00:00
Logan McNaughton
e1b4039a52
dont use open on android (#914) 2026-05-19 07:43:55 +00:00
Logan McNaughton
a78393ca91
More basic Android stuff (#910)
* enable tokio

* data dirs

* jni pointer

* more

* more

* more

* more

* more

* more

* more

* more
2026-05-18 15:08:01 +00:00
Logan McNaughton
8dde32cb21
fix label (#909) 2026-05-17 19:53:10 +00:00
Logan McNaughton
1538513fb7
add apk icon (#908)
* add apk icon

* more

* more

* more

* more
2026-05-17 18:07:57 +00:00
Logan McNaughton
e3b63908de
show controller during config (#904) 2026-05-17 14:43:37 +00:00
Logan McNaughton
8fea9ef212
update ndk (#901) 2026-05-17 09:51:50 +00:00
Logan McNaughton
069c64ab08
build apk (#899)
* build apk

* more

* more

* more

* more

* more

* more

* more

* more

* more
2026-05-16 20:09:19 +00:00
Logan McNaughton
c8f485cd93
Build clib (#893)
* Build clib

* more

* more

* more

* linker

* more

* more

* more

* more

* more

* more
2026-05-15 11:18:48 +00:00
Logan McNaughton
8341ef5731
Add Discord Rich Presence (#888)
* add rich presence

* more

* more

* more

* more

* more

* more

* more

* more

* more

* update translations

* more
2026-05-14 14:30:36 +00:00
Logan McNaughton
f793eb06be
bump to 1.1.20 (#849) 2026-05-07 06:49:49 +00:00
Logan McNaughton
801cc1bc74
cargo update (#827) 2026-05-03 05:49:27 +00:00
Logan McNaughton
5e6a7731f4
update to 1.1.19 (#806)
* update to 1.1.19

* more
2026-04-25 07:22:58 +02:00
Logan McNaughton
0a884e85df
Fix macos sandboxing (#800)
* Fix macos sandboxing

* more

* more

* more

* more

* more

* more

* more
2026-04-23 19:32:53 +02:00
Logan McNaughton
ca4a20f524
update cargo to v1.1.17 (#798) 2026-04-23 11:02:02 +02:00
Logan McNaughton
03f83fe917
fix git version with shallow clones (#794)
* fix git version with shallow clones

* more
2026-04-22 09:08:54 +02:00