|
|
| version 1.48, 2005/03/22 04:39:07 | version 1.51, 2007/11/03 00:00:19 |
|---|---|
| Line 892 static int flagload_fm(STFLAGH sfh, cons | Line 892 static int flagload_fm(STFLAGH sfh, cons |
| OPNKEY opnkey; | OPNKEY opnkey; |
| ret = statflag_read(sfh, &usesound, sizeof(usesound)); | ret = statflag_read(sfh, &usesound, sizeof(usesound)); |
| fmboard_reset(usesound); | fmboard_reset(&np2cfg, usesound); |
| switch(usesound) { | switch(usesound) { |
| case 0x01: | case 0x01: |
| Line 1456 const SFENTRY *tblterm; | Line 1456 const SFENTRY *tblterm; |
| sound_reset(); | sound_reset(); |
| fddmtrsnd_bind(); | fddmtrsnd_bind(); |
| iocore_reset(); // サウンドでpicを呼ぶので… | iocore_reset(&np2cfg); // サウンドでpicを呼ぶので… |
| cbuscore_reset(); | cbuscore_reset(&np2cfg); |
| fmboard_reset(pccore.sound); | fmboard_reset(&np2cfg, pccore.sound); |
| done = FALSE; | done = FALSE; |
| while((!done) && (ret != STATFLAG_FAILURE)) { | while((!done) && (ret != STATFLAG_FAILURE)) { |
| Line 1551 const SFENTRY *tblterm; | Line 1551 const SFENTRY *tblterm; |
| statflag_close(sffh); | statflag_close(sffh); |
| // I/O作り直し | // I/O作り直し |
| i286_memorymap((pccore.model & PCMODEL_EPSON)?1:0); | MEMM_ARCH((pccore.model & PCMODEL_EPSON)?1:0); |
| iocore_build(); | iocore_build(); |
| iocore_bind(); | iocore_bind(); |
| cbuscore_bind(); | cbuscore_bind(); |
| Line 1568 const SFENTRY *tblterm; | Line 1568 const SFENTRY *tblterm; |
| FONTPTR_LOW = fontrom + cgwindow.low; | FONTPTR_LOW = fontrom + cgwindow.low; |
| FONTPTR_HIGH = fontrom + cgwindow.high; | FONTPTR_HIGH = fontrom + cgwindow.high; |
| #endif | #endif |
| i286_vram_dispatch(vramop.operate); | MEMM_VRAM(vramop.operate); |
| fddmtr_reset(); | |
| soundmng_play(); | soundmng_play(); |
| return(ret); | return(ret); |