From cd26e98358c75dcb402097bc27592ebf1c3d627e Mon Sep 17 00:00:00 2001 From: nick_westgate Date: Sat, 24 Mar 2007 04:24:17 +0000 Subject: [PATCH] Added Log.h to the project. Fixed warning in Debugger_Display.cpp. Changed printing timeout to 10 seconds. (No rush to type PR#0!) Added SVN ignores for Release, Debug, *.user, *.ncb, *.suo. --- AppleWin/ApplewinExpress.vcproj | 4 ++++ AppleWin/source/Debugger_Display.cpp | 2 +- AppleWin/source/ParallelPrinter.cpp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/AppleWin/ApplewinExpress.vcproj b/AppleWin/ApplewinExpress.vcproj index b357362e..2156af57 100644 --- a/AppleWin/ApplewinExpress.vcproj +++ b/AppleWin/ApplewinExpress.vcproj @@ -286,6 +286,10 @@ RelativePath=".\source\Log.cpp" > + + diff --git a/AppleWin/source/Debugger_Display.cpp b/AppleWin/source/Debugger_Display.cpp index 0d8cd1dd..9534ed89 100644 --- a/AppleWin/source/Debugger_Display.cpp +++ b/AppleWin/source/Debugger_Display.cpp @@ -1444,7 +1444,7 @@ int GetDisassemblyLine( WORD nBaseAddress, DisasmLine_t & line_ ) } int nSpaces = strlen( line_.sOpCodes ); - while (nSpaces < nMinBytesLen) + while (nSpaces < (int)nMinBytesLen) { strcat( line_.sOpCodes, " " ); nSpaces++; diff --git a/AppleWin/source/ParallelPrinter.cpp b/AppleWin/source/ParallelPrinter.cpp index e74cb836..37f28cfd 100644 --- a/AppleWin/source/ParallelPrinter.cpp +++ b/AppleWin/source/ParallelPrinter.cpp @@ -95,7 +95,7 @@ void PrintUpdate(DWORD totalcycles) { return; } - if ((inactivity += totalcycles) > (5 * 1000 * 1000)) // around 5 seconds + if ((inactivity += totalcycles) > (10 * 1000 * 1000)) // around 10 seconds { // inactive, so close the file (next print will overwrite it) ClosePrint();