mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Move more stuff out of Globals.h in gl plugin. Changed gl plugin precompiled header to a new stdafx.h, you may have to Build->Clean after updating to this rev.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@940 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -15,11 +15,12 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
// several global utilities not really tied to core emulation
|
||||
// This file should DIE.
|
||||
|
||||
#ifndef _GLOBALS_H
|
||||
#define _GLOBALS_H
|
||||
|
||||
//#define LOGGING
|
||||
// #define LOGGING
|
||||
|
||||
#include "Common.h"
|
||||
#include "x64Emitter.h"
|
||||
@ -36,49 +37,6 @@
|
||||
#define DEBUG_LOG(...)
|
||||
#endif
|
||||
|
||||
#define CONF_LOG 1
|
||||
#define CONF_PRIMLOG 2
|
||||
#define CONF_SAVETEXTURES 4
|
||||
#define CONF_SAVETARGETS 8
|
||||
#define CONF_SAVESHADERS 16
|
||||
|
||||
struct Config
|
||||
{
|
||||
Config();
|
||||
void Load();
|
||||
void Save();
|
||||
|
||||
//video
|
||||
bool bFullscreen;
|
||||
bool renderToMainframe;
|
||||
char iFSResolution[16];
|
||||
char iWindowedRes[16];
|
||||
int iMultisampleMode;
|
||||
|
||||
bool bForceFiltering;
|
||||
bool bForceMaxAniso;
|
||||
bool bStretchToFit;
|
||||
bool bKeepAR;
|
||||
bool bShowFPS;
|
||||
|
||||
bool bTexFmtOverlayEnable;
|
||||
bool bTexFmtOverlayCenter;
|
||||
bool bOverlayStats;
|
||||
bool bUseXFB;
|
||||
bool bDumpTextures;
|
||||
char texDumpPath[280];
|
||||
|
||||
int iLog; // CONF_ bits
|
||||
int iSaveTargetId;
|
||||
|
||||
//currently unused:
|
||||
int iCompileDLsLevel;
|
||||
bool bWireFrame;
|
||||
bool bShowShaderErrors;
|
||||
};
|
||||
|
||||
extern Config g_Config;
|
||||
|
||||
void DebugLog(const char* _fmt, ...);
|
||||
void __Log(const char *format, ...);
|
||||
void __Log(int type, const char *format, ...);
|
||||
|
Reference in New Issue
Block a user