mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
GPH: Minor cleanup (and rename header from gph-sdl.h to gph.h).
This commit is contained in:
parent
fc551cf1ad
commit
428105b2d3
@ -2,6 +2,16 @@
|
||||
|
||||
echo Quick script to make building a distribution of the GP2X Wiz backend more consistent.
|
||||
|
||||
# Set the paths up here to support the build.
|
||||
|
||||
export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/arm-open2x-linux/bin:$PATH
|
||||
export PATH=/opt/open2x/gcc-4.1.1-glibc-2.3.6/bin:$PATH
|
||||
export CXX=arm-open2x-linux-g++
|
||||
export CC=arm-open2x-linux-gcc
|
||||
export CXXFLAGS=-march=armv4t
|
||||
export LDFLAGS=-static
|
||||
export ASFLAGS=-mfloat-abi=soft
|
||||
|
||||
cd ../../../..
|
||||
|
||||
echo Building ScummVM for GP2X Wiz.
|
||||
|
@ -25,10 +25,9 @@
|
||||
|
||||
#include "backends/platform/sdl/sdl-sys.h"
|
||||
|
||||
// #include "backends/platform/gph/gph-options.h"
|
||||
#include "backends/mixer/doublebuffersdl/doublebuffersdl-mixer.h"
|
||||
#include "backends/platform/gph/gph-hw.h"
|
||||
#include "backends/platform/gph/gph-sdl.h"
|
||||
#include "backends/platform/gph/gph.h"
|
||||
#include "backends/plugins/posix/posix-provider.h"
|
||||
#include "backends/saves/default/default-saves.h"
|
||||
#include "backends/timer/default/default-timer.h"
|
||||
@ -105,8 +104,9 @@ void OSystem_GPH::initBackend() {
|
||||
_savefileManager = new DefaultSaveFileManager(savePath);
|
||||
|
||||
#ifdef DUMP_STDOUT
|
||||
// The GP2X Wiz has a serial console on the breakout board but most users do not use this so we
|
||||
// output all our STDOUT and STDERR to files for debug purposes.
|
||||
// The GPH devices have a serial console on the breakout board
|
||||
// but most users do not use this so we output all our STDOUT
|
||||
// and STDERR to files for debug purposes.
|
||||
char STDOUT_FILE[PATH_MAX+1];
|
||||
char STDERR_FILE[PATH_MAX+1];
|
||||
|
||||
@ -169,9 +169,6 @@ void OSystem_GPH::initBackend() {
|
||||
/* Make sure SDL knows that we have a joystick we want to use. */
|
||||
ConfMan.setInt("joystick_num", 0);
|
||||
|
||||
/* Now setup any device specific user options (Left handed mode, that sort of thing). */
|
||||
// GPH::setOptions();
|
||||
|
||||
/* Pass to POSIX method to do the heavy lifting */
|
||||
OSystem_POSIX::initBackend();
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "backends/platform/gph/gph-sdl.h"
|
||||
#include "backends/platform/gph/gph.h"
|
||||
#include "backends/plugins/posix/posix-provider.h"
|
||||
#include "base/main.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user