From fc1d588b32b066f0d90a58effec65b64b8e4ce5b Mon Sep 17 00:00:00 2001 From: VDm Date: Sat, 23 Aug 2025 13:41:34 +0400 Subject: [PATCH 1/3] chore(build): update common library --- lib/common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common b/lib/common index c57f882..199a2c4 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit c57f882da2f12f379c857160a007f596a3f60b3c +Subproject commit 199a2c46cbfd0f4251592d50fb372a72805ad304 From 4aa396712482bb4d8246b9a2286448902960255e Mon Sep 17 00:00:00 2001 From: VDm Date: Sat, 23 Aug 2025 13:48:34 +0400 Subject: [PATCH 2/3] fix(gx): fix FindDisplayDevice enumerator argument --- src/gx/CGxDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gx/CGxDevice.cpp b/src/gx/CGxDevice.cpp index ba87b97..d5bff42 100644 --- a/src/gx/CGxDevice.cpp +++ b/src/gx/CGxDevice.cpp @@ -223,7 +223,7 @@ int32_t CGxDevice::AdapterInfer(uint16_t& deviceID) { int32_t FindDisplayDevice(PDISPLAY_DEVICE device, uint32_t flag) { DWORD i = 0; device->cb = sizeof(DISPLAY_DEVICE); - while (EnumDisplayDevices(nullptr, i, device, 0)) { + while (EnumDisplayDevices(nullptr, i++, device, 0)) { if ((device->StateFlags & flag) == flag) { return 1; } From 2f0c021e65bd3d07ee2848512dad3e882a8d13bc Mon Sep 17 00:00:00 2001 From: VDm Date: Sat, 23 Aug 2025 15:05:54 +0400 Subject: [PATCH 3/3] fix(world): fix issue with reallocations in ObjectAlloc --- lib/common | 2 +- src/world/map/CMap.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common b/lib/common index 199a2c4..def0513 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 199a2c46cbfd0f4251592d50fb372a72805ad304 +Subproject commit def0513800eb5a1ab378327b233e93a376eca3e4 diff --git a/src/world/map/CMap.cpp b/src/world/map/CMap.cpp index 0c1f83b..a637999 100644 --- a/src/world/map/CMap.cpp +++ b/src/world/map/CMap.cpp @@ -53,7 +53,7 @@ void CMap::Initialize() { // TODO - // CMap::MapMemInitialize(); + CMap::MapMemInitialize(); } void CMap::MapMemInitialize() {