add overscan message

fix scanlines message
This commit is contained in:
thrust26 2019-06-02 09:32:26 +02:00
parent cf39f5afdf
commit cb6b9cff32
2 changed files with 6 additions and 8 deletions

View File

@ -761,6 +761,9 @@ void FrameBuffer::changeOverscan(int direction)
// issue a complete framebuffer re-initialization
myOSystem.createFrameBuffer();
}
ostringstream msg;
msg << "Overscan at " << overscan << "%";
showMessage(msg.str());
}
}

View File

@ -184,14 +184,9 @@ void TIASurface::setNTSC(NTSCFilter::Preset preset, bool show)
void TIASurface::setScanlineIntensity(int amount)
{
ostringstream buf;
if(ntscEnabled())
{
uInt32 intensity = enableScanlines(amount);
buf << "Scanline intensity at " << intensity << "%";
myOSystem.settings().setValue("tv.scanlines", intensity);
}
else
buf << "Scanlines only available in TV filtering mode";
uInt32 intensity = enableScanlines(amount);
buf << "Scanline intensity at " << intensity << "%";
myOSystem.settings().setValue("tv.scanlines", intensity);
myFB.showMessage(buf.str());
}