mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
build: Make ImHex fully compile with MSVC and Clang CL
This does NOT make ImHex work yet. However it can now be compiled
This commit is contained in:
@@ -22,7 +22,7 @@ namespace hex::plugin::builtin {
|
||||
ImNodesContext *ctx = ImNodes::CreateContext();
|
||||
ctx->Style = ImNodes::GetStyle();
|
||||
ctx->Io = ImNodes::GetIO();
|
||||
ctx->AttributeFlagStack = GImNodes->AttributeFlagStack;
|
||||
ctx->AttributeFlagStack = ImNodes::GetCurrentContext()->AttributeFlagStack;
|
||||
|
||||
return ctx;
|
||||
}(), [](ImNodesContext *ptr) {
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace hex::plugin::builtin {
|
||||
AchievementManager::unlockAchievement("hex.builtin.achievement.hex_editor", "hex.builtin.achievement.hex_editor.modify_byte.name");
|
||||
});
|
||||
|
||||
EventPatchCreated::subscribe([](const u8 *, u8, PatchKind) {
|
||||
EventPatchCreated::subscribe([](const u8 *, u64, PatchKind) {
|
||||
AchievementManager::unlockAchievement("hex.builtin.achievement.hex_editor", "hex.builtin.achievement.hex_editor.create_patch.name");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user