AUDIO: Specify constant type in Nuked OPL emulator

This commit is contained in:
Eugene Sandulenko 2018-04-07 12:40:28 +02:00
parent 52fc7e34d8
commit b1d2d56198

View file

@ -1154,7 +1154,7 @@ void OPL3_Generate(opl3_chip *chip, Bit16s *buf)
if (chip->eg_timerrem || chip->eg_state)
{
if (chip->eg_timer == 0xfffffffff)
if (chip->eg_timer == 0xfffffffffUL)
{
chip->eg_timer = 0;
chip->eg_timerrem = 1;