Added per-model configuration.
Removed global cga_comp setting in the process.
This commit is contained in:
parent
f311c9e17f
commit
4324223f54
14 changed files with 263 additions and 72 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue