Diff for /np2/cbus/boardspb.c between versions 1.8 and 1.9

version 1.8, 2005/05/13 05:47:24 version 1.9, 2007/11/03 00:00:19
Line 249  static const IOINP spb_i[4] = { Line 249  static const IOINP spb_i[4] = {
                         spb_i188,       spb_i18a,       spb_i188,       spb_i18e};                          spb_i188,       spb_i18a,       spb_i188,       spb_i18e};
   
   
 void boardspb_reset(void) {  void boardspb_reset(const NP2CFG *pConfig) {
   
         fmtimer_reset(np2cfg.spbopt & 0xc0);          fmtimer_reset(pConfig->spbopt & 0xc0);
         opn.channels = 6;          opn.channels = 6;
         opngen_setcfg(6, OPN_STEREO | 0x03f);          opngen_setcfg(6, OPN_STEREO | 0x03f);
         soundrom_loadex(np2cfg.spbopt & 7, OEMTEXT("SPB"));          soundrom_loadex(pConfig->spbopt & 7, OEMTEXT("SPB"));
         opn.base = ((np2cfg.spbopt & 0x10)?0x000:0x100);          opn.base = ((pConfig->spbopt & 0x10)?0x000:0x100);
 }  }
   
 void boardspb_bind(void) {  void boardspb_bind(void) {
Line 281  static const IOINP spr_i[4] = { Line 281  static const IOINP spr_i[4] = {
                         spr_i588,       spr_i58a,       spr_i58c,       spr_i58e};                          spr_i588,       spr_i58a,       spr_i58c,       spr_i58e};
   
   
 void boardspr_reset(void) {  void boardspr_reset(const NP2CFG *pConfig) {
   
         fmtimer_reset(np2cfg.spbopt & 0xc0);          fmtimer_reset(pConfig->spbopt & 0xc0);
         opn.reg[0x2ff] = 0;          opn.reg[0x2ff] = 0;
         opn.channels = 12;          opn.channels = 12;
         opngen_setcfg(12, OPN_STEREO | 0x03f);          opngen_setcfg(12, OPN_STEREO | 0x03f);
         soundrom_loadex(np2cfg.spbopt & 7, OEMTEXT("SPB"));          soundrom_loadex(pConfig->spbopt & 7, OEMTEXT("SPB"));
         opn.base = (np2cfg.spbopt & 0x10)?0x000:0x100;          opn.base = (pConfig->spbopt & 0x10)?0x000:0x100;
 }  }
   
 void boardspr_bind(void) {  void boardspr_bind(void) {

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


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