Disables logging of $3800-$3824 NSF control program instructions in Trace Logger.

Minor text edit to a dialog box title.
This commit is contained in:
ugetab 2009-08-07 20:14:06 +00:00
parent 208d27fd14
commit a4c181ee3a
2 changed files with 3 additions and 1 deletions

View File

@ -333,7 +333,7 @@ void SaveStrippedRom(){ //this is based off of iNesSave()
memset(&ofn,0,sizeof(ofn));
ofn.lStructSize=sizeof(ofn);
ofn.hInstance=fceu_hInstance;
ofn.lpstrTitle="Save Stripped file As...";
ofn.lpstrTitle="Save Stripped File As...";
if (GameInfo->type==GIT_NSF) {
ofn.lpstrFilter=NSFfilter;
}

View File

@ -319,6 +319,8 @@ void FCEUD_TraceInstruction(){
uint8 opcode[3], tmp;
static int unloggedlines;
if((GameInfo->type==GIT_NSF) && (addr >= 0x3800) && (addr <= 0x3824)) return;
if(((logging_options & LOG_NEW_INSTRUCTIONS) && (oldcodecount != codecount)) ||
((logging_options & LOG_NEW_DATA) && (olddatacount != datacount))){//something new was logged
oldcodecount = codecount;