Applied a whole slew of patches, getting RAM usage down by a further 10 MB.

This commit is contained in:
OBattler
2018-03-19 01:02:04 +01:00
parent b6c393cc91
commit b1efb99ed6
222 changed files with 9538 additions and 9980 deletions

View File

@@ -754,7 +754,7 @@ static void adgold_get_buffer(int32_t *buffer, int len, void *p)
}
void *adgold_init(device_t *info)
void *adgold_init(const device_t *info)
{
FILE *f;
int c;
@@ -827,7 +827,7 @@ void adgold_close(void *p)
free(adgold);
}
static device_config_t adgold_config[] =
static const device_config_t adgold_config[] =
{
{
"surround", "Surround module", CONFIG_BINARY, "", 1
@@ -837,7 +837,7 @@ static device_config_t adgold_config[] =
}
};
device_t adgold_device =
const device_t adgold_device =
{
"AdLib Gold",
DEVICE_ISA, 0,