mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12: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;
|
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue