quick temp hacks for getting game to boot

This commit is contained in:
Joshua Peisach 2025-06-20 21:59:29 -04:00
parent f45b1be4a2
commit 8027cdaabd
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 5 additions and 2 deletions

View File

@ -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);

View File

@ -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;