diff options
author | bd <bdunahu@operationnull.com> | 2025-03-11 19:02:55 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-11 19:02:55 -0400 |
commit | fb7735049f571ac45a193481e962f497b4759fa4 (patch) | |
tree | 8721f192b627001a3d47af2157ba14b97c52d645 /inc | |
parent | df803d2ccc6a3e1e112cc88feb6c8b84743073b6 (diff) |
fix lots of bugs
Diffstat (limited to 'inc')
-rw-r--r-- | inc/definitions.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<unsigned int>(MEM_WORD_SPEC - LINE_SPEC) +#define MEM_WORDS static_cast<int>(pow(2, MEM_WORD_SPEC)) #define MEM_LINES static_cast<int>(pow(2, MEM_LINE_SPEC)) /** |