- Removed RTTI support
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7419 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
40b8db30e3
commit
beb6094708
|
@ -132,7 +132,6 @@
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@ -147,7 +146,6 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@ -164,7 +162,6 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<OpenMPSupport>
|
<OpenMPSupport>
|
||||||
</OpenMPSupport>
|
</OpenMPSupport>
|
||||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@ -179,7 +176,6 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\InputUICommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\InputUICommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@ -196,7 +192,6 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<OpenMPSupport>
|
<OpenMPSupport>
|
||||||
</OpenMPSupport>
|
</OpenMPSupport>
|
||||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
@ -211,7 +206,6 @@ xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\InputUICommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\InputUICommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets\include;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link />
|
<Link />
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "VideoConfigDiag.h"
|
#include "VideoConfigDiag.h"
|
||||||
|
|
||||||
#include <typeinfo>
|
|
||||||
#include "FileUtil.h"
|
#include "FileUtil.h"
|
||||||
#include "TextureCacheBase.h"
|
#include "TextureCacheBase.h"
|
||||||
|
|
||||||
|
@ -128,30 +127,23 @@ static void ScanLayouts(wxWindow *obj)
|
||||||
wxWindow *ctrl = node->GetData();
|
wxWindow *ctrl = node->GetData();
|
||||||
if (ctrl->IsKindOf(CLASSINFO(wxCheckBox)))
|
if (ctrl->IsKindOf(CLASSINFO(wxCheckBox)))
|
||||||
{
|
{
|
||||||
if (typeid(*ctrl) == typeid(SettingCheckBox)) // this checks the exact instance's class
|
if (((SettingCheckBox*)ctrl)->getTypeClass() == allow_3State)
|
||||||
{
|
{
|
||||||
if (((SettingCheckBox*)ctrl)->getTypeClass() == allow_3State)
|
((SettingCheckBox*)ctrl)->UpdateUIState(false);
|
||||||
{
|
((SettingCheckBox*)ctrl)->Set3StateValue(wxCHK_UNDETERMINED);
|
||||||
((SettingCheckBox*)ctrl)->UpdateUIState(false);
|
|
||||||
((SettingCheckBox*)ctrl)->Set3StateValue(wxCHK_UNDETERMINED);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ctrl->IsKindOf(CLASSINFO(wxChoice)))
|
if (ctrl->IsKindOf(CLASSINFO(wxChoice)))
|
||||||
{
|
{
|
||||||
if (typeid(*ctrl) == typeid(SettingChoice))
|
if (((SettingChoice*)ctrl)->getTypeClass() == allow_3State)
|
||||||
{
|
{
|
||||||
if (((SettingChoice*)ctrl)->getTypeClass() == allow_3State)
|
((SettingChoice*)ctrl)->UpdateUIState(false);
|
||||||
{
|
((SettingChoice*)ctrl)->Select(0);
|
||||||
((SettingChoice*)ctrl)->UpdateUIState(false);
|
|
||||||
((SettingChoice*)ctrl)->Select(0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ctrl->IsKindOf(CLASSINFO(wxRadioButton)))
|
if (ctrl->IsKindOf(CLASSINFO(wxRadioButton)))
|
||||||
{
|
{
|
||||||
if (typeid(*ctrl) == typeid(wxRadioButton))
|
ctrl->Disable();
|
||||||
ctrl->Disable();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctrl->GetChildren().GetCount() > 0)
|
if (ctrl->GetChildren().GetCount() > 0)
|
||||||
|
@ -760,7 +752,7 @@ void VideoConfigDiag::ChangeStyle()
|
||||||
CHANGE_DATAREF(ompdecoder, bOMPDecoder);
|
CHANGE_DATAREF(ompdecoder, bOMPDecoder);
|
||||||
CHANGE_DATAREF(opencl, bEnableOpenCL);
|
CHANGE_DATAREF(opencl, bEnableOpenCL);
|
||||||
CHANGE_DATAREF(crop, bCrop);
|
CHANGE_DATAREF(crop, bCrop);
|
||||||
|
/*
|
||||||
if (cur_vconfig.backend_info.PPShaders.size())
|
if (cur_vconfig.backend_info.PPShaders.size())
|
||||||
{
|
{
|
||||||
if (cur_profile == 0)
|
if (cur_profile == 0)
|
||||||
|
@ -770,7 +762,7 @@ void VideoConfigDiag::ChangeStyle()
|
||||||
|
|
||||||
choice_ppshader->GetParent()->Layout();
|
choice_ppshader->GetParent()->Layout();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
Fit(); // wraps sizes of the outer layout
|
Fit(); // wraps sizes of the outer layout
|
||||||
if (CenterCoords == this->GetScreenPosition())
|
if (CenterCoords == this->GetScreenPosition())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue