Mercurial > audlegacy-plugins
comparison src/adplug/core/fmc.cxx @ 952:87666f9bf6d0 trunk
[svn] Upstream commit "Vastly enhanced generic Protracker player and modified loaders accordingly.
Copl now supports a getchip() method. A2M loader enhanced for OPL3 features." manually applied by decoding the actual changes from an ocean of whitespace damage. It compiles, but do test it.
author | chainsaw |
---|---|
date | Fri, 13 Apr 2007 09:09:50 -0700 |
parents | cae46214b8bf |
children | 4709ce4e209e |
comparison
equal
deleted
inserted
replaced
951:df18b664f4e0 | 952:87666f9bf6d0 |
---|---|
1 /* | 1 /* |
2 Adplug - Replayer for many OPL2/OPL3 audio file formats. | 2 Adplug - Replayer for many OPL2/OPL3 audio file formats. |
3 Copyright (C) 1999 - 2003 Simon Peter <dn.tlp@gmx.net>, et al. | 3 Copyright (C) 1999 - 2007 Simon Peter <dn.tlp@gmx.net>, et al. |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Lesser General Public | 6 modify it under the terms of the GNU Lesser General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2.1 of the License, or (at your option) any later version. | 8 version 2.1 of the License, or (at your option) any later version. |
147 break; | 147 break; |
148 } | 148 } |
149 } | 149 } |
150 | 150 |
151 // data for Protracker | 151 // data for Protracker |
152 activechan = (0xffff >> (16 - header.numchan)) << (16 - header.numchan); | 152 activechan = (0xffffffff >> (32 - header.numchan)) << (32 - header.numchan); |
153 nop = t / header.numchan; | 153 nop = t / header.numchan; |
154 restartpos = 0; | 154 restartpos = 0; |
155 | 155 |
156 // flags | 156 // flags |
157 flags = Faust; | 157 flags = Faust; |