Added per-model configuration.

Removed global cga_comp setting in the process.
This commit is contained in:
SarahW 2016-12-14 20:47:22 +00:00
commit 4324223f54
14 changed files with 263 additions and 72 deletions

View file

@ -12,6 +12,7 @@ typedef struct
int min_ram, max_ram;
int ram_granularity;
void (*init)();
struct device_t *device;
} MODEL;
extern MODEL models[];
@ -23,3 +24,4 @@ int model_getromset();
int model_getmodel(int romset);
char *model_getname();
void model_init();
struct device_t *model_getdevice(int model);