mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
* GUI Video-Settings changes:
- Removed recent ghanges about separate per-game Video Settings - Added "One Window 3-State Support" (very close to full implementation) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7391 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -16,7 +16,6 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
#include "VideoBackendBase.h"
|
||||
#include "../../VideoCommon/Src/VideoConfig.h"
|
||||
|
||||
// TODO: ugly
|
||||
#ifdef _WIN32
|
||||
@ -74,13 +73,3 @@ void VideoBackend::ActivateBackend(const std::string& name)
|
||||
if (name == (*it)->GetName())
|
||||
g_video_backend = *it;
|
||||
}
|
||||
|
||||
void VideoBackend::LoadConfig()
|
||||
{
|
||||
g_Config.Load(((File::GetUserPath(D_CONFIG_IDX) + ini_name) + ".ini").c_str());
|
||||
}
|
||||
|
||||
void VideoBackend::SaveConfig()
|
||||
{
|
||||
g_Config.Save(((File::GetUserPath(D_CONFIG_IDX) + ini_name) + ".ini").c_str());
|
||||
}
|
||||
|
@ -83,10 +83,6 @@ struct SCPFifoStruct
|
||||
class VideoBackend
|
||||
{
|
||||
public:
|
||||
const char* const ini_name;
|
||||
|
||||
VideoBackend(const char* _ini_name) : ini_name(_ini_name) {}
|
||||
|
||||
virtual ~VideoBackend() {}
|
||||
|
||||
virtual void EmuStateChange(EMUSTATE_CHANGE) = 0;
|
||||
@ -131,9 +127,6 @@ public:
|
||||
virtual writeFn16 Video_PEWrite16() = 0;
|
||||
virtual writeFn32 Video_PEWrite32() = 0;
|
||||
|
||||
void LoadConfig();
|
||||
void SaveConfig();
|
||||
|
||||
static void PopulateList();
|
||||
static void ClearList();
|
||||
static void ActivateBackend(const std::string& name);
|
||||
@ -145,9 +138,6 @@ extern VideoBackend* g_video_backend;
|
||||
// inherited by dx9/dx11/ogl backends
|
||||
class VideoBackendHardware : public VideoBackend
|
||||
{
|
||||
protected:
|
||||
VideoBackendHardware(const char* _ini_name) : VideoBackend(_ini_name) {}
|
||||
|
||||
void DoState(PointerWrap &p);
|
||||
void RunLoop(bool enable);
|
||||
|
||||
|
Reference in New Issue
Block a user