akatsuki105 / worldwide

This is my OLD and BAD GameBoy Emulator, please visit DawnGB, my new GameBoy emulator!
https://github.com/akatsuki105/dawngb
MIT License
597 stars 27 forks source link

Include an opcode handler in the opcode table #6

Closed akatsuki105 closed 4 years ago

akatsuki105 commented 4 years ago

Calling the switch statement after seeing the opcode instructions and operands is likely to reduce performance.

akatsuki105 commented 4 years ago

Ophandler is set for the LD operation with a large execution ratio. The number of switch statements with heavy load was reduced, and the performance was improved.