mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-05-01 22:40:10 +10:00
Fixed some 'size_t' issues and a bug caught on a different platform
This commit is contained in:
@@ -16,7 +16,12 @@ int inspect_read(unsigned char* bytecode, unsigned int pc, unsigned int jumps_ad
|
||||
#define MARKER_VALUE(pc, type) \
|
||||
(pc * sizeof(type))
|
||||
|
||||
#define MARKER "\t\033[" TOY_CC_FONT_BLACK "m" " %lu\t" TOY_CC_RESET
|
||||
#if TOY_BITNESS == 64
|
||||
#define MARKER "\t\033[" TOY_CC_FONT_BLACK "m" " %lu\t" TOY_CC_RESET
|
||||
#else
|
||||
#define MARKER "\t\033[" TOY_CC_FONT_BLACK "m" " %llu\t" TOY_CC_RESET
|
||||
#endif
|
||||
|
||||
#define FONT_BLACK "\033[" TOY_CC_FONT_BLACK "m"
|
||||
|
||||
//exposed functions
|
||||
|
||||
Reference in New Issue
Block a user