mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-05-09 04:14:20 +02: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:
@@ -9,8 +9,10 @@
|
||||
#include <unicorn/arm64.h>
|
||||
#include <unicorn_dynload.h>
|
||||
|
||||
#include "common/assert.h"
|
||||
|
||||
static struct LoadDll {
|
||||
private:
|
||||
public:
|
||||
LoadDll() {
|
||||
ASSERT(uc_dyn_load(NULL, 0));
|
||||
}
|
||||
@@ -19,4 +21,4 @@ private:
|
||||
}
|
||||
static LoadDll g_load_dll;
|
||||
} load_dll;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user