mirror of https://github.com/stella-emu/stella.git
Fixed crash when exiting from the debugger while in OpenGL mode.
Temporarily changed colour of hightlighted text from pure green to pure blue for the GP2X port. The next major release (2.2) will have a GUI palette selector for this. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1049 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
a8f5530162
commit
dfd7faf454
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: FrameBufferGL.cxx,v 1.55 2006-01-16 01:23:55 stephena Exp $
|
||||
// $Id: FrameBufferGL.cxx,v 1.56 2006-03-16 16:10:47 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#ifdef DISPLAY_OPENGL
|
||||
|
@ -305,7 +305,7 @@ bool FrameBufferGL::createScreen()
|
|||
SDL_GL_SwapBuffers();
|
||||
p_glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
myOSystem->eventHandler().refreshDisplay();
|
||||
cls();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: FrameBufferSoft.cxx,v 1.47 2006-02-15 03:22:34 azaballa Exp $
|
||||
// $Id: FrameBufferSoft.cxx,v 1.48 2006-03-16 16:10:47 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <SDL.h>
|
||||
|
@ -107,7 +107,8 @@ bool FrameBufferSoft::createScreen()
|
|||
myPitch = myScreen->pitch/4;
|
||||
break;
|
||||
}
|
||||
myOSystem->eventHandler().refreshDisplay();
|
||||
|
||||
cls();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: Console.cxx,v 1.85 2006-03-15 23:14:01 stephena Exp $
|
||||
// $Id: Console.cxx,v 1.86 2006-03-16 16:10:47 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -94,7 +94,7 @@ Console::Console(const uInt8* image, uInt32 size, const string& md5,
|
|||
iHeight = atoi(myProperties.get(Display_Height).c_str());
|
||||
if(iWidth > sWidth || iHeight > sHeight)
|
||||
{
|
||||
myOSystem->frameBuffer().showMessage("ROM image dimensions larger than screen");
|
||||
myOSystem->frameBuffer().showMessage("PAL ROMS not supported, screen too small");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: FrameBuffer.cxx,v 1.80 2006-03-15 23:14:01 stephena Exp $
|
||||
// $Id: FrameBuffer.cxx,v 1.81 2006-03-16 16:10:47 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <sstream>
|
||||
|
@ -686,6 +686,10 @@ const uInt8 FrameBuffer::ourGUIColors[kNumColors-256][3] = {
|
|||
{ 64, 64, 64 }, // kShadowColor
|
||||
{ 200, 200, 255 }, // kHiliteColor
|
||||
{ 32, 160, 32 }, // kTextColor
|
||||
#if !defined(GP2X) // Quick GP2X hack to change colours, until an in-game GUI is added
|
||||
{ 0, 255, 0 }, // kTextColorHi
|
||||
#else
|
||||
{ 0, 0, 255 }, // kTextColorHi
|
||||
#endif
|
||||
{ 200, 0, 0 } // kTextColorEm
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue