Diff for /np2/cbus/board86.c between versions 1.7 and 1.8

version 1.7, 2005/05/13 05:47:24 version 1.8, 2007/11/03 00:00:19
Line 168  static const IOINP opna_i[4] = { Line 168  static const IOINP opna_i[4] = {
                         opna_i188,      opna_i18a,      opna_i18c,      opna_i18e};                          opna_i188,      opna_i18a,      opna_i18c,      opna_i18e};
   
   
 void board86_reset(void) {  void board86_reset(const NP2CFG *pConfig) {
   
         fmtimer_reset((np2cfg.snd86opt & 0x10) |          fmtimer_reset((pConfig->snd86opt & 0x10) |
                                         ((np2cfg.snd86opt & 0x4) << 5) |                                          ((pConfig->snd86opt & 0x4) << 5) |
                                         ((np2cfg.snd86opt & 0x8) << 3));                                          ((pConfig->snd86opt & 0x8) << 3));
         opngen_setcfg(3, OPN_STEREO | 0x038);          opngen_setcfg(3, OPN_STEREO | 0x038);
         if (np2cfg.snd86opt & 2) {          if (pConfig->snd86opt & 2) {
                 soundrom_load(0xcc000, OEMTEXT("86"));                  soundrom_load(0xcc000, OEMTEXT("86"));
         }          }
         opn.base = (np2cfg.snd86opt & 0x01)?0x000:0x100;          opn.base = (pConfig->snd86opt & 0x01)?0x000:0x100;
         fmboard_extreg(extendchannel);          fmboard_extreg(extendchannel);
 }  }
   

Removed from v.1.7  
changed lines
  Added in v.1.8


RetroPC.NET-CVS <cvs@retropc.net>