VERY experimental Nintendo Switch 2 emulator
C++
ipc_helpers: Fix alignment (was wrong as a result of a dynarmic bug).
bunnei9ed2ef9c1c90
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.hindex 41899c519b..94bd4e0ccb 100644--- a/src/core/hle/ipc_helpers.h+++ b/src/core/hle/ipc_helpers.h@@ -39,11 +39,12 @@ public:}/**- * Aligns the current position forward to a 16-byte boundary, padding with zeros. Jumps forward- * by 16-bytes at a minimum.+ * Aligns the current position forward to a 16-byte boundary, padding with zeros.*/void AlignWithPadding() {- Skip(4 - (index & 3), true);+ if (index & 3) {+ Skip(4 - (index & 3), true);+ }}unsigned GetCurrentOffset() const {