Initial port to Linux (using Allegro).
64-bit fixes. Some changes to aid portability. A few other tweaks.
This commit is contained in:
parent
4b3f77c926
commit
56b455844e
70 changed files with 12702 additions and 282 deletions
|
|
@ -112,7 +112,7 @@ int device_get_config_int(char *s)
|
|||
while (config->type != -1)
|
||||
{
|
||||
if (!strcmp(s, config->name))
|
||||
return get_config_int(current_device->name, s, config->default_int);
|
||||
return config_get_int(current_device->name, s, config->default_int);
|
||||
|
||||
config++;
|
||||
}
|
||||
|
|
@ -126,7 +126,7 @@ char *device_get_config_string(char *s)
|
|||
while (config->type != -1)
|
||||
{
|
||||
if (!strcmp(s, config->name))
|
||||
return get_config_string(current_device->name, s, config->default_string);
|
||||
return config_get_string(current_device->name, s, config->default_string);
|
||||
|
||||
config++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue