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/
|
|
|
|
|
|
|
|
// Official SVN repository and contact information can be found at
|
|
|
|
// 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
|
|
|
{
|
2011-01-28 18:39:30 +00:00
|
|
|
SWVideoConfig();
|
2010-12-02 05:38:48 +00:00
|
|
|
void Load(const char* ini_file);
|
|
|
|
void Save(const char* ini_file);
|
2010-06-09 01:37:08 +00:00
|
|
|
|
|
|
|
// General
|
|
|
|
bool bFullscreen;
|
|
|
|
bool bHideCursor;
|
|
|
|
bool renderToMainframe;
|
|
|
|
|
2010-12-02 05:38:48 +00:00
|
|
|
bool bHwRasterizer;
|
|
|
|
|
2010-06-09 01:37:08 +00:00
|
|
|
bool bShowStats;
|
2010-12-02 05:38:48 +00:00
|
|
|
|
2010-06-09 01:37:08 +00:00
|
|
|
bool bDumpTextures;
|
|
|
|
bool bDumpObjects;
|
|
|
|
bool bDumpFrames;
|
|
|
|
|
2010-12-02 05:38:48 +00:00
|
|
|
// Debug only
|
|
|
|
bool bDumpTevStages;
|
|
|
|
bool bDumpTevTextureFetches;
|
2010-06-09 01:37:08 +00:00
|
|
|
|
|
|
|
u32 drawStart;
|
|
|
|
u32 drawEnd;
|
|
|
|
};
|
|
|
|
|
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_
|