all repos — mgba @ 531d4c7bae4139a0caedbb5b1e83c7e532be0ab8

mGBA Game Boy Advance Emulator

Python: Deprotect some functions
Vicki Pfau vi@endrift.com
Sat, 08 Jul 2017 14:20:41 -0700
commit

531d4c7bae4139a0caedbb5b1e83c7e532be0ab8

parent

3f59175a8173214691f599feb6c959de90095b0c

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

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

@@ -122,7 +122,6 @@ if hasattr(cls, 'PLATFORM_GB') and core.platform(core) == cls.PLATFORM_GB:

return GB(core) return Core(core) - @protected def loadFile(self, path): return bool(lib.mCoreLoadFile(self._core, path.encode('UTF-8')))

@@ -138,7 +137,6 @@

def loadTemporarySave(self, vf): return bool(self._core.loadTemporarySave(self._core, vf.handle)) - @protected def loadPatch(self, vf): return bool(self._core.loadPatch(self._core, vf.handle))

@@ -160,7 +158,6 @@

def setVideoBuffer(self, image): self._core.setVideoBuffer(self._core, image.buffer, image.stride) - @protected def reset(self): self._core.reset(self._core) self._wasReset = True