desktop-ui: disable color bleed for HD content (#1287)

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.
このコミットが含まれているのは:
invertego 2023-11-15 03:04:43 -08:00 committed by GitHub
コミット 4544e1df69
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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;
}