BizHawk/waterbox/gpgx
VelpaChallenger 53cdf182ae
Pass values to memory callbacks in GPGX (squashed PR #3821)
* fix on_bus_read issue for genplus-gx core

- related to issue #3813
- update signatures, create new value variable in each of the memory read core functions, pass it to the callback and return it instead of the inline calculations. Also, pass val to write and exec callbacks in IDebuggable since they all use the same mem_cb signature and it would break otherwise. I want to update write and exec callbacks in next commit though to ensure nothing unexpected happens.

* update write callbacks for genplus-gx

- related to issue #3813

* update exec callbacks for genplus-gx

- closes #3813

* twice memory peek for deep freeze via on_bus_read bizhawk

Read a first time to pass the read value to the callback, read a second time to read the updated value in case it was updated by the callback and effectively deep freeze the value, no matter if 8, 16 or 32 width

* remove lines from unknown source

I have no idea where those lines came from. But I never meant to add them. This should look like it currently looks in master

* reinsert const, use implicit delegate constructors

* update submodule commit to before override memory values

* rename a to addr, unsigned int to just unsigned
2025-04-04 05:46:57 +10:00
..
Genesis-Plus-GX@9fb7e67124 Update gpgx 2024-09-08 10:54:48 +02:00
cinterface Pass values to memory callbacks in GPGX (squashed PR #3821) 2025-04-04 05:46:57 +10:00
util fix gpgx per-line sprite limit setting not working 2024-05-15 02:42:44 +02:00
Makefile bump gpgx max rom size to 32MB 2025-02-18 17:15:31 +01:00
gpgx.cbp Per spec, if mouthbreather calls longjmp(buf, 0), return 1 instead 2016-03-26 17:14:44 -04:00