From 172f9438919ce6f25168c1346f075a673a6e5a92 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Fri, 4 Aug 2023 21:49:22 +0200 Subject: [PATCH] port: remove GetModuleHandleA call --- port/src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/port/src/main.c b/port/src/main.c index cb4fc9b39..01a55c9a8 100644 --- a/port/src/main.c +++ b/port/src/main.c @@ -13,9 +13,6 @@ #include "romdata.h" #include "system.h" -#define WIN32_LEAN_AND_MEAN 1 -#include - u32 g_OsMemSize = 0; u8 g_Is4Mb = 0; s8 g_Resetting = false; @@ -73,7 +70,6 @@ int main(int argc, const char **argv) printf("memp heap at %p - %p\n", g_MempHeap, g_MempHeap + g_MempHeapSize); printf("rom file at %p - %p\n", g_RomFile, g_RomFile + g_RomFileSize); - printf("exe data at %p\n", GetModuleHandleA(NULL)); mainProc();