deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
https://projects.deltabeard.com/peanutgb/
276 stars 35 forks source link

core: Use a function to change context variables #86

Open deltabeard opened 1 year ago

deltabeard commented 1 year ago

Such variables include those in the "direct" structure, these are:

This allows for structure package by reordering the variables. This means that the variables in the structure can change without breaking the API in the future.