|
|
| version 1.2, 2004/08/05 11:30:12 | version 1.3, 2005/02/04 06:42:12 |
|---|---|
| Line 60 BRESULT x1f_open(const OEMCHAR *filename | Line 60 BRESULT x1f_open(const OEMCHAR *filename |
| if (fh == FILEH_INVALID) { | if (fh == FILEH_INVALID) { |
| return(FAILURE); | return(FAILURE); |
| } | } |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| CopyMemory(buf, sndboard.opmdat, 256); | CopyMemory(buf, sndboard.opmdat, 256); |
| #else | |
| ZeroMemory(buf, 256); | |
| #endif | |
| CopyMemory(buf, "X1F", 4); | CopyMemory(buf, "X1F", 4); |
| file_write(fh, buf, 256); | file_write(fh, buf, 256); |
| Line 85 void x1f_close(void) { | Line 89 void x1f_close(void) { |
| } | } |
| } | } |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| void x1f_opm(REG8 reg, REG8 dat) { | void x1f_opm(REG8 reg, REG8 dat) { |
| if (x1f.enable) { | if (x1f.enable) { |
| Line 93 void x1f_opm(REG8 reg, REG8 dat) { | Line 98 void x1f_opm(REG8 reg, REG8 dat) { |
| } | } |
| } | } |
| } | } |
| #endif | |
| void x1f_psg(REG8 reg, REG8 dat) { | void x1f_psg(REG8 reg, REG8 dat) { |