format again...
This commit is contained in:
parent
0c1c3d7a83
commit
055de99d5a
|
@ -13,7 +13,7 @@ void AddPatchToQueue(patchInfo patchToAdd) {
|
||||||
|
|
||||||
void ApplyPendingPatches() {
|
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];
|
patchInfo currentPatch = pending_patches[i];
|
||||||
PatchMemory(currentPatch.modNameStr, currentPatch.offsetStr, currentPatch.valueStr,
|
PatchMemory(currentPatch.modNameStr, currentPatch.offsetStr, currentPatch.valueStr,
|
||||||
currentPatch.isOffset);
|
currentPatch.isOffset);
|
||||||
|
|
|
@ -663,7 +663,7 @@ void CheatsPatches::applyPatch(const QString& patchName, bool enabled) {
|
||||||
QString address = lineObject["Address"].toString();
|
QString address = lineObject["Address"].toString();
|
||||||
QString patchValue = lineObject["Value"].toString();
|
QString patchValue = lineObject["Value"].toString();
|
||||||
|
|
||||||
if (MemoryPatcher::g_eboot_address == 0) {
|
if (MemoryPatcher::g_eboot_address == 0) {
|
||||||
MemoryPatcher::patchInfo addingPatch;
|
MemoryPatcher::patchInfo addingPatch;
|
||||||
addingPatch.modNameStr = patchName.toStdString();
|
addingPatch.modNameStr = patchName.toStdString();
|
||||||
addingPatch.offsetStr = address.toStdString();
|
addingPatch.offsetStr = address.toStdString();
|
||||||
|
|
Loading…
Reference in New Issue