mirror of https://github.com/stella-emu/stella.git
fixed garbage in fullscreen mode
fixed breakpoints flickering in RomListWidget fixed palette update in VideoAudioDialog
This commit is contained in:
parent
85d0c9227c
commit
e01d8e57a5
|
@ -491,6 +491,8 @@ void RomListWidget::drawWidget(bool hilite)
|
||||||
checkBreakPoint(dlist[pos].address,
|
checkBreakPoint(dlist[pos].address,
|
||||||
instance().debugger().cartDebug().getBank(dlist[pos].address)));
|
instance().debugger().cartDebug().getBank(dlist[pos].address)));
|
||||||
myCheckList[i]->setDirty();
|
myCheckList[i]->setDirty();
|
||||||
|
// draw immediately, because chain order is not deterministic
|
||||||
|
myCheckList[i]->draw();
|
||||||
|
|
||||||
// Draw highlighted item in a frame
|
// Draw highlighted item in a frame
|
||||||
if(_highlightedItem == pos)
|
if(_highlightedItem == pos)
|
||||||
|
|
|
@ -122,6 +122,10 @@ void DialogContainer::render()
|
||||||
if(myDialogStack.empty())
|
if(myDialogStack.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Make sure we start in a clean state (with zero'ed buffers)
|
||||||
|
if(!myOSystem.eventHandler().inTIAMode())
|
||||||
|
myOSystem.frameBuffer().clear();
|
||||||
|
|
||||||
cerr << "full re-render " << typeid(*this).name() << endl;
|
cerr << "full re-render " << typeid(*this).name() << endl;
|
||||||
|
|
||||||
// Make sure we start in a clean state (with zero'ed buffers)
|
// Make sure we start in a clean state (with zero'ed buffers)
|
||||||
|
|
|
@ -959,7 +959,16 @@ void VideoAudioDialog::handlePaletteUpdate()
|
||||||
instance().frameBuffer().tiaSurface().paletteHandler().setAdjustables(paletteAdj);
|
instance().frameBuffer().tiaSurface().paletteHandler().setAdjustables(paletteAdj);
|
||||||
|
|
||||||
if(instance().hasConsole())
|
if(instance().hasConsole())
|
||||||
|
{
|
||||||
instance().frameBuffer().tiaSurface().paletteHandler().setPalette();
|
instance().frameBuffer().tiaSurface().paletteHandler().setPalette();
|
||||||
|
|
||||||
|
constexpr int NUM_LUMA = 8;
|
||||||
|
constexpr int NUM_CHROMA = 16;
|
||||||
|
|
||||||
|
for(int idx = 0; idx < NUM_CHROMA; ++idx)
|
||||||
|
for(int lum = 0; lum < NUM_LUMA; ++lum)
|
||||||
|
myColor[idx][lum]->setDirty();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
Loading…
Reference in New Issue