From 8027cdaabd7b7aff5c00253e0e27a0708d17304b Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Fri, 20 Jun 2025 21:59:29 -0400 Subject: [PATCH] quick temp hacks for getting game to boot --- ISLE/isleapp.cpp | 3 ++- miniwin/src/internal/d3drmrenderer_sdl3gpu.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index fa33b5cc..10643ede 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -651,7 +651,8 @@ MxResult IsleApp::SetupWindow() SDL_SetBooleanProperty(props, SDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN, m_fullScreen); SDL_SetStringProperty(props, SDL_PROP_WINDOW_CREATE_TITLE_STRING, WINDOW_TITLE); #ifdef MINIWIN - SDL_SetBooleanProperty(props, SDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN, true); + // TODO: Only disable if on N3DS + // SDL_SetBooleanProperty(props, SDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN, true); #endif window = SDL_CreateWindowWithProperties(props); diff --git a/miniwin/src/internal/d3drmrenderer_sdl3gpu.h b/miniwin/src/internal/d3drmrenderer_sdl3gpu.h index 3a20000e..31dfb998 100644 --- a/miniwin/src/internal/d3drmrenderer_sdl3gpu.h +++ b/miniwin/src/internal/d3drmrenderer_sdl3gpu.h @@ -112,7 +112,9 @@ class Direct3DRMSDL3GPURenderer : public Direct3DRMRenderer { inline static void Direct3DRMSDL3GPU_EnumDevice(LPD3DENUMDEVICESCALLBACK cb, void* ctx) { - Direct3DRMRenderer* device = Direct3DRMSDL3GPURenderer::Create(640, 480); + // TODO: quick hack for getting the game to load on 3ds + Direct3DRMRenderer* device = Direct3DRMSDL3GPURenderer::Create(400, 240); + // Direct3DRMRenderer* device = Direct3DRMSDL3GPURenderer::Create(640, 480); if (device) { EnumDevice(cb, ctx, device, SDL3_GPU_GUID); delete device;