mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
unicorn_load: Minor Windows-related changes
- Add missing include - Fix a potential compilation issue where the constructor wouldn't be able to execute, as it would be private.
This commit is contained in:
parent
a8ed248a13
commit
cf824fb2b2
@ -9,8 +9,10 @@
|
|||||||
#include <unicorn/arm64.h>
|
#include <unicorn/arm64.h>
|
||||||
#include <unicorn_dynload.h>
|
#include <unicorn_dynload.h>
|
||||||
|
|
||||||
|
#include "common/assert.h"
|
||||||
|
|
||||||
static struct LoadDll {
|
static struct LoadDll {
|
||||||
private:
|
public:
|
||||||
LoadDll() {
|
LoadDll() {
|
||||||
ASSERT(uc_dyn_load(NULL, 0));
|
ASSERT(uc_dyn_load(NULL, 0));
|
||||||
}
|
}
|
||||||
@ -19,4 +21,4 @@ private:
|
|||||||
}
|
}
|
||||||
static LoadDll g_load_dll;
|
static LoadDll g_load_dll;
|
||||||
} load_dll;
|
} load_dll;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user