Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Core/SNES/SnesDefaultVideoFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,12 @@ void SnesDefaultVideoFilter::ApplyFilter(uint16_t *ppuOutputBuffer)
if(_baseFrameInfo.Width == 512 && _blendHighRes) {
//Very basic blend effect for high resolution modes
for(uint32_t i = 0; i < frameInfo.Height; i++) {
for(uint32_t j = 0; j < frameInfo.Width; j++) {
for(uint32_t j = 0; j < frameInfo.Width; j += 2) {
uint32_t &pixel1 = out[i*frameInfo.Width + j];
pixel1 = BlendPixels(pixel1, out[i * frameInfo.Width + j + 1]);
uint32_t &pixel2 = out[i*frameInfo.Width + j + 1];
uint32_t newPixel = BlendPixels(pixel1, out[i * frameInfo.Width + j + 1]);
pixel1 = newPixel;
pixel2 = newPixel;
}
}
}
Expand Down