Skip to content

Commit

Permalink
Python: Attempt to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
endrift committed Apr 22, 2024
1 parent d422cbe commit 2cbbaea
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/platform/python/mgba/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from ._pylib import ffi, lib # pylint: disable=no-name-in-module
from . import tile, audio
from . import tile
from cached_property import cached_property
from functools import wraps

Expand Down Expand Up @@ -242,14 +242,6 @@ def desired_video_dimensions(self):
def set_video_buffer(self, image):
self._core.setVideoBuffer(self._core, image.buffer, image.stride)

@protected
def set_audio_buffer_size(self, size):
self._core.setAudioBufferSize(self._core, size)

@property
def audio_buffer_size(self):
return self._core.getAudioBufferSize(self._core)

@protected
def reset(self):
self._core.reset(self._core)
Expand Down

0 comments on commit 2cbbaea

Please sign in to comment.