feat: misc fixes

This commit is contained in:
Ran-j
2025-11-29 18:19:36 -03:00
parent 2f58b17243
commit c05d8f1809
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ namespace ps2recomp
// ss << "namespace ps2recomp {\n";
// ss << "namespace stubs {\n\n";
for (const auto &funcName : m_config.stubImplementations)
for (const auto &funcName : m_config.skipFunctions)
{
ss << "void " << funcName << "(uint8_t* rdram, R5900Context* ctx, PS2Runtime* runtime) { ps2_syscalls::TODO(rdram, ctx, runtime); }\n";
}
+4 -2
View File
@@ -93,6 +93,7 @@ struct alignas(16) R5900Context
uint32_t vu0_fbrst; // VIF/VU reset register
uint32_t vu0_fbrst2; // FBRST2
uint32_t vu0_fbrst3; // FBRST3
uint32_t vu0_fbrst4; // FBRST4
uint32_t vu0_itop;
uint32_t vu0_info;
@@ -164,6 +165,9 @@ struct alignas(16) R5900Context
vu0_clip_flags = 0;
vu0_cmsar0 = 0;
vu0_fbrst = 0;
vu0_fbrst2 = 0;
vu0_fbrst3 = 0;
vu0_fbrst4 = 0;
// Reset COP0 registers
cop0_index = 0;
@@ -193,10 +197,8 @@ struct alignas(16) R5900Context
vu0_vpu_stat2 = 0;
vu0_tpc2 = 0;
vu0_cmsar1 = 0;
vu0_fbrst2 = 0;
vu0_vpu_stat3 = 0;
vu0_cmsar2 = 0;
vu0_fbrst3 = 0;
vu0_vpu_stat4 = 0;
vu0_itop = 0;
vu0_info = 0;