mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 20:14:45 +00:00
format
This commit is contained in:
parent
d7564b2d5a
commit
c1b73b170e
3 changed files with 5 additions and 5 deletions
|
@ -3,8 +3,8 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <codecvt>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <pugixml.hpp>
|
||||
#ifdef ENABLE_QT_GUI
|
||||
#include <QFile>
|
||||
|
@ -23,7 +23,7 @@
|
|||
namespace MemoryPatcher {
|
||||
|
||||
uintptr_t g_eboot_address;
|
||||
u64 g_eboot_image_size;
|
||||
uint64_t g_eboot_image_size;
|
||||
std::string g_game_serial;
|
||||
std::string patchFile;
|
||||
std::vector<patchInfo> pending_patches;
|
||||
|
@ -92,7 +92,7 @@ std::string convertValueToHex(const std::string type, const std::string valueStr
|
|||
std::vector<unsigned char> byteArray;
|
||||
// convert to little endian
|
||||
for (char16_t ch : valueStringU16) {
|
||||
unsigned char low_byte = static_cast<unsigned char>(ch & 0x00FF);
|
||||
unsigned char low_byte = static_cast<unsigned char>(ch & 0x00FF);
|
||||
unsigned char high_byte = static_cast<unsigned char>((ch >> 8) & 0x00FF);
|
||||
|
||||
byteArray.push_back(low_byte);
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
namespace MemoryPatcher {
|
||||
|
||||
extern uintptr_t g_eboot_address;
|
||||
extern u64 g_eboot_image_size;
|
||||
extern uint64_t g_eboot_image_size;
|
||||
extern std::string g_game_serial;
|
||||
extern std::string patchFile;
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
#include <QVBoxLayout>
|
||||
#include <QXmlStreamReader>
|
||||
#include <common/logging/log.h>
|
||||
#include "common/memory_patcher.h"
|
||||
#include "cheats_patches.h"
|
||||
#include "common/memory_patcher.h"
|
||||
#include "common/path_util.h"
|
||||
#include "core/module.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue