mirror of https://github.com/stella-emu/stella.git
fixes #346
This commit is contained in:
parent
d786f83b84
commit
b94c042ed2
|
@ -121,7 +121,11 @@ void TiaOutputWidget::handleCommand(CommandSender* sender, int cmd, int data, in
|
||||||
ostringstream command;
|
ostringstream command;
|
||||||
int lines = myClickY + ystart;
|
int lines = myClickY + ystart;
|
||||||
if(instance().console().tia().isRendering())
|
if(instance().console().tia().isRendering())
|
||||||
|
{
|
||||||
lines -= instance().console().tia().scanlines();
|
lines -= instance().console().tia().scanlines();
|
||||||
|
if(lines < 0)
|
||||||
|
lines += instance().console().tia().scanlinesLastFrame();
|
||||||
|
}
|
||||||
if(lines > 0)
|
if(lines > 0)
|
||||||
{
|
{
|
||||||
command << "scanline #" << lines;
|
command << "scanline #" << lines;
|
||||||
|
|
Loading…
Reference in New Issue