mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 23:26:44 +00:00
BACKENDS: Remove references to the GP32 backend
This commit is contained in:
parent
e4ff1929aa
commit
79a4e3f813
@ -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
|
||||
|
||||
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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[] =
|
||||
@ -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);
|
||||
|
@ -284,7 +284,6 @@
|
||||
#if defined(__DC__) || \
|
||||
defined(__DS__) || \
|
||||
defined(__3DS__) || \
|
||||
defined(__GP32__) || \
|
||||
defined(IPHONE) || \
|
||||
defined(__PLAYSTATION2__) || \
|
||||
defined(__PSP__) || \
|
||||
|
@ -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.
|
||||
|
||||
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user