[pypy-svn] r60203 - pypy/trunk/pypy/lang/gameboy/debug

tverwaes at codespeak.net tverwaes at codespeak.net
Fri Nov 28 14:52:56 CET 2008


Author: tverwaes
Date: Fri Nov 28 14:52:55 2008
New Revision: 60203

Modified:
   pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py
   pypy/trunk/pypy/lang/gameboy/debug/gameboy_debug_entry_point.py
Log:
fixing some buggy code


Modified: pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py
==============================================================================
--- pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py	(original)
+++ pypy/trunk/pypy/lang/gameboy/debug/debug_rpc_xml_connection.py	Fri Nov 28 14:52:55 2008
@@ -45,6 +45,7 @@
         self.skipExecs            = skipExecs;
         self.debuggerPort         = debuggerPort
         self.gameboy_debug        = gameboy_debug
+        self.cpu                  = gameboy_debug.cpu
         self.ini_fields()
         #self.rpc_paths.append("/pygirl")
         self.register_introspection_functions()
@@ -66,7 +67,7 @@
         
     def register_functions(self):
         for fn in [(self.start_debug,       "start"),
-                   (self.compare_rom,       "check_rom"),
+                   (self.check_rom,         "check_rom"),
                    (self.close,             "close"),
                    (self.compare_system,    "compare"),
                    (self.has_next,          "has_next"),

Modified: pypy/trunk/pypy/lang/gameboy/debug/gameboy_debug_entry_point.py
==============================================================================
--- pypy/trunk/pypy/lang/gameboy/debug/gameboy_debug_entry_point.py	(original)
+++ pypy/trunk/pypy/lang/gameboy/debug/gameboy_debug_entry_point.py	Fri Nov 28 14:52:55 2008
@@ -1,8 +1,9 @@
+#!/usr/bin/env python
 
 dont_import_rsdl = True
 
 from pypy.lang.gameboy.debug.gameboy_debug_implementation import *
-from pypy.lang.gameboy.debug.debug_rpc_xml_memory import *
+from pypy.lang.gameboy.debug.debug_rpc_xml_connection import *
 import py
 import sys
 import os
@@ -38,7 +39,7 @@
 
 def start_python_version():
     global filename, skipExecs
-    gameBoy = GameBoyDebugImplementation(SOCKET_PORT, skipExecs, DebugRpcXmlMemory)
+    gameBoy = GameBoyDebugImplementation(SOCKET_PORT, skipExecs, DebugRpcXmlConnection)
     try:
         gameBoy.load_cartridge_file(str(filename))
     except Exception, error:



More information about the Pypy-commit mailing list