diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-01-03 00:37:24 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-01-03 01:02:23 +0100 |
| commit | a9b446f915e3b14a0171cefdc35ff75d1d585ccd (patch) | |
| tree | 37c8f759210062197e526b94d0d83183c9feb6d0 /libpsx/src/pad.c | |
| parent | 5043ded4b6f89dfc861b067577f797a8ab5a7342 (diff) | |
| download | psxsdk-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.c | 3 |
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); }*/ - |
