Fix patchInfo to own its strings (#4634)

This commit is contained in:
enyetsuen 2026-06-28 17:15:38 +02:00 committed by GitHub
parent 9f4b713dfd
commit fd7166b22e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,12 +26,12 @@ enum PatchMask : uint8_t {
};
struct patchInfo {
const std::string& gameSerial;
const std::string& modNameStr;
const std::string& offsetStr;
const std::string& valueStr;
const std::string& targetStr;
const std::string& sizeStr;
std::string gameSerial;
std::string modNameStr;
std::string offsetStr;
std::string valueStr;
std::string targetStr;
std::string sizeStr;
bool isOffset;
bool littleEndian;
PatchMask patchMask;