Store model in config file as name rather than number.
This commit is contained in:
parent
f28a88dc99
commit
e6307a43e2
3 changed files with 71 additions and 45 deletions
|
|
@ -5,8 +5,9 @@
|
|||
|
||||
typedef struct
|
||||
{
|
||||
char name[24];
|
||||
char name[32];
|
||||
int id;
|
||||
char internal_name[24];
|
||||
struct
|
||||
{
|
||||
char name[8];
|
||||
|
|
@ -28,5 +29,7 @@ int model_count();
|
|||
int model_getromset();
|
||||
int model_getmodel(int romset);
|
||||
char *model_getname();
|
||||
char *model_get_internal_name();
|
||||
int model_get_model_from_internal_name(char *s);
|
||||
void model_init();
|
||||
struct device_t *model_getdevice(int model);
|
||||
|
|
|
|||
Loading…
Reference in a new issue