mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
Move gDebugLevel to common/util.cpp (where most other debug() related stuff already is)
svn-id: r21551
This commit is contained in:
parent
2fd027846e
commit
32de344111
@ -143,14 +143,6 @@ const char *gScummVMFeatures = ""
|
||||
#endif
|
||||
;
|
||||
|
||||
/**
|
||||
* The debug level. Initially set to -1, indicating that no debug output
|
||||
* should be shown. Positive values usually imply an increasing number of
|
||||
* debug output shall be generated, the higher the value, the more verbose the
|
||||
* information (although the exact semantics are up to the engines).
|
||||
*/
|
||||
int gDebugLevel = -1;
|
||||
|
||||
static void setupDummyPalette(OSystem &system) {
|
||||
// FIXME - mouse cursors are currently always set via 8 bit data.
|
||||
// Thus for now we need to setup a dummy palette. On the long run, we might
|
||||
|
@ -341,6 +341,18 @@ const Array<EngineDebugLevel> &listSpecialDebugLevels() {
|
||||
|
||||
} // End of namespace Common
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* The debug level. Initially set to -1, indicating that no debug output
|
||||
* should be shown. Positive values usually imply an increasing number of
|
||||
* debug output shall be generated, the higher the value, the more verbose the
|
||||
* information (although the exact semantics are up to the engines).
|
||||
*/
|
||||
int gDebugLevel = -1;
|
||||
|
||||
|
||||
|
||||
static void debugHelper(char *buf, bool caret = true) {
|
||||
#ifndef _WIN32_WCE
|
||||
if (caret)
|
||||
|
Loading…
Reference in New Issue
Block a user