1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-29 15:22:15 +00:00

ro: double whoops

This commit is contained in:
Michael Scire 2021-10-05 12:40:58 -07:00
parent 306f413874
commit d9159f81d2

View file

@ -62,6 +62,7 @@ namespace ams::ro::impl {
}
/* Return the address. */
return address;
}
}
@ -134,7 +135,7 @@ namespace ams::ro::impl {
/* ... */
}
MappedCodeMemory(svc::Handle handle, u64 dst, u64 src, u64 size) : m_handle(handle), m_dst_address(dst), m_src_address(src), m_size(size) {
MappedCodeMemory(os::NativeHandle handle, u64 dst, u64 src, u64 size) : m_handle(handle), m_dst_address(dst), m_src_address(src), m_size(size) {
m_result = svc::MapProcessCodeMemory(m_handle, m_dst_address, m_src_address, m_size);
}