mirror of
https://github.com/reswitched/Mephisto.git
synced 2024-06-22 22:31:41 -04:00
fix IPC domain response header
This commit is contained in:
parent
e7792e5319
commit
6081adccfa
4
Ipc.cpp
4
Ipc.cpp
|
@ -129,8 +129,10 @@ void OutgoingIpcMessage::initialize(uint _moveCount, uint _copyCount, uint dataB
|
|||
auto start = pos;
|
||||
if(pos & 3)
|
||||
pos += 4 - (pos & 3);
|
||||
if(isDomainObject)
|
||||
if(isDomainObject) {
|
||||
buf[pos] = moveCount;
|
||||
pos += 4;
|
||||
}
|
||||
realDataOffset = isDomainObject ? moveCount << 2 : 0;
|
||||
auto dataWords = (realDataOffset >> 2) + (dataBytes & 3) ? (dataBytes >> 2) + 1 : (dataBytes >> 2);
|
||||
|
||||
|
|
Loading…
Reference in a new issue