Fixed compilation warnings

This commit is contained in:
Sour 2024-01-09 16:46:02 +09:00
parent c4743c3cc0
commit 6ed7e45bd4
3 changed files with 3 additions and 4 deletions

View file

@ -46,7 +46,7 @@ private:
void GenerateNtscSignal(int8_t *ntscSignal, int &phase, int rowNumber);
void DecodeFrame(int startRow, int endRow, uint16_t *ppuOutputBuffer, uint32_t* outputBuffer, int startPhase);
void OnBeforeApplyFilter();
void OnBeforeApplyFilter() override;
public:
BisqwitNtscFilter(Emulator* emu);

View file

@ -470,8 +470,7 @@ void PceScsiBus::ProcessDiscRead()
//There's a time penalty for this (drive most likely needs to re-seek to the position & re-load the sector, etc.)
//Sherlock Holmes triggers this often and seems to want something around 290ms worth of delay in this case
_readSectorCounter = _console->GetMasterClockRate() * (290.0 / 1000.0);
uint32_t seekTimeMs = (_readSectorCounter * 1000 / _console->GetMasterClockRate());
LogDebug("[SCSI] Read sector done but buffer not empty, delay: " + std::to_string(seekTimeMs) + " ms");
LogDebug("[SCSI] Read sector done but buffer not empty, delay: " + std::to_string(_readSectorCounter * 1000 / _console->GetMasterClockRate()) + " ms");
_needExec = true;
}
}

View file

@ -168,7 +168,7 @@ DebugTilemapTileInfo SmsVdpTools::GetTilemapTileInfo(uint32_t x, uint32_t y, uin
}
result.TileMapAddress = ntAddr;
result.TileIndex = tileIndex;
result.TileAddress = tileIndex * 8;
result.TileAddress = tileAddr;
uint16_t colorTableAddr;
if(state.M2_AllowHeightChange) {