mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-26 11:18:14 +00:00
common: Enforce fastmem for nce usage
This commit is contained in:
parent
263b7a44f9
commit
c37b5f431f
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ static bool is_nce_enabled = false;
|
||||||
|
|
||||||
void SetNceEnabled(bool is_39bit) {
|
void SetNceEnabled(bool is_39bit) {
|
||||||
const bool is_nce_selected = values.cpu_backend.GetValue() == CpuBackend::Nce;
|
const bool is_nce_selected = values.cpu_backend.GetValue() == CpuBackend::Nce;
|
||||||
is_nce_enabled = is_nce_selected && is_39bit;
|
is_nce_enabled = IsFastmemEnabled() && is_nce_selected && is_39bit;
|
||||||
if (is_nce_selected && !is_nce_enabled) {
|
if (is_nce_selected && !is_nce_enabled) {
|
||||||
LOG_WARNING(
|
LOG_WARNING(
|
||||||
Common,
|
Common,
|
||||||
|
|
Loading…
Reference in a new issue