From 5d5cb9f009a256e5488a54ded38a0b1438c9e5ff Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 23 Apr 2023 19:20:35 +0300 Subject: [PATCH] uaegfx board name is UAE, not uaegfx.card. --- od-win32/picasso96_win.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/od-win32/picasso96_win.cpp b/od-win32/picasso96_win.cpp index d00175c3..ef20225f 100644 --- a/od-win32/picasso96_win.cpp +++ b/od-win32/picasso96_win.cpp @@ -192,7 +192,7 @@ static bool delayed_set_switch; static int uaegfx_old, uaegfx_active; static uae_u32 reserved_gfxmem; -static uaecptr uaegfx_resname, +static uaecptr uaegfx_resname, uaegfx_prefix, uaegfx_resid, uaegfx_init, uaegfx_base, @@ -2647,7 +2647,8 @@ void picasso96_alloc (TrapContext *ctx) { if (currprefs.rtgboards[0].rtgmem_type >= GFXBOARD_HARDWARE) return; - uaegfx_resname = ds (_T("uaegfx.card")); + uaegfx_resname = ds(_T("uaegfx.card")); + uaegfx_prefix = ds(_T("UAE")); if (uaegfx_old) return; picasso96_alloc2 (ctx); @@ -2667,7 +2668,7 @@ static void inituaegfx(TrapContext *ctx, uaecptr ABI) trap_put_long(ctx, ABI + PSSO_BoardInfo_BoardType, picasso96_BT); trap_put_long(ctx, ABI + PSSO_BoardInfo_GraphicsControllerType, picasso96_GCT); trap_put_long(ctx, ABI + PSSO_BoardInfo_PaletteChipType, picasso96_PCT); - trap_put_long(ctx, ABI + PSSO_BoardInfo_BoardName, uaegfx_resname); + trap_put_long(ctx, ABI + PSSO_BoardInfo_BoardName, uaegfx_prefix); trap_put_long(ctx, ABI + PSSO_BoardInfo_MemoryClock, 200000000); -- 2.47.3