CppCheck: End of those marking. and removed one meaningless comparation in sys_spu.cpp.
This commit is contained in:
@@ -508,7 +508,7 @@ s32 sys_spu_thread_group_terminate(u32 id, s32 value)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((group->state <= SPU_THREAD_GROUP_STATUS_INITIALIZED) || (group->state == SPU_THREAD_GROUP_STATUS_WAITING) || (group->state == SPU_THREAD_GROUP_STATUS_WAITING))
|
if ((group->state <= SPU_THREAD_GROUP_STATUS_INITIALIZED) || (group->state == SPU_THREAD_GROUP_STATUS_WAITING))
|
||||||
{
|
{
|
||||||
return CELL_EINVAL;
|
return CELL_EINVAL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -514,10 +514,12 @@ void InterpreterDisAsmFrame::InstrKey(wxListEvent& event)
|
|||||||
switch(event.GetKeyCode())
|
switch(event.GetKeyCode())
|
||||||
{
|
{
|
||||||
case 'E':
|
case 'E':
|
||||||
|
// TODO:: Syphurith: It is said the InstructionEditorDialog would be immediately destroyed.
|
||||||
InstructionEditorDialog(this, pc, CPU, decoder, disasm);
|
InstructionEditorDialog(this, pc, CPU, decoder, disasm);
|
||||||
DoUpdate();
|
DoUpdate();
|
||||||
return;
|
return;
|
||||||
case 'R':
|
case 'R':
|
||||||
|
// TODO:: Syphurith: Eh Similiar for this one.
|
||||||
RegisterEditorDialog(this, pc, CPU, decoder, disasm);
|
RegisterEditorDialog(this, pc, CPU, decoder, disasm);
|
||||||
DoUpdate();
|
DoUpdate();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user