summaryrefslogtreecommitdiff
path: root/libpsx/src/pad.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2021-01-03 00:37:24 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2021-01-03 01:02:23 +0100
commita9b446f915e3b14a0171cefdc35ff75d1d585ccd (patch)
tree37c8f759210062197e526b94d0d83183c9feb6d0 /libpsx/src/pad.c
parent5043ded4b6f89dfc861b067577f797a8ab5a7342 (diff)
downloadpsxsdk-a9b446f915e3b14a0171cefdc35ff75d1d585ccd.tar.gz
Fix const-correctness on psxgpu
- Added GsSetDrawEnv_DMA and GsUploadCLUT.
Diffstat (limited to 'libpsx/src/pad.c')
-rw-r--r--libpsx/src/pad.c3
1 files changed, 1 insertions, 2 deletions
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);
}*/
-