Python: GB core should expose memory
Vicki Pfau vi@endrift.com
Thu, 29 Jun 2017 02:45:50 -0700
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/platform/python/mgba/gb.py
→
src/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)