diff options
| author | degasus <wickmarkus@web.de> | 2016-01-13 21:38:11 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-06-26 12:34:59 +0200 |
| commit | 5f2f4620676198bb63eeb169358435037491d4ad (patch) | |
| tree | 245aecd3d762973bd42104c271390ccbd9ef9827 /Source/Core/VideoCommon/MainBase.cpp | |
| parent | 7833ff25df5cb3bf10b363d30d7af8007094454a (diff) | |
VideoBackends: Merge ShowConfig functions.
Diffstat (limited to 'Source/Core/VideoCommon/MainBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/MainBase.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/MainBase.cpp b/Source/Core/VideoCommon/MainBase.cpp index a084e0cc09..c51515eb89 100644 --- a/Source/Core/VideoCommon/MainBase.cpp +++ b/Source/Core/VideoCommon/MainBase.cpp @@ -9,6 +9,7 @@ #include "Common/Event.h" #include "Common/Flag.h" #include "Common/Logging/Log.h" +#include "Core/ConfigManager.h" #include "Core/Host.h" #include "VideoCommon/AsyncRequests.h" #include "VideoCommon/BPStructs.h" @@ -157,6 +158,14 @@ u16 VideoBackendBase::Video_GetBoundingBox(int index) return result; } +void VideoBackendBase::ShowConfig(void* parent_handle) +{ + if (!m_initialized) + InitBackendInfo(); + + Host_ShowVideoConfig(parent_handle, GetDisplayName(), GetConfigName()); +} + void VideoBackendBase::InitializeShared() { memset(&g_main_cp_state, 0, sizeof(g_main_cp_state)); |
