settings: Add cpu backend setting
This commit is contained in:
parent
f2a8409083
commit
15331c2a60
3 changed files with 17 additions and 0 deletions
|
@ -41,6 +41,7 @@ SWITCHABLE(AspectRatio, true);
|
|||
SWITCHABLE(AstcDecodeMode, true);
|
||||
SWITCHABLE(AstcRecompression, true);
|
||||
SWITCHABLE(AudioMode, true);
|
||||
SWITCHABLE(CpuBackend, true);
|
||||
SWITCHABLE(CpuAccuracy, true);
|
||||
SWITCHABLE(FullscreenMode, true);
|
||||
SWITCHABLE(GpuAccuracy, true);
|
||||
|
@ -155,6 +156,10 @@ bool IsFastmemEnabled() {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool IsNceEnabled(bool is_64bit) {
|
||||
return values.cpu_backend.GetValue() == CpuBackend::Nce && is_64bit;
|
||||
}
|
||||
|
||||
bool IsDockedMode() {
|
||||
return values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue