mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-04 00:22:15 +02:00
mmu: Fix loop index variable name in mmio_get_device_address
This commit is contained in:
parent
5d97ac48f2
commit
33bd43610c
@ -221,7 +221,7 @@ static const struct {
|
||||
|
||||
static inline uintptr_t mmio_get_device_address(unsigned int device_id) {
|
||||
size_t offset = 0;
|
||||
for(unsigned int i = 0; i < devid; i++) {
|
||||
for(unsigned int i = 0; i < device_id; i++) {
|
||||
offset += devices[i].size;
|
||||
offset += 0x1000; /* guard page */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user