Python: Add more mCore functions
Jeffrey Pfau jeffrey@endrift.com
Wed, 19 Oct 2016 13:49:34 -0700
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
M
src/platform/python/mgba/core.py
→
src/platform/python/mgba/core.py
@@ -63,6 +63,15 @@
def loadROM(self, vf): return bool(self._core.loadROM(self._core, vf.handle)) + def loadSave(self, vf): + return bool(self._core.loadSave(self._core, vf.handle)) + + def loadTemporarySave(self, vf): + return bool(self._core.loadTemporarySave(self._core, vf.handle)) + + def loadPatch(self, vf): + return bool(self._core.loadPatch(self._core, vf.handle)) + def autoloadSave(self): return bool(lib.mCoreAutoloadSave(self._core))