From bd8a0f3b10a0856d00f91c2a83cf9711500a0e33 Mon Sep 17 00:00:00 2001 From: ugetab Date: Wed, 16 Sep 2009 21:29:33 +0000 Subject: [PATCH] Removed LogPCM routine, confirmed PCM logging works without it. --- src/drivers/win/cdlogger.cpp | 14 -------------- src/drivers/win/cdlogger.h | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/drivers/win/cdlogger.cpp b/src/drivers/win/cdlogger.cpp index d6ed5bde..24916fa8 100644 --- a/src/drivers/win/cdlogger.cpp +++ b/src/drivers/win/cdlogger.cpp @@ -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"; diff --git a/src/drivers/win/cdlogger.h b/src/drivers/win/cdlogger.h index 9aa057bd..fb9f481e 100644 --- a/src/drivers/win/cdlogger.h +++ b/src/drivers/win/cdlogger.h @@ -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;