diff options
author | leo <leo@azuminha.com> | 2024-02-04 03:04:49 -0300 |
---|---|---|
committer | leo <leo@azuminha.com> | 2024-02-04 03:04:49 -0300 |
commit | 21bb49029a4a30c80714a4b05193e1ba58117d5a (patch) | |
tree | 85b9ab57d502ce23da33d20f37f30ccde0ae90b0 | |
parent | 0209e32e98b135a5a689a28e8db06880d29bbedf (diff) |
arrumando a negacao
-rw-r--r-- | CPU.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ void enable_flag(struct CPU *cpu, uint8_t flag){ } void disable_flag(struct CPU *cpu, uint8_t flag){ - cpu->status &= !flag; + cpu->status &= ~flag; } int test_flag(struct CPU *cpu, uint8_t flag){ |