summaryrefslogtreecommitdiff
path: root/src/cpu/table.c
diff options
context:
space:
mode:
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;