Fix warning (-Wimplicit-int)
This commit is contained in:
@@ -282,13 +282,13 @@ void FDSSoundReset(void) {
|
||||
GameExpSound.RChange = FDS_ESI;
|
||||
}
|
||||
|
||||
DECLFR(FDSSoundRead) {
|
||||
uint8 FDSSoundRead(uint32 A) {
|
||||
if (A >= 0x4040 && A < 0x4080) return FDSWaveRead(A);
|
||||
if (A >= 0x4090 && A < 0x4093) return FDSSRead(A);
|
||||
return X.DB;
|
||||
}
|
||||
|
||||
DECLFW(FDSSoundWrite) {
|
||||
void FDSSoundWrite(uint32 A, uint8 V) {
|
||||
if (A >= 0x4040 && A < 0x4080) FDSWaveWrite(A, V);
|
||||
else if (A >= 0x4080 && A < 0x408B) FDSSWrite(A, V);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user