RIP-Comm / clementine

Gameboy Advance emulator.
MIT License
49 stars 13 forks source link

Bitwise: Introduce method `are_bits_on`. #65

Closed Peppe3009 closed 2 years ago

Peppe3009 commented 2 years ago

As form of improvement I introduced the method are_bits_on in bitwise.rs to check if a certain sequence of bit is all set to 1; In this way it is possible to get rid of redundant code in SingleDataTransfer.

Peppe3009 commented 2 years ago

Great!