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