From f3d6ceaa6f0d716a4b0d30c5c8b27c74c55b96ac Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 11 Mar 2025 19:02:55 -0400 Subject: fix lots of bugs --- inc/definitions.h | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/definitions.h') diff --git a/inc/definitions.h b/inc/definitions.h index 1d68a60..80fccbe 100644 --- a/inc/definitions.h +++ b/inc/definitions.h @@ -19,6 +19,7 @@ */ #define MEM_WORD_SPEC 10 #define MEM_LINE_SPEC static_cast(MEM_WORD_SPEC - LINE_SPEC) +#define MEM_WORDS static_cast(pow(2, MEM_WORD_SPEC)) #define MEM_LINES static_cast(pow(2, MEM_LINE_SPEC)) /** -- cgit v1.2.3