* implement missing graphics (affine BG, rotscaled bitmap sprite)

* fix potential crash upon exit
* more work on the input config UI
* misc fixes
This commit is contained in:
StapleButter
2017-03-24 20:53:01 +01:00
parent f7ac0090f0
commit 68eb4f6caf
9 changed files with 323 additions and 65 deletions

View File

@ -130,10 +130,18 @@ MainFrame::MainFrame()
void MainFrame::OnClose(wxCloseEvent& event)
{
emustatus = 0;
emustatuschangemutex->Lock();
emustatuschange->Signal();
emustatuschangemutex->Unlock();
if (emustatus == 1)
{
emustatus = 0;
emustop->Wait();
}
else
{
emustatus = 0;
emustatuschangemutex->Lock();
emustatuschange->Signal();
emustatuschangemutex->Unlock();
}
emuthread->Wait();
delete emuthread;