Show the current image data in zoom widget.

This commit is contained in:
Christian Speckner 2018-08-01 23:12:45 +02:00
parent 766b6cd566
commit cd06cc6d2c
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ void TiaZoomWidget::drawWidget(bool hilite)
// Draw the zoomed image // Draw the zoomed image
// This probably isn't as efficient as it can be, but it's a small area // This probably isn't as efficient as it can be, but it's a small area
// and I don't have time to make it faster :) // and I don't have time to make it faster :)
const uInt8* currentFrame = instance().console().tia().frameBuffer(); const uInt8* currentFrame = instance().console().tia().outputBuffer();
const int width = instance().console().tia().width(), const int width = instance().console().tia().width(),
wzoom = myZoomLevel << 1, wzoom = myZoomLevel << 1,
hzoom = myZoomLevel; hzoom = myZoomLevel;