Use Rc<Cell> instead of passing `&mut irqs` all around.
The runtime impact is two additional size_t's per each holder of the
shared pointer.
Former-commit-id: afd3188c31608ebcf062256a7ad51575dbc90d8b
Former-commit-id: 22e0e01953968cee592b5408677e557059669c31
As per the GBATEK docs. Fixes the fadeout animations in Ice Age.
Former-commit-id: 0bc54ab594ba19347a4b6d1b681ccf37da4d7910
Former-commit-id: 33b732e7f990c312bf92bcc21797df35b3d2ce56
Writing to reference point BGnX and BGnY should update the internal PPU
registers also inside VBLANK period.
fixes#79
Former-commit-id: a5237319ccab1aab023bb05878c81a198310fb21
Former-commit-id: 0c9ce4476111eea46e7372b48af77c862c0d2f6a