mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-15 01:35:46 +00:00
Memory Changes part 2 (ryubing/ryujinx!123)
See merge request ryubing/ryujinx!123
This commit is contained in:
@@ -62,10 +62,10 @@ namespace Ryujinx.HLE.UI.Input
|
||||
|
||||
public void Update(bool supressEvents = false)
|
||||
{
|
||||
ref Array10<NpadState> npads = ref _device.Hid.SharedMemory.Npads;
|
||||
int npadsCount = _device.Hid.SharedMemory.Npads.Length;
|
||||
|
||||
// Process each input individually.
|
||||
for (int npadIndex = 0; npadIndex < npads.Length; npadIndex++)
|
||||
for (int npadIndex = 0; npadIndex < npadsCount; npadIndex++)
|
||||
{
|
||||
UpdateNpad(npadIndex, supressEvents);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user