use unordered map for JIT RestoreCandidates

also fix WifiRead32?
This commit is contained in:
RSDuck
2020-08-14 23:38:47 +02:00
parent 4cefff2528
commit 4299ef5f06
2 changed files with 33 additions and 122 deletions

View File

@ -1008,7 +1008,7 @@ void WifiWrite32(u32 addr, u32 val)
u32 WifiRead32(u32 addr)
{
return Wifi::Read(addr) | (Wifi::Read(addr + 2) << 16);
return (u32)Wifi::Read(addr) | ((u32)Wifi::Read(addr + 2) << 16);
}
template <typename T>