Applied a whole slew of patches, getting RAM usage down by a further 10 MB.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user