Core/GeckoCode: Avoid signed conversion in RunCodeHandler()

i is being used alongside unsigned types, so it should be unsigned as well.
This commit is contained in:
Lioncache 2023-12-18 16:37:33 -05:00
parent 1ceaa8c52a
commit bb866248cf
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ void RunCodeHandler(const Core::CPUThreadGuard& guard)
PowerPC::MMU::HostWrite_U32(guard, LR(ppc_state), SP + 16);
PowerPC::MMU::HostWrite_U32(guard, ppc_state.cr.Get(), SP + 20);
// Registers FPR0->13 are volatile
for (int i = 0; i < 14; ++i)
for (u32 i = 0; i < 14; ++i)
{
PowerPC::MMU::HostWrite_U64(guard, ppc_state.ps[i].PS0AsU64(), SP + 24 + 2 * i * sizeof(u64));
PowerPC::MMU::HostWrite_U64(guard, ppc_state.ps[i].PS1AsU64(),