From: beeanyew Date: Tue, 8 Jun 2021 08:04:27 +0000 (+0200) Subject: Fix P96 2.1E(?) issues X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=90c802592b8c030a4b593fc7550685240d9a7f78;p=pistorm Fix P96 2.1E(?) issues The Picasso96 bundled with some WB installs was refusing to enumerate any modes when encountering a palette or graphics controller type higher than its old assigned maximum. This should fix the problem with sometimes being unable to find any graphics modes through the CyberGraphX API. NOTE: Requires reattaching the Picasso96 settings to the board, since the palette/graphics controller chip type has changed. --- diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c b/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c index d3f5bf9..6ac9229 100644 --- a/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c +++ b/platforms/amiga/rtg/rtg_driver_amiga/pigfx-2.c @@ -255,9 +255,9 @@ int __attribute__((used)) InitCard(__REGA0(struct BoardInfo* b)) { b->CardBase = (struct CardBase *)_gfxbase; b->ExecBase = SysBase; b->BoardName = "PiStorm RTG"; - b->BoardType = BT_MNT_ZZ9000; - b->PaletteChipType = PCT_MNT_ZZ9000; - b->GraphicsControllerType = GCT_MNT_ZZ9000; + b->BoardType = 14; + b->PaletteChipType = PCT_S3ViRGE; + b->GraphicsControllerType = GCT_S3ViRGE; b->Flags = BIF_INDISPLAYCHAIN | BIF_GRANTDIRECTACCESS | BIF_HARDWARESPRITE | BIF_FLICKERFIXER; b->RGBFormats = 1 | 2 | 512 | 1024 | 2048; diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card index 13c99a3..2e04d11 100644 Binary files a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card and b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020.card differ diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card index 9aac8dc..0e70d1a 100644 Binary files a/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card and b/platforms/amiga/rtg/rtg_driver_amiga/pigfx020i.card differ diff --git a/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card b/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card index a7fa417..bfa07e5 100644 Binary files a/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card and b/platforms/amiga/rtg/rtg_driver_amiga/pigfx030.card differ