|
|
| version 1.109, 2007/11/11 13:54:14 | version 1.110, 2011/01/15 05:33:07 |
|---|---|
| Line 189 static void pccore_set(const NP2CFG *pCo | Line 189 static void pccore_set(const NP2CFG *pCo |
| // -------------------------------------------------------------------------- | // -------------------------------------------------------------------------- |
| #if !defined(DISABLE_SOUND) | #if !defined(DISABLE_SOUND) |
| static void sound_init() | static void sound_init(void) |
| { | { |
| UINT rate; | UINT rate; |
| Line 247 void pccore_init(void) { | Line 247 void pccore_init(void) { |
| fddfile_initialize(); | fddfile_initialize(); |
| #if !defined(DISABLE_SOUND) | #if !defined(DISABLE_SOUND) |
| sound_init(&np2cfg); | sound_init(); |
| #endif | #endif |
| rs232c_construct(); | rs232c_construct(); |
| Line 324 void pccore_reset(void) { | Line 324 void pccore_reset(void) { |
| if (soundrenewal) { | if (soundrenewal) { |
| soundrenewal = 0; | soundrenewal = 0; |
| sound_term(); | sound_term(); |
| sound_init(&np2cfg); | sound_init(); |
| } | } |
| #endif | #endif |
| ZeroMemory(mem, 0x110000); | ZeroMemory(mem, 0x110000); |