Second pass at getting Windows version to compile.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@430 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2005-05-18 22:54:02 +00:00
parent 69c0767fa2
commit 6f68c3b20e
2 changed files with 7 additions and 6 deletions

View File

@ -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: Widget.hxx,v 1.10 2005-05-16 00:02:32 stephena Exp $
// $Id: Widget.hxx,v 1.11 2005-05-18 22:54:01 stephena Exp $
//
// Based on code from ScummVM - Scumm Interpreter
// Copyright (C) 2002-2004 The ScummVM project
@ -65,7 +65,7 @@ enum {
This is the base class for all widgets.
@author Stephen Anthony
@version $Id: Widget.hxx,v 1.10 2005-05-16 00:02:32 stephena Exp $
@version $Id: Widget.hxx,v 1.11 2005-05-18 22:54:01 stephena Exp $
*/
class Widget : public GuiObject
{
@ -176,7 +176,7 @@ class ButtonWidget : public StaticTextWidget, public CommandSender
void drawWidget(bool hilite);
protected:
uint _cmd;
int _cmd;
uInt8 _hotkey;
};

View File

@ -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: SettingsWin32.cxx,v 1.14 2005-05-18 22:35:37 stephena Exp $
// $Id: SettingsWin32.cxx,v 1.15 2005-05-18 22:54:02 stephena Exp $
//============================================================================
#include <sstream>
@ -25,7 +25,8 @@
#include "SettingsWin32.hxx"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SettingsWin32::SettingsWin32()
SettingsWin32::SettingsWin32(OSystem* osystem)
: Settings(osystem)
{
set("video_driver", "windib"); // This seems to be much faster than DirectX
set("fragsize", "2048"); // Anything less than this usually causes sound skipping