jbrandwood / liberis

MIT License
7 stars 2 forks source link

Bugfix - CR register cannot be updated properly #9

Closed dshadoff closed 1 year ago

dshadoff commented 1 year ago

In the original API, the 7up CR register could either update whether BG/SP are showing, OR enable interrupts, but not both. If one was set, the other would suffer.

This adds a eris_low_sup_setreg() function which allows to set a register's value directly, rather than piecemeal, avoiding that pitfall.