format
This commit is contained in:
parent
632c8727ff
commit
c9551328bd
|
@ -1,9 +1,9 @@
|
||||||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include "common/logging/log.h"
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include "common/logging/log.h"
|
||||||
#include "memory_patcher.h"
|
#include "memory_patcher.h"
|
||||||
|
|
||||||
namespace MemoryPatcher {
|
namespace MemoryPatcher {
|
||||||
|
@ -27,8 +27,8 @@ void ApplyPendingPatches() {
|
||||||
pending_patches.clear();
|
pending_patches.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PatchMemory(std::string modNameStr, std::string offsetStr, std::string valueStr,
|
void PatchMemory(std::string modNameStr, std::string offsetStr, std::string valueStr, bool isOffset,
|
||||||
bool isOffset, bool littleEndian) {
|
bool littleEndian) {
|
||||||
// Send a request to modify the process memory.
|
// Send a request to modify the process memory.
|
||||||
void* cheatAddress = nullptr;
|
void* cheatAddress = nullptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue