mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-07 05:52:32 -07:00
general: Write buffers before pushing raw arguments
For consistency with the rest of the service implementations
This commit is contained in:
@@ -104,9 +104,10 @@ void GetKeyCodeMapImpl(Kernel::HLERequestContext& ctx) {
|
||||
layout = key_code->second;
|
||||
}
|
||||
|
||||
ctx.WriteBuffer(layout);
|
||||
|
||||
IPC::ResponseBuilder rb{ctx, 2};
|
||||
rb.Push(RESULT_SUCCESS);
|
||||
ctx.WriteBuffer(layout);
|
||||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
|
Reference in New Issue
Block a user