Skip to content

Commit

Permalink
Fixed compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Jan 9, 2024
1 parent c4743c3 commit 6ed7e45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Core/NES/BisqwitNtscFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BisqwitNtscFilter : public BaseVideoFilter

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);
Expand Down
3 changes: 1 addition & 2 deletions Core/PCE/CdRom/PceScsiBus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
2 changes: 1 addition & 1 deletion Core/SMS/Debugger/SmsVdpTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6ed7e45

Please sign in to comment.