Fixed program counter in RET macro, Dirt Racer now plays with some blinking, making progress :)

This commit is contained in:
pagefault
2006-02-19 09:00:04 +00:00
parent 8aa5b2b247
commit 8ae1e80cce
2 changed files with 19 additions and 1 deletions

View File

@@ -3088,6 +3088,16 @@ void ZsnesPage()
MouseY = 0;
}
extern "C" signed int NumberOfOpcodes;
void WriteLine()
{
char buf[50];
sprintf(buf, "%d\n", NumberOfOpcodes);
WriteConsole(debugWindow, buf, strlen(buf), NULL, NULL);
}
// This function creates the debug console
void InitDebugger()
{