mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-03-25 15:37:22 +00:00

Currently to access the SP register, RegRead and RegWrite rely on a out-of-bounds array access to reach the next element in a struct. As of writing only git versions of GCC catch this error. Specify the SP register when we want to access it in these functions.