all repos — mgba @ adc45c9bdc2b20d1a439a9a21945a870f85adb15

mGBA Game Boy Advance Emulator

Python: Add more mCore functions
Jeffrey Pfau jeffrey@endrift.com
Wed, 19 Oct 2016 13:49:34 -0700
commit

adc45c9bdc2b20d1a439a9a21945a870f85adb15

parent

9d44445d642658d72cfa6ac39d06abf62ad95733

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

jump to
M src/platform/python/mgba/core.pysrc/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))