Initial support for xex patching
This commit is contained in:
@@ -38,6 +38,7 @@ class UserModule : public XModule {
|
||||
|
||||
const std::string& path() const override { return path_; }
|
||||
const std::string& name() const override { return name_; }
|
||||
uint64_t hash() const { return hash_; }
|
||||
|
||||
enum ModuleFormat {
|
||||
kModuleFormatUndefined = 0,
|
||||
@@ -100,6 +101,7 @@ class UserModule : public XModule {
|
||||
|
||||
std::string name_;
|
||||
std::string path_;
|
||||
uint64_t hash_ = -1;
|
||||
|
||||
uint32_t guest_xex_header_ = 0;
|
||||
ModuleFormat module_format_ = kModuleFormatUndefined;
|
||||
|
||||
Reference in New Issue
Block a user