chibinz / GameBar

A Game Boy Advance emulator written in Rust
MIT License
3 stars 0 forks source link

Implement tock-register like interface for io registers #11

Open chibinz opened 2 years ago

chibinz commented 2 years ago

Adhoc getter/setters introduce a lot of boilerplates. tock-register not supported on stable Rust though. Syntax could also be improved using proc-macros. Abstractions are nice, but really wonder if they could be compiled down to raw bit fiddling...