2010-06-09 01:37:08 +00:00
|
|
|
// Copyright (C) 2003-2009 Dolphin Project.
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, version 2.0.
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
// Official Git repository and contact information can be found at
|
2010-06-09 01:37:08 +00:00
|
|
|
// http://code.google.com/p/dolphin-emu/
|
|
|
|
|
2011-02-14 02:18:03 +00:00
|
|
|
#ifndef _VIDEOSOFTWARE_CONFIG_H_
|
|
|
|
#define _VIDEOSOFTWARE_CONFIG_H_
|
2010-06-09 01:37:08 +00:00
|
|
|
|
|
|
|
#include "Common.h"
|
|
|
|
|
|
|
|
#define STATISTICS 1
|
|
|
|
|
|
|
|
// NEVER inherit from this class.
|
2011-01-28 18:39:30 +00:00
|
|
|
struct SWVideoConfig : NonCopyable
|
2010-06-09 01:37:08 +00:00
|
|
|
{
|
2013-04-14 03:54:02 +00:00
|
|
|
SWVideoConfig();
|
|
|
|
void Load(const char* ini_file);
|
|
|
|
void Save(const char* ini_file);
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
// General
|
|
|
|
bool bFullscreen;
|
|
|
|
bool bHideCursor;
|
|
|
|
bool renderToMainframe;
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2010-12-02 05:38:48 +00:00
|
|
|
bool bHwRasterizer;
|
|
|
|
|
2013-02-15 16:44:56 +00:00
|
|
|
// Emulation features
|
|
|
|
bool bZComploc;
|
|
|
|
bool bZFreeze;
|
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
bool bShowStats;
|
2010-12-02 05:38:48 +00:00
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
bool bDumpTextures;
|
|
|
|
bool bDumpObjects;
|
|
|
|
bool bDumpFrames;
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2010-12-02 05:38:48 +00:00
|
|
|
// Debug only
|
2013-04-14 03:54:02 +00:00
|
|
|
bool bDumpTevStages;
|
2010-12-02 05:38:48 +00:00
|
|
|
bool bDumpTevTextureFetches;
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2013-04-14 03:54:02 +00:00
|
|
|
u32 drawStart;
|
|
|
|
u32 drawEnd;
|
2010-06-09 01:37:08 +00:00
|
|
|
};
|
|
|
|
|
2011-01-29 04:52:19 +00:00
|
|
|
extern SWVideoConfig g_SWVideoConfig;
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2011-02-14 02:18:03 +00:00
|
|
|
#endif // _VIDEOSOFTWARE_CONFIG_H_
|