device_memory: Enable direct mapped addresses for nce
This commit is contained in:
parent
2e02efbdd0
commit
4838837620
5 changed files with 21 additions and 8 deletions
|
@ -156,8 +156,14 @@ bool IsFastmemEnabled() {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool IsNceEnabled(bool is_64bit) {
|
||||
return values.cpu_backend.GetValue() == CpuBackend::Nce && is_64bit;
|
||||
static bool is_nce_enabled = false;
|
||||
|
||||
void SetNceEnabled(bool is_64bit) {
|
||||
is_nce_enabled = values.cpu_backend.GetValue() == CpuBackend::Nce && is_64bit;
|
||||
}
|
||||
|
||||
bool IsNceEnabled() {
|
||||
return is_nce_enabled;
|
||||
}
|
||||
|
||||
bool IsDockedMode() {
|
||||
|
|
|
@ -573,7 +573,8 @@ bool IsGPULevelExtreme();
|
|||
bool IsGPULevelHigh();
|
||||
|
||||
bool IsFastmemEnabled();
|
||||
bool IsNceEnabled(bool is_64bit = true);
|
||||
void SetNceEnabled(bool is_64bit);
|
||||
bool IsNceEnabled();
|
||||
|
||||
bool IsDockedMode();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue