diff options
| author | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 16:39:02 -0500 |
|---|---|---|
| committer | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 16:39:04 -0500 |
| commit | cea58759d9f8d56c7d28aedfae1b34164e3c2e4d (patch) | |
| tree | d5d48b197c8d3281b37ca2e08f1092d2cf7f21a4 /Source/Core | |
| parent | bb866248cfee7b2d099953c60a089b4fbfb9b1a7 (diff) | |
Core/GeckoCode: unsigned int -> u32
Same thing for all intents and purposes, less to read.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/GeckoCode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/GeckoCode.cpp b/Source/Core/Core/GeckoCode.cpp index 7ba2988b4b..fca0ff081e 100644 --- a/Source/Core/Core/GeckoCode.cpp +++ b/Source/Core/Core/GeckoCode.cpp @@ -146,7 +146,7 @@ static Installation InstallCodeHandlerLocked(const Core::CPUThreadGuard& guard) PowerPC::MMU::HostWrite_U8(guard, data[i], INSTALLER_BASE_ADDRESS + i); // Patch the code handler to the current system type (Gamecube/Wii) - for (unsigned int h = 0; h < data.length(); h += 4) + for (u32 h = 0; h < data.length(); h += 4) { // Patch MMIO address if (PowerPC::MMU::HostRead_U32(guard, INSTALLER_BASE_ADDRESS + h) == @@ -209,7 +209,7 @@ static Installation InstallCodeHandlerLocked(const Core::CPUThreadGuard& guard) // Invalidate the icache and any asm codes auto& ppc_state = guard.GetSystem().GetPPCState(); - for (unsigned int j = 0; j < (INSTALLER_END_ADDRESS - INSTALLER_BASE_ADDRESS); j += 32) + for (u32 j = 0; j < (INSTALLER_END_ADDRESS - INSTALLER_BASE_ADDRESS); j += 32) { ppc_state.iCache.Invalidate(INSTALLER_BASE_ADDRESS + j); } |
