mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Clarify an assignment is not a comparison.
This commit is contained in:
parent
563aa2d2ca
commit
f2d6bf73ca
2 changed files with 6 additions and 6 deletions
|
@ -681,8 +681,8 @@ int32_t cellGcmReserveIoMapSize(const u32 size)
|
|||
|
||||
int32_t cellGcmUnmapEaIoAddress(u64 ea)
|
||||
{
|
||||
u32 size;
|
||||
if (size = Memory.RSXIOMem.UnmapRealAddress(ea))
|
||||
u32 size = Memory.RSXIOMem.UnmapRealAddress(ea);
|
||||
if (size)
|
||||
{
|
||||
u64 io;
|
||||
ea = ea >> 20;
|
||||
|
@ -704,8 +704,8 @@ int32_t cellGcmUnmapEaIoAddress(u64 ea)
|
|||
|
||||
int32_t cellGcmUnmapIoAddress(u64 io)
|
||||
{
|
||||
u32 size;
|
||||
if (size = Memory.RSXIOMem.UnmapAddress(io))
|
||||
u32 size = Memory.RSXIOMem.UnmapAddress(io);
|
||||
if (size)
|
||||
{
|
||||
u64 ea;
|
||||
io = io >> 20;
|
||||
|
|
|
@ -230,8 +230,8 @@ int sys_spu_thread_group_start(u32 id)
|
|||
|
||||
for (u32 i = 0; i < group_info->list.size(); i++)
|
||||
{
|
||||
CPUThread* t;
|
||||
if (t = Emu.GetCPU().GetThread(group_info->list[i]))
|
||||
CPUThread* t = Emu.GetCPU().GetThread(group_info->list[i]);
|
||||
if (t)
|
||||
{
|
||||
t->Exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue