diff --git a/Source/adlib.h b/Source/adlib.h index 1672128..04b17c1 100644 --- a/Source/adlib.h +++ b/Source/adlib.h @@ -28,6 +28,7 @@ #include "pic.h" #include "hardware.h" +#include namespace Adlib { diff --git a/Source/dbopl.cpp b/Source/dbopl.cpp index e8e501d..a35e054 100644 --- a/Source/dbopl.cpp +++ b/Source/dbopl.cpp @@ -1440,7 +1440,7 @@ void InitTables( void ) { //Add back the bits for highest ones if ( i >= 16 ) index += 9; - Bitu blah = reinterpret_cast( &(chip->chan[ index ]) ); + Bit64u blah = reinterpret_cast( &(chip->chan[ index ]) ); ChanOffsetTable[i] = blah; } //Same for operators @@ -1455,7 +1455,7 @@ void InitTables( void ) { chNum += 16 - 12; Bitu opNum = ( i % 8 ) / 3; DBOPL::Channel* chan = 0; - Bitu blah = reinterpret_cast( &(chan->op[opNum]) ); + Bit64u blah = reinterpret_cast( &(chan->op[opNum]) ); OpOffsetTable[i] = ChanOffsetTable[ chNum ] + blah; } #if 0