From d24ee5f20483aee9acbec9deb0dcc833d78cae49 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Mon, 27 Nov 2023 21:15:03 +1100 Subject: actually fixed build this time --- src/cpu/table.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cpu/table.c') 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; -- cgit v1.2.3