mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 20:15:04 +00:00
Add buffer pointer header
This commit is contained in:
parent
e0d59dc568
commit
e0d6c79380
1 changed files with 4 additions and 0 deletions
|
@ -6,4 +6,8 @@ namespace IPC {
|
|||
// TODO: Maybe validate the response count stuff fits in 6 bits
|
||||
return (commandID << 16) | (normalResponses << 6) | translateResponses;
|
||||
}
|
||||
|
||||
constexpr std::uint32_t pointerHeader(std::uint32_t index, std::uint32_t size) {
|
||||
return (size << 14) | (index << 10) | 2;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue