mirror of https://github.com/stella-emu/stella.git
Disable QIS on the R77 when scanlines and / or TV effects are enabled.
This commit is contained in:
parent
3b252a7b6e
commit
d5385b9de9
|
@ -28,9 +28,18 @@
|
|||
namespace {
|
||||
FrameBuffer::ScalingInterpolation interpolationModeFromSettings(const Settings& settings)
|
||||
{
|
||||
#ifdef RETRON77
|
||||
// Witv TV / and or scanline interpolation, the image has a height of ~480px. THe R77 runs at 720p, so there
|
||||
// is no benefit from QIS in y-direction. In addition, QIS on the R77 has performance issues if TV effects are
|
||||
// enabled.
|
||||
return settings.getBool("tia.inter") || settings.getInt("tv.filter") != 0 || settings.getInt("tv.scanlines") != 0
|
||||
? FrameBuffer::ScalingInterpolation::blur
|
||||
: FrameBuffer::ScalingInterpolation::sharp;
|
||||
#else
|
||||
return settings.getBool("tia.inter") ?
|
||||
FrameBuffer::ScalingInterpolation::blur :
|
||||
FrameBuffer::ScalingInterpolation::sharp;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue