summaryrefslogtreecommitdiff
path: root/StormLib/src/SFilePatchArchives.cpp
diff options
context:
space:
mode:
authorGaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>2022-08-15 04:57:24 +0200
committerGitHub <noreply@github.com>2022-08-14 22:57:24 -0400
commit68e7f2e6c16e4b5206e5e1594ec598109bd5a314 (patch)
tree3bf9031f3c8a7559373f9dbf4be2ffe3973d7db9 /StormLib/src/SFilePatchArchives.cpp
parentb989ef4f7f23acb482ccfc93675c1807b85c4ac0 (diff)
Wii U support (#1097)
* Wii U support * [WiiU] Combined Dockerfile * [WiiU] Combined Dockerfile * [WiiU] Combined Dockerfile * Add Jenkins support * wiiu: fix scissor clamp * wiiu: improve button remapping * wiiu: fix scaling issues * Update Dockerfile after merge * Pull assets before build * Only stop container once * Adjust logging sinks * wiiu: Change button mapping to match PC version * wiiu: Implement controller changes * wiiu: Update BUILDING.md Co-authored-by: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Co-authored-by: David Chavez <david@dcvz.io>
Diffstat (limited to 'StormLib/src/SFilePatchArchives.cpp')
-rw-r--r--StormLib/src/SFilePatchArchives.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/StormLib/src/SFilePatchArchives.cpp b/StormLib/src/SFilePatchArchives.cpp
index d8c104f7c..03d567441 100644
--- a/StormLib/src/SFilePatchArchives.cpp
+++ b/StormLib/src/SFilePatchArchives.cpp
@@ -480,7 +480,7 @@ static bool IsMatchingPatchFile(
{
// Load the patch header
SFileReadFile(hFile, &PatchHeader, sizeof(MPQ_PATCH_HEADER), &dwTransferred, NULL);
- BSWAP_ARRAY32_UNSIGNED(pPatchHeader, sizeof(DWORD) * 6);
+ BSWAP_ARRAY32_UNSIGNED(&PatchHeader, sizeof(DWORD) * 6);
// If the file contains an incremental patch,
// compare the "MD5 before patching" with the base file MD5