2013-04-18 05:29:41 +02:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2014-02-10 19:54:46 +01:00
|
|
|
#pragma once
|
2010-06-09 03:37:08 +02:00
|
|
|
|
|
|
|
#include "Common.h"
|
|
|
|
|
|
|
|
#define STATISTICS 1
|
|
|
|
|
|
|
|
// NEVER inherit from this class.
|
2011-01-28 19:39:30 +01:00
|
|
|
struct SWVideoConfig : NonCopyable
|
2010-06-09 03:37:08 +02:00
|
|
|
{
|
2013-04-14 05:54:02 +02:00
|
|
|
SWVideoConfig();
|
|
|
|
void Load(const char* ini_file);
|
|
|
|
void Save(const char* ini_file);
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2013-04-14 05:54:02 +02:00
|
|
|
// General
|
|
|
|
bool bFullscreen;
|
|
|
|
bool bHideCursor;
|
2013-10-29 06:23:17 +01:00
|
|
|
bool renderToMainframe;
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2010-12-02 06:38:48 +01:00
|
|
|
bool bHwRasterizer;
|
2013-11-23 08:04:37 +01:00
|
|
|
bool bBypassXFB;
|
2010-12-02 06:38:48 +01:00
|
|
|
|
2013-02-15 17:44:56 +01:00
|
|
|
// Emulation features
|
|
|
|
bool bZComploc;
|
|
|
|
bool bZFreeze;
|
|
|
|
|
2013-04-14 05:54:02 +02:00
|
|
|
bool bShowStats;
|
2010-12-02 06:38:48 +01:00
|
|
|
|
2013-04-14 05:54:02 +02:00
|
|
|
bool bDumpTextures;
|
|
|
|
bool bDumpObjects;
|
|
|
|
bool bDumpFrames;
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2010-12-02 06:38:48 +01:00
|
|
|
// Debug only
|
2013-04-14 05:54:02 +02:00
|
|
|
bool bDumpTevStages;
|
2010-12-02 06:38:48 +01:00
|
|
|
bool bDumpTevTextureFetches;
|
2010-06-09 03:37:08 +02:00
|
|
|
|
2013-04-14 05:54:02 +02:00
|
|
|
u32 drawStart;
|
|
|
|
u32 drawEnd;
|
2010-06-09 03:37:08 +02:00
|
|
|
};
|
|
|
|
|
2011-01-29 05:52:19 +01:00
|
|
|
extern SWVideoConfig g_SWVideoConfig;
|