mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
Some warnings fixed, some code removed
This commit is contained in:
parent
8dfe7138df
commit
3269c88d02
21 changed files with 166 additions and 400 deletions
|
@ -125,9 +125,9 @@ public:
|
|||
{
|
||||
const u64 res = (u64)addr - (u64)GetBaseAddr();
|
||||
|
||||
if (res < 0x100000000)
|
||||
if ((u32)res == res)
|
||||
{
|
||||
return res;
|
||||
return (u32)res;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -211,7 +211,7 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
WriteMMIO32(addr, data);
|
||||
WriteMMIO32((u32)addr, data);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -285,7 +285,7 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
return ReadMMIO32(addr);
|
||||
return ReadMMIO32((u32)addr);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue