|
|
| version 1.6, 2003/12/08 00:55:33 | version 1.8, 2004/01/07 06:53:48 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "dosio.h" | #include "dosio.h" |
| #include "cpucore.h" | |
| #include "pccore.h" | #include "pccore.h" |
| #include "memory.h" | |
| #include "soundrom.h" | #include "soundrom.h" |
| Line 38 static BOOL loadsoundrom(UINT address, c | Line 38 static BOOL loadsoundrom(UINT address, c |
| } | } |
| file_cpyname(soundrom.name, romname, sizeof(soundrom.name)); | file_cpyname(soundrom.name, romname, sizeof(soundrom.name)); |
| soundrom.address = address; | soundrom.address = address; |
| if (address == 0xd0000) { | |
| CPU_RAM_D000 &= ~(0x0f << 0); | |
| } | |
| else if (address == 0xd4000) { | |
| CPU_RAM_D000 &= ~(0x0f << 4); | |
| } | |
| return(SUCCESS); | return(SUCCESS); |
| lsr_err: | lsr_err: |