mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-02 06:06:24 +00:00
Fix mac build
This commit is contained in:
parent
2657f1bd9e
commit
cf8fb7137d
@ -838,7 +838,7 @@ u32 sceMpegRingbufferPut(u32 ringbufferAddr, u32 numPackets, u32 available)
|
||||
if (ringbuffer.callback_addr) {
|
||||
PostPutAction *action = (PostPutAction *) __KernelCreateAction(actionPostPut);
|
||||
action->setRingAddr(ringbufferAddr);
|
||||
u32 args[3] = {ringbuffer.data, numPackets, ringbuffer.callback_args};
|
||||
u32 args[3] = {(u32)ringbuffer.data, numPackets, (u32)ringbuffer.callback_args};
|
||||
__KernelDirectMipsCall(ringbuffer.callback_addr, action, false, args, 3, false);
|
||||
} else {
|
||||
ERROR_LOG(HLE, "sceMpegRingbufferPut: callback_addr zero");
|
||||
|
Loading…
Reference in New Issue
Block a user