libtonc
libtonc copied to clipboard
fix incorrect 32-bit read of 16-bit register
this code has a bug where it reads 32 bit value from IME, which is a 16 bit reg. this can cause open bus.
IME is a 16 bit register and shouldn't be read from using ldr. Prevents possibly unwanted open bus behavior.