Skip to content
Snippets Groups Projects
Verified Commit aff0da24 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

chore small code tune

parent 5695ff97
No related branches found
No related tags found
1 merge request!36Support for Python
Pipeline #3614 passed
This commit is part of merge request !36. Comments created here will be created in the context of that merge request.
......@@ -69,7 +69,7 @@ This is a [Game Boy](https://en.wikipedia.org/wiki/Game_Boy) emulator built usin
def frame_buffer(self):
return self._system.frame_buffer()
def image(self) -> "Image":
def image(self) -> Image:
frame_buffer = self._system.frame_buffer()
image = frombytes("RGB", (DISPLAY_WIDTH, DISPLAY_HEIGHT), frame_buffer, "raw")
return image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment