diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/ipc_helpers.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 41899c519..94bd4e0cc 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h | |||
| @@ -39,11 +39,12 @@ public: | |||
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | /** | 41 | /** |
| 42 | * Aligns the current position forward to a 16-byte boundary, padding with zeros. Jumps forward | 42 | * Aligns the current position forward to a 16-byte boundary, padding with zeros. |
| 43 | * by 16-bytes at a minimum. | ||
| 44 | */ | 43 | */ |
| 45 | void AlignWithPadding() { | 44 | void AlignWithPadding() { |
| 46 | Skip(4 - (index & 3), true); | 45 | if (index & 3) { |
| 46 | Skip(4 - (index & 3), true); | ||
| 47 | } | ||
| 47 | } | 48 | } |
| 48 | 49 | ||
| 49 | unsigned GetCurrentOffset() const { | 50 | unsigned GetCurrentOffset() const { |