Gamepad pause menu row order; close an ordering race in dirty-page tracking

- Gamepad pause menu: "Options" and "Game Difficulty" swap places. With a gamepad the cursor rests on the centre row when the menu opens, and pressing confirm right away used to change the difficulty setting. Touch layout is unchanged.
- Graphics layer (preventive): setting a page read-only now marks it BUSY until mprotect has landed, so an unprotect-before-write from another thread can no longer leave a page read-only with state NONE. Adds the unit test t_dirty_race, which stages the interleaving deterministically.
This commit is contained in:
jhaizhou
2026-10-13 14:57:34 +08:00
parent 00918bdd00
commit ef9b1ff137
5 changed files with 125 additions and 29 deletions
+2
View File
@@ -30,6 +30,8 @@ t_rt_depth_ro.dSYM/
t_pso_skey
t_pso_skey.dSYM/
t_dirty_slots
t_dirty_race
t_dirty_race.dSYM/
t_dirty_slots.dSYM/
t_pfv
t_pfv.dSYM/