Fix close button

Fixes the close button on the home gui screen
This commit is contained in:
Robert Delaney
2026-03-02 21:35:17 -08:00
parent 4d04f408d7
commit 21c4f19271
5 changed files with 21 additions and 0 deletions

View File

@@ -40,6 +40,8 @@
#include "Xbox/resource.h"
#include "Windows64_Minecraft.h"
HINSTANCE hMyInst;
LRESULT CALLBACK DlgProc(HWND hWndDlg, UINT Msg, WPARAM wParam, LPARAM lParam);
char chGlobalText[256];
@@ -289,6 +291,11 @@ void MemSect(int sect)
HINSTANCE g_hInst = NULL;
HWND g_hWnd = NULL;
HWND GetMinecraftWindowHWND()
{
return g_hWnd;
}
static bool g_isFullscreen = false;
static RECT g_windowedRect = {};
static LONG g_windowedStyle = 0;