Peanut-GB icon indicating copy to clipboard operation
Peanut-GB copied to clipboard

core: do not require front-end to modify variables in gb_t

Open deltabeard opened this issue 7 years ago • 2 comments

Currently the joypad input requires setting values in gb_t itself. This should be set by calling a function in peanut-gb which will then set the correct values in gb_t. The framebuffer array will be removed in the PPU rewrite.

deltabeard avatar Oct 13 '18 13:10 deltabeard

I decided to continue allowing the front-end to continue modifying values in gb->joypad. I think it's simpler. 4aff06be48c9b5c43cb252fa8237a93b11b166a1

deltabeard avatar Oct 27 '18 09:10 deltabeard

Values that may be modified by the front-end should be documented. Modifying other values should be undefined behaviour. The framebuffer array must still be removed.

deltabeard avatar Nov 14 '18 09:11 deltabeard