mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
Fixed compilation warnings
This commit is contained in:
parent
c4743c3cc0
commit
6ed7e45bd4
3 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue