2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 03:29:41 +00:00
|
|
|
// Refer to the license.txt file included.
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2014-09-19 04:17:41 +00:00
|
|
|
#include "Common/Common.h"
|
2010-06-09 01:37:08 +00:00
|
|
|
|
|
|
|
#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;
|
2013-10-29 05:23:17 +00:00
|
|
|
bool renderToMainframe;
|
2010-06-09 01:37:08 +00:00
|
|
|
|
2010-12-02 05:38:48 +00:00
|
|
|
bool bHwRasterizer;
|
2013-11-23 07:04:37 +00:00
|
|
|
bool bBypassXFB;
|
2010-12-02 05:38:48 +00:00
|
|
|
|
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;
|
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;
|