1
0
Fork 0

Make block_fnum unsigned in fmopl

This value is stored as 32-bit unsigned value elsewhere throughout this
file and is being compared against 32-bit unsigned in this function.
This commit is contained in:
Patryk Obara 2020-03-27 14:21:52 +01:00 committed by Patryk Obara
parent 5983e820c4
commit f959484192

View file

@ -1485,8 +1485,7 @@ void FM_OPL::WriteReg(int r, int v)
{
OPL_CH *CH;
int slot;
int block_fnum;
uint32_t block_fnum;
/* adjust bus to 8 bits */
r &= 0xff;