Immediate value should be 8 bit

This commit is contained in:
tudnai 2020-05-07 13:21:43 -07:00
parent ae427f9926
commit 6a20b9d070
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ INLINE uint8_t * dest_abs_Y() {
return WRLOMEM + addr_abs_Y();
}
INLINE uint16_t imm() {
INLINE uint8_t imm() {
disPrintf(disassembly.oper, "#$%02X", memread8(m6502.PC))
return fetch();
}