format again...

This commit is contained in:
CrazyBloo 2024-08-23 02:49:05 -04:00
parent 0c1c3d7a83
commit 055de99d5a
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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();