aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
commit8af4b246d86df7bc906841689912534ea450cce5 (patch)
tree3f8432c1c305b151125997632cbd3c3de4fb3835 /bin
parent687f56226dc8a024ef560ee4b390a630819f437c (diff)
Removed memory bit flags entirely.
[#28] Bit flags were exclusively a cosmetic component, not needed at all to run the simulator. I've added a new 'render' module that takes care of appending bit flags to rendered memory images, providing the same aesthetic result, but only when requested.
Diffstat (limited to 'bin')
-rw-r--r--bin/world.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/world.py b/bin/world.py
index 17b640f..15cdd21 100644
--- a/bin/world.py
+++ b/bin/world.py
@@ -41,7 +41,7 @@ class World:
line_width = self.__printer.size[1] - self.PADDING
print_area = self.__printer.size[0] * line_width
c_buffer = (c_uint8 * print_area)()
- self.__sim.lib.sal_mem_render_image(
+ self.__sim.lib.sal_ren_get_image(
self.pos, self.zoom, print_area, cast(c_buffer, POINTER(c_uint8))
)