mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 07:39:08 +00:00
PS2: added missing casts
This commit is contained in:
parent
14f3a09c8c
commit
b75c7f6bc4
@ -31,7 +31,7 @@ int cdvdInit(int mode)
|
|||||||
cdvdCd.server = NULL;
|
cdvdCd.server = NULL;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if ((ret = SifBindRpc(&cdvdCd, CDVD_INIT_BIND_RPC, 0)) < 0) {
|
if ((ret = SifBindRpc(&cdvdCd, (signed)CDVD_INIT_BIND_RPC, 0)) < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (!cdvdCd.server) {
|
if (!cdvdCd.server) {
|
||||||
@ -40,7 +40,7 @@ int cdvdInit(int mode)
|
|||||||
}
|
}
|
||||||
while(!cdvdCd.server);
|
while(!cdvdCd.server);
|
||||||
|
|
||||||
pkt = sendBuffer;
|
pkt = (unsigned char *)sendBuffer;
|
||||||
PUSHDATA( int, pkt, mode, i);
|
PUSHDATA( int, pkt, mode, i);
|
||||||
pkt += i; len += i;
|
pkt += i; len += i;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "backends/platform/ps2/rpckbd.h"
|
#include "backends/platform/ps2/rpckbd.h"
|
||||||
|
|
||||||
static int curr_readmode = PS2KBD_READMODE_NORMAL;
|
static unsigned int curr_readmode = PS2KBD_READMODE_NORMAL;
|
||||||
static int kbdRpcSema = -1;
|
static int kbdRpcSema = -1;
|
||||||
static int kbdInitialized = 0;
|
static int kbdInitialized = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user