You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Genesis Plus GX core, the pitch can be much larger than the width in pixels times the pixel format width. This leads to an error in ArrayVideoDriver.refresh():
Exception ignored on calling ctypes callback function: <bound method CompositeEnvironmentDriver.video_refresh of <libretro.drivers.environment.composite.CompositeEnvironmentDriver object at 0x000001B5E102DC10>>
Traceback (most recent call last):
File "C:\Users\jsens\AppData\Roaming\Python\Python312\site-packages\libretro\drivers\environment\composite.py", line 332, in video_refresh
self._video.refresh(view, width, height, pitch)
File "C:\Users\jsens\AppData\Roaming\Python\Python312\site-packages\libretro\drivers\video\multi.py", line 89, in refresh
self._current.refresh(data, width, height, pitch)
File "C:\Users\jsens\AppData\Roaming\Python\Python312\site-packages\libretro\drivers\video\software\array.py", line 33, in refresh
frameview[: len(data)] = data
~~~~~~~~~^^^^^^^^^^^^^
ValueError: memoryview assignment: lvalue and rvalue have different structures
Reallocating the buffer when it is too small rectifies the issue.
The text was updated successfully, but these errors were encountered:
Using the Genesis Plus GX core, the pitch can be much larger than the width in pixels times the pixel format width. This leads to an error in
ArrayVideoDriver.refresh()
:Reallocating the buffer when it is too small rectifies the issue.
The text was updated successfully, but these errors were encountered: