From 8af4b246d86df7bc906841689912534ea450cce5 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: 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. --- bin/world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/world.py') 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)) ) -- cgit v1.2.1