CppCheck: End of those marking. and removed one meaningless comparation in sys_spu.cpp.

This commit is contained in:
luxsie 2015-04-10 20:26:48 +08:00
parent 900389d857
commit e4a2a60f55
2 changed files with 3 additions and 1 deletions

View file

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

View file

@ -514,10 +514,12 @@ void InterpreterDisAsmFrame::InstrKey(wxListEvent& event)
switch(event.GetKeyCode())
{
case 'E':
// TODO:: Syphurith: It is said the InstructionEditorDialog would be immediately destroyed.
InstructionEditorDialog(this, pc, CPU, decoder, disasm);
DoUpdate();
return;
case 'R':
// TODO:: Syphurith: Eh Similiar for this one.
RegisterEditorDialog(this, pc, CPU, decoder, disasm);
DoUpdate();
return;