Skip to content

Commit

Permalink
desktop-ui: disable color bleed for HD content (#1287)
Browse files Browse the repository at this point in the history
This effect runs on the CPU, which is expensive for HD content and
incredibly so for UHD content. It doesn't make much sense to apply to
non-SD content, in any case.

Currently this only affects the N64 core in HD and UHD modes.
  • Loading branch information
invertego authored Nov 15, 2023
1 parent 30cc370 commit 4544e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop-ui/emulator/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ auto Emulator::setOverscan(bool value) -> bool {

auto Emulator::setColorBleed(bool value) -> bool {
if(auto screen = root->scan<ares::Node::Video::Screen>("Screen")) {
screen->setColorBleed(value);
screen->setColorBleed(screen->height() < 720 ? value : false); //only apply to sub-HD content
return true;
}

Expand Down

0 comments on commit 4544e1d

Please sign in to comment.