diff pytouhou/vm/eclrunner.py @ 195:52c0b9399413

Fix ECL function calls... again
author Thibaut Girka <thib@sitedethib.com>
date Sat, 29 Oct 2011 11:42:22 +0200
parents efa847ee8b3c
children 709f42eaa55e
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -444,7 +444,7 @@ class ECLRunner(object):
     @instruction(35)
     def call(self, sub, param1, param2):
         self.stack.append((self.sub, self.frame, self.instruction_pointer,
-                           self.variables, self.comparison_reg))
+                           list(self.variables), self.comparison_reg))
         self.sub = sub
         self.frame = 0
         self.instruction_pointer = 0