Move the EMU8000 ROM path to a macro
This commit is contained in:
@@ -406,6 +406,8 @@ void emu8k_close(emu8k_t *emu8k);
|
|||||||
|
|
||||||
void emu8k_update(emu8k_t *emu8k);
|
void emu8k_update(emu8k_t *emu8k);
|
||||||
|
|
||||||
|
#define EMU8K_ROM_PATH "roms/sound/creative/awe32.raw"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Section E - Introduction to the EMU8000 Chip
|
Section E - Introduction to the EMU8000 Chip
|
||||||
|
@@ -2172,7 +2172,7 @@ emu8k_init(emu8k_t *emu8k, uint16_t emu_addr, int onboard_ram)
|
|||||||
int c;
|
int c;
|
||||||
double out;
|
double out;
|
||||||
|
|
||||||
fp = rom_fopen("roms/sound/creative/awe32.raw", "rb");
|
fp = rom_fopen(EMU8K_ROM_PATH, "rb");
|
||||||
if (!fp)
|
if (!fp)
|
||||||
fatal("AWE32.RAW not found\n");
|
fatal("AWE32.RAW not found\n");
|
||||||
|
|
||||||
|
@@ -2509,7 +2509,7 @@ sb_16_compat_init(const device_t *info)
|
|||||||
static int
|
static int
|
||||||
sb_awe32_available(void)
|
sb_awe32_available(void)
|
||||||
{
|
{
|
||||||
return rom_present("roms/sound/creative/awe32.raw");
|
return rom_present(EMU8K_ROM_PATH);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Reference in New Issue
Block a user