all repos — mgba @ 7752bfe0db245eacf7b612b85f2e92fa19274539

mGBA Game Boy Advance Emulator

Python: GB core should expose memory
Vicki Pfau vi@endrift.com
Thu, 29 Jun 2017 02:45:50 -0700
commit

7752bfe0db245eacf7b612b85f2e92fa19274539

parent

fc64924cf566ea5ab9fb618c5224cc293792e11a

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M src/platform/python/mgba/gb.pysrc/platform/python/mgba/gb.py

@@ -35,6 +35,10 @@ def _deinitTileCache(self, cache):

self._native.video.renderer.cache = ffi.NULL lib.mTileCacheDeinit(cache) + def reset(self): + super(GB, self).reset() + self.memory = GBMemory(self._core) + def attachSIO(self, link): lib.GBSIOSetDriver(ffi.addressof(self._native.sio), link._native)