diff --git a/src/common/memory_patcher.cpp b/src/common/memory_patcher.cpp index 2c62a7e6..af8b425c 100644 --- a/src/common/memory_patcher.cpp +++ b/src/common/memory_patcher.cpp @@ -13,7 +13,7 @@ void AddPatchToQueue(patchInfo patchToAdd) { void ApplyPendingPatches() { -for (size_t i = 0; i < pending_patches.size(); ++i) { + for (size_t i = 0; i < pending_patches.size(); ++i) { patchInfo currentPatch = pending_patches[i]; PatchMemory(currentPatch.modNameStr, currentPatch.offsetStr, currentPatch.valueStr, currentPatch.isOffset); diff --git a/src/qt_gui/cheats_patches.cpp b/src/qt_gui/cheats_patches.cpp index a826db40..32eea09f 100644 --- a/src/qt_gui/cheats_patches.cpp +++ b/src/qt_gui/cheats_patches.cpp @@ -663,7 +663,7 @@ void CheatsPatches::applyPatch(const QString& patchName, bool enabled) { QString address = lineObject["Address"].toString(); QString patchValue = lineObject["Value"].toString(); - if (MemoryPatcher::g_eboot_address == 0) { + if (MemoryPatcher::g_eboot_address == 0) { MemoryPatcher::patchInfo addingPatch; addingPatch.modNameStr = patchName.toStdString(); addingPatch.offsetStr = address.toStdString();