mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-21 03:40:13 +02:00
2026-09-17 05:45:29
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
1203082a8f
commit
4b03ec072f
3 changed files with 7 additions and 3 deletions
|
|
@ -649,10 +649,10 @@ struct Values {
|
|||
|
||||
SwitchableSetting<bool> fix_bloom_effects{linkage, false, "fix_bloom_effects",
|
||||
Category::RendererHacks};
|
||||
|
||||
#ifdef __ANDROID__
|
||||
SwitchableSetting<bool> emulate_bgr565{linkage, false, "emulate_bgr565",
|
||||
Category::RendererHacks};
|
||||
|
||||
#endif
|
||||
SwitchableSetting<bool> rescale_hack{linkage, false, "rescale_hack",
|
||||
Category::RendererHacks};
|
||||
SwitchableSetting<bool> enable_gpu_buffer_readback{linkage,
|
||||
|
|
|
|||
|
|
@ -993,7 +993,11 @@ bool Device::HasTimelineSemaphore() const {
|
|||
}
|
||||
|
||||
bool Device::MustEmulateBGR565() const {
|
||||
#ifdef __ANDROID__
|
||||
return Settings::values.emulate_bgr565.GetValue();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Device::GetSuitability(bool requires_swapchain) {
|
||||
|
|
|
|||
|
|
@ -774,7 +774,7 @@ Builder::~Builder() = default;
|
|||
|
||||
static bool IsAndroidOnly(const Settings::BasicSetting& setting) {
|
||||
const std::string& label = setting.GetLabel();
|
||||
return label.starts_with("frame_gen") || label == "emulate_bgr565";
|
||||
return label.starts_with("frame_gen");
|
||||
}
|
||||
|
||||
Widget* Builder::BuildWidget(Settings::BasicSetting* setting,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue