diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-11 17:15:22 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-11 17:15:22 +0100 |
commit | 81cef95a0235e917975919a0f58527ba963f11b6 (patch) | |
tree | 6d1d863d75c3746ef48a5ed912847e642791b4b1 | |
parent | 710c64fc02390e41ec29667c7a0d32115bf313ec (diff) | |
download | tr8vm-81cef95a0235e917975919a0f58527ba963f11b6.tar.gz tr8vm-81cef95a0235e917975919a0f58527ba963f11b6.zip |
Be specific
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ static uint8_t flags(uint8_t *f, uint16_t v, uint8_t mask) if (mask & SF) *f |= (v & 0x80) ? SF : 0; - return v; + return (v & 0xff); } static void dump(Tr8 *vm) |