Solved issue with pads under real hw
This commit is contained in:
parent
55e4700bc7
commit
e769a8ab05
|
@ -48,11 +48,11 @@ int querypad_rxrdy = 1;
|
||||||
|
|
||||||
void QueryPAD(int pad_n, unsigned char *in, unsigned char *out, int len)
|
void QueryPAD(int pad_n, unsigned char *in, unsigned char *out, int len)
|
||||||
{
|
{
|
||||||
int x;
|
volatile int x;
|
||||||
volatile int y; // specified as volatile to not make busy loops get optimized out
|
volatile int y; // specified as volatile to not make busy loops get optimized out
|
||||||
int i;
|
volatile int i;
|
||||||
unsigned char TempData;
|
volatile unsigned char TempData;
|
||||||
int EmuFlag = 0;
|
volatile int EmuFlag = 0;
|
||||||
|
|
||||||
PADSIO_MODE(0) = 0xD;
|
PADSIO_MODE(0) = 0xD;
|
||||||
PADSIO_BAUD(0) = 0x88;
|
PADSIO_BAUD(0) = 0x88;
|
||||||
|
|
Loading…
Reference in New Issue