mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-08-14 11:38:14 +00:00
Fix bug with pad input processing (needed mac_yield load fallthrough case)
This commit is contained in:
@@ -493,6 +493,9 @@ atom_label(try_unsupported) /* === Case 7: Unsupported — fall through from the
|
||||
store_byte( R_T4, R_PadState, O_(PadState,id)),
|
||||
/* Fall through to snap_end. */
|
||||
|
||||
atom_label(no_jump_fallthrough)
|
||||
mac_yield_load(),
|
||||
|
||||
atom_label(snap_end)
|
||||
/* NOT mac_yield() — R_AtomJmp was already loaded in the BD-slot of the case-exit branch. */
|
||||
mac_yield_tail(),
|
||||
@@ -624,6 +627,9 @@ atom_label(dead_high_active)
|
||||
add_u( R_T0, R_T0, R_T4),
|
||||
store_half( R_T0, R_FloorRot, O_(V3_S2,y)),
|
||||
|
||||
atom_label(no_jump_fallthrough)
|
||||
mac_yield_load(),
|
||||
|
||||
atom_label(exit_stick)
|
||||
/* NOT mac_yield() — R_AtomJmp was already loaded in the BD-slot of the dead-zone/exit branch. */
|
||||
mac_yield_tail(),
|
||||
|
||||
Reference in New Issue
Block a user