Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit b926828

Browse files
committed
Correct blargg_ntsc starting phase
1 parent c015e6d commit b926828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/NtscFilter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void NtscFilter::OnBeforeApplyFilter()
132132

133133
void NtscFilter::ApplyFilter(uint16_t *ppuOutputBuffer)
134134
{
135-
nes_ntsc_blit(&_ntscData, ppuOutputBuffer, _ntsc_border, PPU::ScreenWidth, (_console->IsDotBypassed() ? GetFieldPhase() : IsOddFrame()), PPU::ScreenWidth, 240, _ntscBuffer, NES_NTSC_OUT_WIDTH(PPU::ScreenWidth)*4);
135+
nes_ntsc_blit(&_ntscData, ppuOutputBuffer, _ntsc_border, PPU::ScreenWidth, (_console->IsDotBypassed() ? GetFieldPhase() : (IsOddFrame() ? 0 : 2)), PPU::ScreenWidth, 240, _ntscBuffer, NES_NTSC_OUT_WIDTH(PPU::ScreenWidth)*4);
136136
GenerateArgbFrame(_ntscBuffer);
137137
}
138138

0 commit comments

Comments
 (0)