|
|
| version 1.3, 2003/12/04 06:41:23 | version 1.4, 2003/12/04 09:47:08 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "dosio.h" | #include "dosio.h" |
| #include "bios.h" | #include "pccore.h" |
| #include "memory.h" | #include "memory.h" |
| #include "soundrom.h" | #include "soundrom.h" |
| Line 26 static BOOL loadsoundrom(UINT address, c | Line 26 static BOOL loadsoundrom(UINT address, c |
| file_catname(romname, name, sizeof(romname)); | file_catname(romname, name, sizeof(romname)); |
| } | } |
| file_catname(romname, file_extrom, sizeof(romname)); | file_catname(romname, file_extrom, sizeof(romname)); |
| bios_getpath(path, romname, sizeof(path)); | file_cpyname(path, np2cfg.biospath, sizeof(path)); |
| file_catname(path, romname, sizeof(path)); | |
| fh = file_open_rb(path); | fh = file_open_rb(path); |
| if (fh == FILEH_INVALID) { | if (fh == FILEH_INVALID) { |
| goto lsr_err; | goto lsr_err; |