Initial port to Linux (using Allegro).

64-bit fixes.
Some changes to aid portability.
A few other tweaks.
This commit is contained in:
TomW 2014-09-04 21:07:24 +01:00
commit 56b455844e
70 changed files with 12702 additions and 282 deletions

View file

@ -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++;
}