mirror of https://github.com/stella-emu/stella.git
fixed crash in Audio & Video dialog when opened from debugger
This commit is contained in:
parent
f1998c761c
commit
0816f25ee5
|
@ -33,6 +33,10 @@
|
|||
|
||||
* Fixed some bugs in 3E+ scheme when using non-standard ROM sizes.
|
||||
|
||||
* Fixed custom palette and TV effects adjustable slider rounding issue.
|
||||
|
||||
* Fixed crash in Audio & Video dialog when opened from debugger.
|
||||
|
||||
* Updated documentation for changes in ROM properties key names.
|
||||
|
||||
* The codebase now compiles under gcc6 again. Future versions will
|
||||
|
|
|
@ -1005,8 +1005,6 @@ void VideoAudioDialog::handleCommand(CommandSender* sender, int cmd,
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void VideoAudioDialog::addPalette(int x, int y, int w, int h)
|
||||
{
|
||||
if(instance().hasConsole())
|
||||
{
|
||||
constexpr int NUM_LUMA = 8;
|
||||
constexpr int NUM_CHROMA = 16;
|
||||
const GUI::Font& ifont = instance().frameBuffer().infoFont();
|
||||
|
@ -1024,7 +1022,6 @@ void VideoAudioDialog::addPalette(int x, int y, int w, int h)
|
|||
COLW + 1, COLH + 1, 0, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue