summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index be916e76a..9d83d03d6 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -59,16 +59,16 @@ void Process::ParseKernelCaps(const u32* kernel_caps, size_t len) {
59 u32 end_desc = kernel_caps[i+1]; 59 u32 end_desc = kernel_caps[i+1];
60 ++i; // Skip over the second descriptor on the next iteration 60 ++i; // Skip over the second descriptor on the next iteration
61 61
62 StaticAddressMapping mapping; 62 AddressMapping mapping;
63 mapping.address = descriptor << 12; 63 mapping.address = descriptor << 12;
64 mapping.size = (end_desc << 12) - mapping.address; 64 mapping.size = (end_desc << 12) - mapping.address;
65 mapping.writable = descriptor & BIT(20); 65 mapping.writable = descriptor & BIT(20);
66 mapping.unk_flag = end_desc & BIT(20); 66 mapping.unk_flag = end_desc & BIT(20);
67 67
68 static_address_mappings.push_back(mapping); 68 address_mappings.push_back(mapping);
69 } else if ((type & 0xFFF) == 0xFFE) { // 0x000F 69 } else if ((type & 0xFFF) == 0xFFE) { // 0x000F
70 // Mapped memory page 70 // Mapped memory page
71 StaticAddressMapping mapping; 71 AddressMapping mapping;
72 mapping.address = descriptor << 12; 72 mapping.address = descriptor << 12;
73 mapping.size = Memory::PAGE_SIZE; 73 mapping.size = Memory::PAGE_SIZE;
74 mapping.writable = true; // TODO: Not sure if correct 74 mapping.writable = true; // TODO: Not sure if correct