mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
8b2c540544
This adds xfb support to the videosoftware backend, which increases it's accuracy and more imporantly, enables the usage of many homebrew apps which write directly to the xfb on the videosoftware backend. Conflicts: Source/Core/VideoBackends/Software/SWRenderer.cpp Source/Core/VideoBackends/Software/SWmain.cpp
48 lines
809 B
C
48 lines
809 B
C
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#ifndef _VIDEOSOFTWARE_CONFIG_H_
|
|
#define _VIDEOSOFTWARE_CONFIG_H_
|
|
|
|
#include "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;
|
|
bool bDumpFrames;
|
|
|
|
// Debug only
|
|
bool bDumpTevStages;
|
|
bool bDumpTevTextureFetches;
|
|
|
|
u32 drawStart;
|
|
u32 drawEnd;
|
|
};
|
|
|
|
extern SWVideoConfig g_SWVideoConfig;
|
|
|
|
#endif // _VIDEOSOFTWARE_CONFIG_H_
|