summaryrefslogtreecommitdiff
path: root/src/cpu/table.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-11-27 21:15:03 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-11-27 21:15:03 +1100
commitd24ee5f20483aee9acbec9deb0dcc833d78cae49 (patch)
tree04ed06b7c0f4e475b9f5f5f1e3da2c044d6b5849 /src/cpu/table.c
parentc6da616d018ecfc5a26686e88ab520b54b7fa6ed (diff)
actually fixed build this time
Diffstat (limited to 'src/cpu/table.c')
-rw-r--r--src/cpu/table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/table.c b/src/cpu/table.c
index fb419d2..cdbe995 100644
--- a/src/cpu/table.c
+++ b/src/cpu/table.c
@@ -2,6 +2,11 @@
#include"table.h"
+
+void* InstructionTable;
+
+void (*func)(Addressing, address);
+
uintptr_t* getInstructionTableFunction(int i){ //Segmentation fault is occurring here, likely in next one too
uintptr_t* r = (InstructionTable + (sizeof(uintptr_t)*i));
return r;