mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
disable hacked buffer option for d3d
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
|
||||
#include "ConfigManager.h"
|
||||
#include "VideoConfig.h"
|
||||
#include "Core.h"
|
||||
|
||||
#include <wx/wx.h>
|
||||
#include <wx/textctrl.h>
|
||||
@ -165,6 +166,9 @@ protected:
|
||||
// XFB
|
||||
virtual_xfb->Enable(vconfig.bUseXFB);
|
||||
real_xfb->Enable(vconfig.bUseXFB);
|
||||
|
||||
// OGL Hacked buffer
|
||||
hacked_buffer_upload->Enable(Core::GetState() == Core::CORE_UNINITIALIZED && vconfig.backend_info.APIType == API_OPENGL);
|
||||
|
||||
ev.Skip();
|
||||
}
|
||||
@ -194,6 +198,7 @@ protected:
|
||||
SettingRadioButton* efbcopy_ram;
|
||||
SettingCheckBox* cache_efb_copies;
|
||||
SettingCheckBox* emulate_efb_format_changes;
|
||||
SettingCheckBox* hacked_buffer_upload;
|
||||
|
||||
SettingRadioButton* virtual_xfb;
|
||||
SettingRadioButton* real_xfb;
|
||||
|
Reference in New Issue
Block a user