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.
This commit is contained in:
nick_westgate 2007-03-24 04:24:17 +00:00
parent 19174f1bdd
commit cd26e98358
3 changed files with 6 additions and 2 deletions

View File

@ -286,6 +286,10 @@
RelativePath=".\source\Log.cpp"
>
</File>
<File
RelativePath=".\source\Log.h"
>
</File>
<File
RelativePath=".\source\Memory.cpp"
>

View File

@ -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++;

View File

@ -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();