mvdnes / rboy

A Gameboy Emulator in Rust
MIT License
607 stars 39 forks source link

change match to typecast #24

Closed shenawy29 closed 2 months ago

shenawy29 commented 2 months ago

this changes the gbspeed match to typecast to avoid branching.

mvdnes commented 2 months ago

:+1: Thank you for this addition! I have squashed the commit to remove the formatting, I hope you don't mind.

shenawy29 commented 2 months ago

that's fine, thanks for the awesome emulator!