Removed LogPCM routine, confirmed PCM logging works without it.

This commit is contained in:
ugetab 2009-09-16 21:29:33 +00:00
parent 0c2c1d2ee3
commit bd8a0f3b10
2 changed files with 1 additions and 15 deletions

View File

@ -298,20 +298,6 @@ void UpdateCDLogger(){
return;
}
void LogPCM(int romaddress){
int i = GetPRGAddress(romaddress);
if(i == -1)return;
if(cdloggerdata[i] & 0x40)return;
cdloggerdata[i] |= 0x40;
if(!(cdloggerdata[i] & 2)){
datacount++;
cdloggerdata[i] |= 2;
if(!(cdloggerdata[i] & 1))undefinedcount--;
}
return;
}
void SaveStrippedRom(){ //this is based off of iNesSave()
//todo: make this support nsfs
const char NESfilter[]="Stripped iNes Rom file(*.NES)\0*.nes\0";

View File

@ -2,7 +2,7 @@
//
void DoCDLogger();
void UpdateCDLogger();
void LogPCM(int romaddress);
//void LogPCM(int romaddress); //No longer used
//
extern HWND hCDLogger;
//extern volatile int codecount, datacount, undefinedcount;