mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-05 22:08:57 +02:00
CPU: Add low-power PPTC load mode.
* Specifically, this setting causes the translation load core count to get reduced by two-thirds, for lower-power but still fast loading, and for unstable CPUs. I18n: Move low-power PPTC strings into translation files & add german version.
This commit is contained in:
committed by
KeatonTheBot
parent
e07163600f
commit
5764d72b0e
@@ -12,16 +12,9 @@ namespace Ryujinx.Input.SDL2
|
||||
{
|
||||
class SDL2Keyboard : IKeyboard
|
||||
{
|
||||
private class ButtonMappingEntry
|
||||
private readonly record struct ButtonMappingEntry(GamepadButtonInputId To, Key From)
|
||||
{
|
||||
public readonly GamepadButtonInputId To;
|
||||
public readonly Key From;
|
||||
|
||||
public ButtonMappingEntry(GamepadButtonInputId to, Key from)
|
||||
{
|
||||
To = to;
|
||||
From = from;
|
||||
}
|
||||
public bool IsValid => To is not GamepadButtonInputId.Unbound && From is not Key.Unbound;
|
||||
}
|
||||
|
||||
private readonly object _userMappingLock = new();
|
||||
|
||||
Reference in New Issue
Block a user