mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
format
This commit is contained in:
parent
90f1d2c08f
commit
0c1c3d7a83
@ -22,7 +22,8 @@ void ApplyPendingPatches() {
|
|||||||
pending_patches.clear();
|
pending_patches.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PatchMemory(std::string modNameStr, std::string offsetStr, std::string valueStr, bool isOffset) {
|
void PatchMemory(std::string modNameStr, std::string offsetStr, std::string valueStr,
|
||||||
|
bool isOffset) {
|
||||||
// Send a request to modify the process memory.
|
// Send a request to modify the process memory.
|
||||||
void* cheatAddress = nullptr;
|
void* cheatAddress = nullptr;
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ extern std::vector<patchInfo> pending_patches;
|
|||||||
void AddPatchToQueue(patchInfo patchToAdd);
|
void AddPatchToQueue(patchInfo patchToAdd);
|
||||||
void ApplyPendingPatches();
|
void ApplyPendingPatches();
|
||||||
|
|
||||||
void PatchMemory(std::string modNameStr, std::string offsetStr, std::string valueStr, bool isOffset);
|
void PatchMemory(std::string modNameStr, std::string offsetStr, std::string valueStr,
|
||||||
|
bool isOffset);
|
||||||
|
|
||||||
} // namespace MemoryPatcher
|
} // namespace MemoryPatcher
|
@ -26,9 +26,9 @@
|
|||||||
#include <QXmlStreamReader>
|
#include <QXmlStreamReader>
|
||||||
#include <common/logging/log.h>
|
#include <common/logging/log.h>
|
||||||
#include "cheats_patches.h"
|
#include "cheats_patches.h"
|
||||||
|
#include "common/memory_patcher.h"
|
||||||
#include "common/path_util.h"
|
#include "common/path_util.h"
|
||||||
#include "core/module.h"
|
#include "core/module.h"
|
||||||
#include "common/memory_patcher.h"
|
|
||||||
|
|
||||||
using namespace Common::FS;
|
using namespace Common::FS;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user