Open ISSOtm opened 6 years ago
TODO: fix this using the info from https://github.com/LIJI32/SameBoy/blob/master/Core/z80_cpu.c#L465
[EDIT] Moved to https://github.com/LIJI32/SameBoy/blob/0b03b61564b7dbf2df8498d8d71c8e59fb83c92e/Core/sm83_cpu.c#L465 now
The H flag isn't modified by the second add/sub.
If the N flag is set, it is a sub instead of an add.
I am not sure about information on this line; specifically, the sections marked by "Note"s.
Any help, probably from emulator developers, would be appreciated.