diff --git a/emulator/src/platform/python/mgba/core.py b/emulator/src/platform/python/mgba/core.py index 7bd07d5..46cf675 100644 --- a/emulator/src/platform/python/mgba/core.py +++ b/emulator/src/platform/python/mgba/core.py @@ -196,6 +196,9 @@ def desiredVideoDimensions(self): def setVideoBuffer(self, image): self._core.setVideoBuffer(self._core, image.buffer, image.stride) + def setAudioBufferSize(self, size): + self._core.setAudioBufferSize(self._core, size) + def reset(self): self._core.reset(self._core) self._wasReset = True diff --git a/src/emulator.py b/src/emulator.py index 64ff577..4ec7039 100644 --- a/src/emulator.py +++ b/src/emulator.py @@ -1,6 +1,5 @@ import mgba.core, mgba.image, io, sentry - class Emulator(object): def __init__(self, rom_path, web_server): self.web_server = web_server