Skip to content

Commit

Permalink
BACKENDS: Remove references to the GP32 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 authored and David Turner committed Nov 4, 2018
1 parent e4ff192 commit 79a4e3f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions audio/softsynth/opl/mame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "common/textconsole.h"
#include "common/util.h"

#if defined(_WIN32_WCE) || defined(__SYMBIAN32__) || defined(__GP32__) || defined(GP2X) || defined(__MAEMO__) || defined(__DS__) || defined(__MINT__) || defined(__N64__)
#if defined(_WIN32_WCE) || defined(__SYMBIAN32__) || defined(GP2X) || defined(__MAEMO__) || defined(__DS__) || defined(__MINT__) || defined(__N64__)
#include "common/config-manager.h"
#endif

Expand Down Expand Up @@ -1233,7 +1233,7 @@ FM_OPL *makeAdLibOPL(int rate) {
// We need to emulate one YM3812 chip
int env_bits = FMOPL_ENV_BITS_HQ;
int eg_ent = FMOPL_EG_ENT_HQ;
#if defined(_WIN32_WCE) || defined(__SYMBIAN32__) || defined(__GP32__) || defined(GP2X) || defined(__MAEMO__) || defined(__DS__) || defined(__MINT__) || defined(__N64__)
#if defined(_WIN32_WCE) || defined(__SYMBIAN32__) || defined(GP2X) || defined(__MAEMO__) || defined(__DS__) || defined(__MINT__) || defined(__N64__)
if (ConfMan.hasKey("FM_high_quality") && ConfMan.getBool("FM_high_quality")) {
env_bits = FMOPL_ENV_BITS_HQ;
eg_ent = FMOPL_EG_ENT_HQ;
Expand Down
3 changes: 1 addition & 2 deletions backends/events/symbiansdl/symbiansdl-events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ bool SymbianSdlEventSource::remapKey(SDL_Event &ev, Common::Event &event) {
ev.key.keysym.mod = (SDLMod) key.flags();

// Translate from SDL keymod event to Scummvm Key Mod Common::Event.
// This codes is also present in GP32 backend and in SDL backend as a static function
// Perhaps it should be shared.
// TODO: Make use of SdlEventSource::SDLModToOSystemKeyFlags?
if (key.flags() != 0) {
event.kbd.flags = 0;

Expand Down
4 changes: 2 additions & 2 deletions base/commandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static const char USAGE_STRING[] =
;

// DONT FIXME: DO NOT ORDER ALPHABETICALLY, THIS IS ORDERED BY IMPORTANCE/CATEGORY! :)
#if defined(__SYMBIAN32__) || defined(__GP32__) || defined(ANDROID) || defined(__DS__) || defined(__3DS__)
#if defined(__SYMBIAN32__) || defined(ANDROID) || defined(__DS__) || defined(__3DS__)
static const char HELP_STRING[] = "NoUsageString"; // save more data segment space
#else
static const char HELP_STRING[] =
Expand Down Expand Up @@ -191,7 +191,7 @@ static void usage(const char *s, ...) {
vsnprintf(buf, STRINGBUFLEN, s, va);
va_end(va);

#if !(defined(__GP32__) || defined(__SYMBIAN32__) || defined(__DS__))
#if !(defined(__SYMBIAN32__) || defined(__DS__))
printf(USAGE_STRING, s_appName, buf, s_appName, s_appName);
#endif
exit(1);
Expand Down
1 change: 0 additions & 1 deletion common/scummsys.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@
#if defined(__DC__) || \
defined(__DS__) || \
defined(__3DS__) || \
defined(__GP32__) || \
defined(IPHONE) || \
defined(__PLAYSTATION2__) || \
defined(__PSP__) || \
Expand Down
4 changes: 2 additions & 2 deletions gui/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@ void GlobalOptionsDialog::build() {
else
_pathsTabId = tab->addTab(_c("Paths", "lowres"));

#if !( defined(__DC__) || defined(__GP32__) )
#if !defined(__DC__)
// These two buttons have to be extra wide, or the text will be
// truncated in the small version of the GUI.

Expand Down Expand Up @@ -1786,7 +1786,7 @@ void GlobalOptionsDialog::build() {

OptionsDialog::build();

#if !( defined(__DC__) || defined(__GP32__) )
#if !defined(__DC__)
// Set _savePath to the current save path
Common::String savePath(ConfMan.get("savepath", _domain));
Common::String themePath(ConfMan.get("themepath", _domain));
Expand Down

0 comments on commit 79a4e3f

Please sign in to comment.