mirror of https://github.com/stella-emu/stella.git
Fixed OSX snapshot bug; the TIA image wasn't being completely drawn before
taking a snapshot. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3186 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
05623c52eb
commit
e456406b69
|
@ -23,6 +23,10 @@
|
||||||
'cursor'. The new argument allows to set mouse cursor visibility
|
'cursor'. The new argument allows to set mouse cursor visibility
|
||||||
separately for both UI and emulation modes.
|
separately for both UI and emulation modes.
|
||||||
|
|
||||||
|
* Fixed snapshot bug most noticeable in MacOSX, where taking a snapshot
|
||||||
|
of a TIA image sometimes left parts of the UI onscreen (and in the
|
||||||
|
resulting picture).
|
||||||
|
|
||||||
* Fixed memory leak; the game console wasn't being closed after exiting
|
* Fixed memory leak; the game console wasn't being closed after exiting
|
||||||
a ROM.
|
a ROM.
|
||||||
|
|
||||||
|
|
|
@ -1875,6 +1875,7 @@ void EventHandler::takeSnapshot(uInt32 number)
|
||||||
{
|
{
|
||||||
// Make sure we have a 'clean' image, with no onscreen messages
|
// Make sure we have a 'clean' image, with no onscreen messages
|
||||||
myOSystem.frameBuffer().enableMessages(false);
|
myOSystem.frameBuffer().enableMessages(false);
|
||||||
|
myOSystem.frameBuffer().tiaSurface().render();
|
||||||
|
|
||||||
string message = "Snapshot saved";
|
string message = "Snapshot saved";
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue