44 lines
724 B
C
44 lines
724 B
C
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Common/CommonTypes.h"
|
|
#include "Common/NonCopyable.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 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;
|