Browse Source

formatting, the return

tags/v1
parent
commit
477e714d4b
Signed by: govanify GPG Key ID: DE62E1E2A6145556
2 changed files with 29 additions and 28 deletions
  1. +1
    -0
      .clang-format
  2. +28
    -28
      pcsx2_ipc.h

+ 1
- 0
.clang-format View File

@@ -11,5 +11,6 @@ SpacesInContainerLiterals: 'false'
SpacesInParentheses: 'false'
UseTab: Never
AlwaysBreakTemplateDeclarations: 'Yes'
IndentCaseLabels: 'true'

...

+ 28
- 28
pcsx2_ipc.h View File

@@ -371,20 +371,20 @@ class PCSX2Ipc {
// deduce ipc tag
IPCCommand tag;
switch (sizeof(Y)) {
case 1:
tag = MsgRead8;
break;
case 2:
tag = MsgRead16;
break;
case 4:
tag = MsgRead32;
break;
case 8:
tag = MsgRead64;
break;
default:
throw Fail;
case 1:
tag = MsgRead8;
break;
case 2:
tag = MsgRead16;
break;
case 4:
tag = MsgRead32;
break;
case 8:
tag = MsgRead64;
break;
default:
throw Fail;
}

// batch mode
@@ -421,20 +421,20 @@ class PCSX2Ipc {
// deduce ipc tag
IPCCommand tag;
switch (sizeof(Y)) {
case 1:
tag = MsgWrite8;
break;
case 2:
tag = MsgWrite16;
break;
case 4:
tag = MsgWrite32;
break;
case 8:
tag = MsgWrite64;
break;
default:
throw Fail;
case 1:
tag = MsgWrite8;
break;
case 2:
tag = MsgWrite16;
break;
case 4:
tag = MsgWrite32;
break;
case 8:
tag = MsgWrite64;
break;
default:
throw Fail;
}

// batch mode


Loading…
Cancel
Save