summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWVideoConfig.h
blob: cd3ec9f0c3e435bdc14e670b4e8aa66c90a20875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include "Common/Common.h"

#define STATISTICS 1

// NEVER inherit from this class.
struct SWVideoConfig : NonCopyable
{
	SWVideoConfig();
	void Load(const char* ini_file);
	void Save(const char* ini_file);

	// General
	bool bFullscreen;
	bool bHideCursor;
	bool renderToMainframe;

	bool bHwRasterizer;
	bool bBypassXFB;

	// Emulation features
	bool bZComploc;
	bool bZFreeze;

	bool bShowStats;

	bool bDumpTextures;
	bool bDumpObjects;

	// Debug only
	bool bDumpTevStages;
	bool bDumpTevTextureFetches;

	u32 drawStart;
	u32 drawEnd;
};

extern SWVideoConfig g_SWVideoConfig;