mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
FM-TOWNS AUDIO: Fix GCC warnings
This commit is contained in:
parent
d3e92f0b81
commit
726a7f3b1a
@ -18,8 +18,6 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*
|
*
|
||||||
* $URL: $
|
|
||||||
* $Id: $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "audio/softsynth/fmtowns_pc98/towns_midi.h"
|
#include "audio/softsynth/fmtowns_pc98/towns_midi.h"
|
||||||
|
@ -928,7 +928,7 @@ bool TownsPC98_FmSynth::init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TownsPC98_FmSynth::reset() {
|
void TownsPC98_FmSynth::reset() {
|
||||||
Common::StackLock lock(_mutex);
|
lock();
|
||||||
for (int i = 0; i < _numChan; i++) {
|
for (int i = 0; i < _numChan; i++) {
|
||||||
for (int ii = 0; ii < 4; ii++)
|
for (int ii = 0; ii < 4; ii++)
|
||||||
_chanInternal[i].opr[ii]->reset();
|
_chanInternal[i].opr[ii]->reset();
|
||||||
@ -948,6 +948,7 @@ void TownsPC98_FmSynth::reset() {
|
|||||||
if (_prc)
|
if (_prc)
|
||||||
_prc->reset();
|
_prc->reset();
|
||||||
#endif
|
#endif
|
||||||
|
unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TownsPC98_FmSynth::writeReg(uint8 part, uint8 regAddress, uint8 value) {
|
void TownsPC98_FmSynth::writeReg(uint8 part, uint8 regAddress, uint8 value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user