Python: Deprotect some functions
Vicki Pfau vi@endrift.com
Sat, 08 Jul 2017 14:20:41 -0700
1 files changed,
0 insertions(+),
3 deletions(-)
jump to
M
src/platform/python/mgba/core.py
→
src/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