|
I already got rid of my switch
void (*operation[256])(Processor *p)
operation[opcode](this)
if i wasn't using C++ then it would be easier. As it is now it works but I'm not sure if it's that good of an idea, eliminates the need to check every time but I don't know if there is any issue doing it that way.
I think I'm doing the interrupts correctly then.
I did read through the emutalk but I had questions and this place seems more active.
|