2013-04-18 03:29:41 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// 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;
|
|
|
|
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;
|