From a9b446f915e3b14a0171cefdc35ff75d1d585ccd Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 3 Jan 2021 00:37:24 +0100 Subject: Fix const-correctness on psxgpu - Added GsSetDrawEnv_DMA and GsUploadCLUT. --- libpsx/src/pad.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libpsx/src/pad.c') diff --git a/libpsx/src/pad.c b/libpsx/src/pad.c index 284b9f4..d7293d8 100644 --- a/libpsx/src/pad.c +++ b/libpsx/src/pad.c @@ -46,7 +46,7 @@ unsigned char readpad_vibrations[4][2]; int querypad_rxrdy = 1; -void QueryPAD(int pad_n, unsigned char *in, unsigned char *out, int len) +void QueryPAD(int pad_n, const unsigned char *in, unsigned char *out, int len) { volatile int x; volatile int y; // specified as volatile to not make busy loops get optimized out @@ -160,4 +160,3 @@ void pad_set_analog(int pad_n, int lock) QueryPAD(pad_n, pad_cmd2, NULL, sizeof(pad_cmd)); pad_escape_mode(pad_n, 0); }*/ - -- cgit v1.2.3