From 3193548985aca79fd0aceac6045c57e8dd603804 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 7 Mar 2010 14:12:31 +0000 Subject: [PATCH] Stack-allocate the table --- Src/Display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Display.cpp b/Src/Display.cpp index 06fdec4..475b01e 100644 --- a/Src/Display.cpp +++ b/Src/Display.cpp @@ -918,7 +918,7 @@ uint8 C64::poll_joystick(int port) bool has_event = false; uint8 out = 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 *table = table_ports[port];