This commit is contained in:
huoji
2023-10-20 20:19:22 +08:00
parent 56cd154f31
commit 4a5a37ba95
14 changed files with 235 additions and 22 deletions

View File

@@ -4,7 +4,7 @@
class InterfaceReg;
//cancer fix me plz
namespace global {
extern bool isMetaModInit;
extern bool IsMetaModInit;
};
// Pointer arithmetic utility class.
struct UTILPtr {
@@ -119,7 +119,7 @@ class CModule {
private:
void InitializeHandle() {
if (global::isMetaModInit == false) {
if (global::IsMetaModInit == false) {
this->m_handle = static_cast<void*>(GetModuleHandleA(this->GetName()));
return;
}