Clarify an assignment is not a comparison.

This commit is contained in:
Unknown W. Brackets 2014-04-27 20:37:25 -07:00
parent 563aa2d2ca
commit f2d6bf73ca
2 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -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();
}