mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 04:25:19 +00:00
CppCheck: End of those marking. and removed one meaningless comparation in sys_spu.cpp.
This commit is contained in:
parent
900389d857
commit
e4a2a60f55
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue