1
0
Fork 0

Fix some non-debug mapper handler to new format

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2493
This commit is contained in:
Sjoerd van der Berg 2006-02-12 23:53:50 +00:00
parent 397220ea1d
commit 1ee4a87477

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: sdlmain.cpp,v 1.102 2006-02-12 23:39:37 harekiet Exp $ */
/* $Id: sdlmain.cpp,v 1.103 2006-02-12 23:53:50 harekiet Exp $ */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
@ -223,7 +223,9 @@ void GFX_SetTitle(Bits cycles,Bits frameskip,bool paused){
SDL_WM_SetCaption(title,VERSION);
}
static void PauseDOSBox(void) {
static void PauseDOSBox(bool pressed) {
if (!pressed)
return;
GFX_SetTitle(-1,-1,true);
bool paused = true;
KEYBOARD_ClrBuffer();