mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix memcpy not found on Android.
This commit is contained in:
parent
e9564caaab
commit
d1a16d0a12
|
@ -1,5 +1,6 @@
|
|||
#include <assert.h>
|
||||
#include <memory.h>
|
||||
#include <cstring>
|
||||
#include "N64.h"
|
||||
#include "RSP.h"
|
||||
#include "RDP.h"
|
||||
|
@ -577,7 +578,7 @@ void RDP_ProcessRDPList()
|
|||
}
|
||||
|
||||
if (RDP.cmd_cur + CmdLength[cmd] / 4 > MAXCMD)
|
||||
memcpy(RDP.cmd_data + MAXCMD, RDP.cmd_data, CmdLength[cmd] - (MAXCMD - RDP.cmd_cur) * 4);
|
||||
::memcpy(RDP.cmd_data + MAXCMD, RDP.cmd_data, CmdLength[cmd] - (MAXCMD - RDP.cmd_cur) * 4);
|
||||
|
||||
// execute the command
|
||||
u32 w0 = RDP.cmd_data[RDP.cmd_cur+0];
|
||||
|
|
Loading…
Reference in New Issue
Block a user