]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
uaegfx board name is UAE, not uaegfx.card.
authorToni Wilen <twilen@winuae.net>
Sun, 23 Apr 2023 16:20:35 +0000 (19:20 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 23 Apr 2023 16:20:35 +0000 (19:20 +0300)
od-win32/picasso96_win.cpp

index d00175c35e3a70b19dffac06062823ae7d3aa65c..ef20225fa3884f30e1b01c9f3441db7b7f679976 100644 (file)
@@ -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);