Tiny commit. Just re-added 3D Vision to the config dialog. Hope nobody minds, I made sure it gets greyed out and all that. Sorry about my lack of commits, got another ongoing project that's gotten me a bit hooked.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6471 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2808f75f74
commit
ebe5472e1d
|
@ -45,6 +45,7 @@ VideoConfig::VideoConfig()
|
||||||
backend_info.bUseRGBATextures = false;
|
backend_info.bUseRGBATextures = false;
|
||||||
backend_info.bSupportsEFBToRAM = false;
|
backend_info.bSupportsEFBToRAM = false;
|
||||||
backend_info.bSupportsRealXFB = false;
|
backend_info.bSupportsRealXFB = false;
|
||||||
|
backend_info.bSupports3DVision = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoConfig::Load(const char *ini_file)
|
void VideoConfig::Load(const char *ini_file)
|
||||||
|
|
|
@ -155,6 +155,7 @@ struct VideoConfig
|
||||||
bool bUseRGBATextures; // used for D3D11 in TextureCache
|
bool bUseRGBATextures; // used for D3D11 in TextureCache
|
||||||
bool bSupportsEFBToRAM;
|
bool bSupportsEFBToRAM;
|
||||||
bool bSupportsRealXFB;
|
bool bSupportsRealXFB;
|
||||||
|
bool bSupports3DVision;
|
||||||
bool bAllowSignedBytes; // D3D9 doesn't support signed bytes (?)
|
bool bAllowSignedBytes; // D3D9 doesn't support signed bytes (?)
|
||||||
} backend_info;
|
} backend_info;
|
||||||
};
|
};
|
||||||
|
|
|
@ -159,6 +159,16 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
|
||||||
szr_enh->Add(new SettingCheckBox(page_general, wxT("EFB Scaled Copy"), vconfig.bCopyEFBScaled));
|
szr_enh->Add(new SettingCheckBox(page_general, wxT("EFB Scaled Copy"), vconfig.bCopyEFBScaled));
|
||||||
szr_enh->Add(new SettingCheckBox(page_general, wxT("Pixel Lighting"), vconfig.bEnablePixelLigting));
|
szr_enh->Add(new SettingCheckBox(page_general, wxT("Pixel Lighting"), vconfig.bEnablePixelLigting));
|
||||||
szr_enh->Add(new SettingCheckBox(page_general, wxT("Force Bi/Trilinear Filtering"), vconfig.bForceFiltering));
|
szr_enh->Add(new SettingCheckBox(page_general, wxT("Force Bi/Trilinear Filtering"), vconfig.bForceFiltering));
|
||||||
|
|
||||||
|
SettingCheckBox* enable_3dVision = new SettingCheckBox(page_general, wxT("3D Vision (Requires Fullscreen)"), vconfig.b3DVision);
|
||||||
|
|
||||||
|
if (!vconfig.backend_info.bSupports3DVision)
|
||||||
|
{
|
||||||
|
enable_3dVision->Disable();
|
||||||
|
}
|
||||||
|
|
||||||
|
szr_enh->Add(enable_3dVision);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// - EFB
|
// - EFB
|
||||||
|
|
|
@ -153,6 +153,7 @@ void InitBackendInfo()
|
||||||
g_Config.backend_info.bUseRGBATextures = true; // the GX formats barely match any D3D11 formats
|
g_Config.backend_info.bUseRGBATextures = true; // the GX formats barely match any D3D11 formats
|
||||||
g_Config.backend_info.bSupportsEFBToRAM = false;
|
g_Config.backend_info.bSupportsEFBToRAM = false;
|
||||||
g_Config.backend_info.bSupportsRealXFB = false;
|
g_Config.backend_info.bSupportsRealXFB = false;
|
||||||
|
g_Config.backend_info.bSupports3DVision = false;
|
||||||
g_Config.backend_info.bAllowSignedBytes = true;
|
g_Config.backend_info.bAllowSignedBytes = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -161,6 +161,7 @@ void InitBackendInfo()
|
||||||
g_Config.backend_info.bUseRGBATextures = true;
|
g_Config.backend_info.bUseRGBATextures = true;
|
||||||
g_Config.backend_info.bSupportsEFBToRAM = true;
|
g_Config.backend_info.bSupportsEFBToRAM = true;
|
||||||
g_Config.backend_info.bSupportsRealXFB = true;
|
g_Config.backend_info.bSupportsRealXFB = true;
|
||||||
|
g_Config.backend_info.bSupports3DVision = true;
|
||||||
g_Config.backend_info.bAllowSignedBytes = false;
|
g_Config.backend_info.bAllowSignedBytes = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -169,6 +169,7 @@ void InitBackendInfo()
|
||||||
g_Config.backend_info.bUseRGBATextures = false;
|
g_Config.backend_info.bUseRGBATextures = false;
|
||||||
g_Config.backend_info.bSupportsEFBToRAM = true;
|
g_Config.backend_info.bSupportsEFBToRAM = true;
|
||||||
g_Config.backend_info.bSupportsRealXFB = true;
|
g_Config.backend_info.bSupportsRealXFB = true;
|
||||||
|
g_Config.backend_info.bSupports3DVision = false;
|
||||||
g_Config.backend_info.bAllowSignedBytes = true;
|
g_Config.backend_info.bAllowSignedBytes = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue