mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 19:39:24 +01:00
Stack-allocate the table
This commit is contained in:
parent
ec924bafeb
commit
3193548985
@ -918,7 +918,7 @@ uint8 C64::poll_joystick(int port)
|
|||||||
bool has_event = false;
|
bool has_event = false;
|
||||||
uint8 out = 0xff;
|
uint8 out = 0xff;
|
||||||
static uint8 last_table_ports[2][0xff];
|
static uint8 last_table_ports[2][0xff];
|
||||||
static uint8 table_ports[2][0xff];
|
uint8 table_ports[2][0xff];
|
||||||
uint8 *last_table = last_table_ports[port];
|
uint8 *last_table = last_table_ports[port];
|
||||||
uint8 *table = table_ports[port];
|
uint8 *table = table_ports[port];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user