Re-arranged roms' paths to be a bit more sane.

This commit is contained in:
Marcos Alves
2017-07-16 15:28:09 +01:00
parent 0ae74fbc8e
commit 564f0f8331
28 changed files with 238 additions and 236 deletions

View File

@@ -69,14 +69,14 @@ mt32emu_return_code mt32_check(const char* func, mt32emu_return_code ret, mt32em
int mt32_available()
{
if (roms_present[0] < 0)
roms_present[0] = (rom_present(L"roms/mt32/mt32_control.rom") && rom_present(L"roms/mt32/mt32_pcm.rom"));
roms_present[0] = (rom_present(L"roms/sound/mt32/mt32_control.rom") && rom_present(L"roms/sound/mt32/mt32_pcm.rom"));
return roms_present[0];
}
int cm32l_available()
{
if (roms_present[1] < 0)
roms_present[1] = (rom_present(L"roms/cm32l/cm32l_control.rom") && rom_present(L"roms/cm32l/cm32l_pcm.rom"));
roms_present[1] = (rom_present(L"roms/sound/cm32l/cm32l_control.rom") && rom_present(L"roms/sound/cm32l/cm32l_pcm.rom"));
return roms_present[1];
}

View File

@@ -696,9 +696,9 @@ void emu8k_init(emu8k_t *emu8k, int onboard_ram)
int c;
double out;
f = romfopen(L"roms/awe32.raw", L"rb");
f = romfopen(L"roms/sound/awe32.raw", L"rb");
if (!f)
fatal("ROMS/AWE32.RAW not found\n");
fatal("ROMS/SOUND/AWE32.RAW not found\n");
if (onboard_ram)
{

View File

@@ -680,7 +680,7 @@ void *sb_16_init()
int sb_awe32_available()
{
return rom_present(L"roms/awe32.raw");
return rom_present(L"roms/sound/awe32.raw");
}
void *sb_awe32_init()