diff options
| author | Alejandro Marzini | 2010-07-01 06:07:24 +0000 |
|---|---|---|
| committer | Alejandro Marzini | 2010-07-01 06:07:24 +0000 |
| commit | a35db656d338525c86045d093a7230e110eff5a7 (patch) | |
| tree | 30fcde5a1216fab91306edba485ecbe6bf16fa63 /backends/graphics/gp2xwizsdl | |
| parent | 1bc87e3bee97d81d2c62126554c6380c7ce2bd1a (diff) | |
| download | scummvm-rg350-a35db656d338525c86045d093a7230e110eff5a7.tar.gz scummvm-rg350-a35db656d338525c86045d093a7230e110eff5a7.tar.bz2 scummvm-rg350-a35db656d338525c86045d093a7230e110eff5a7.zip | |
Modularized GP2X backend. Renamed GP2XWIZSdlEventManager to GP2XSdlEventManager, and added GP2X code.
svn-id: r50542
Diffstat (limited to 'backends/graphics/gp2xwizsdl')
| -rw-r--r-- | backends/graphics/gp2xwizsdl/gp2xwizsdl-graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/graphics/gp2xwizsdl/gp2xwizsdl-graphics.cpp b/backends/graphics/gp2xwizsdl/gp2xwizsdl-graphics.cpp index 3131a7a3a9..8cb3eed083 100644 --- a/backends/graphics/gp2xwizsdl/gp2xwizsdl-graphics.cpp +++ b/backends/graphics/gp2xwizsdl/gp2xwizsdl-graphics.cpp @@ -23,10 +23,10 @@ * */ -#ifndef GP2XWIZ +#ifdef GP2XWIZ #include "backends/graphics/gp2xwizsdl/gp2xwizsdl-graphics.h" -#include "backends/events/gp2xwizsdl/gp2xwizsdl-events.h" +#include "backends/events/gp2xsdl/gp2xsdl-events.h" #include "common/mutex.h" #include "graphics/scaler/aspect.h" @@ -121,7 +121,7 @@ void GP2XWIZSdlGraphicsManager::initSize(uint w, uint h) { if (w > 320 || h > 240){ setGraphicsMode(GFX_HALF); setGraphicsModeIntern(); - ((GP2XWIZSdlEventManager *)g_system->getEventManager())->toggleMouseGrab(); + ((GP2XSdlEventManager *)g_system->getEventManager())->toggleMouseGrab(); } _transactionDetails.sizeChanged = true; |
