From 3fc827074297ee352504743af9ca44d9647d3a05 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 3 Aug 2016 01:46:29 +0200 Subject: [PATCH] Removed 1 MB VRAM option from the two 28800-5 cards as no 28800-5 card existed with that much; Removed 6 MB and 8 MB VRAM options from the Mach64GX. --- src/vid_ati28800.c | 29 ++++++++++++++++++++++++++++- src/vid_ati_mach64.c | 8 -------- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/src/vid_ati28800.c b/src/vid_ati28800.c index bed6c9775..d32b548f9 100644 --- a/src/vid_ati28800.c +++ b/src/vid_ati28800.c @@ -411,6 +411,33 @@ void ati28800_add_status_info(char *s, int max_len, void *p) } static device_config_t ati28800_config[] = +{ + { + .name = "memory", + .description = "Memory size", + .type = CONFIG_SELECTION, + .selection = + { + { + .description = "256 kB", + .value = 256 + }, + { + .description = "512 kB", + .value = 512 + }, + { + .description = "" + } + }, + .default_int = 512 + }, + { + .type = -1 + } +}; + +static device_config_t ati28800_wonderxl_config[] = { { .name = "memory", @@ -477,5 +504,5 @@ device_t ati28800_wonderxl24_device = ati28800_speed_changed, ati28800_force_redraw, ati28800_add_status_info, - ati28800_config + ati28800_wonderxl_config }; diff --git a/src/vid_ati_mach64.c b/src/vid_ati_mach64.c index 4fdf41f0b..2b15763a2 100644 --- a/src/vid_ati_mach64.c +++ b/src/vid_ati_mach64.c @@ -2766,14 +2766,6 @@ static device_config_t mach64gx_config[] = .description = "4 MB", .value = 4 }, - { - .description = "6 MB", - .value = 6 - }, - { - .description = "8 MB", - .value = 8 - }, { .description = "" }