[RV64_DYNAREC] Added some workaround for gameoverui crashing

This commit is contained in:
ptitSeb committed 2026-04-12 15:39:03 +02:00
1 parent 01af6f3164
commit 21d66686da
1 file changed
+5 -1
+5 -1
View File
@@ -260,7 +260,11 @@ uintptr_t dynarec64_0F_vector(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip,
case 0x29:
INST_NAME("MOVAPS Ex, Gx");
nextop = F8;
SET_ELEMENT_WIDTH(x1, VECTOR_SEWANY, 1);
// on SteamRT3 with Gameoverlay, repear will crash immediatly on a Milk-V Pioneer machine
// doing movaps xmmword ptr ss:[rsp+0x10], xmm4 with rsp that seems 4-bytes aligned
// so changed VECTOR_SEWANY to VECTOR_SEW32 instead (to also be coherent with PS size)
//TODO: check what is really happening here
SET_ELEMENT_WIDTH(x1, VECTOR_SEW32, 1);
GETGX_vector(v0, 0, dyn->vector_eew);
if (MODREG) {
ed = (nextop & 7) + (rex.b << 3);