mirror of https://github.com/PCSX2/pcsx2.git
DEV9ghzdrk: Fixed the bad slowness.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5598 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
2e6917c409
commit
7a00d19b55
|
@ -37,9 +37,6 @@ u8 eeprom[] = {
|
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
|
||||
int Log = 1;
|
||||
|
||||
u32 *iopPC;
|
||||
|
||||
const unsigned char version = PS2E_DEV9_VERSION;
|
||||
|
@ -68,7 +65,11 @@ u32 CALLBACK PS2EgetLibVersion2(u32 type) {
|
|||
return (version<<16) | (revision<<8) | build;
|
||||
}
|
||||
|
||||
// Warning: The below log function is SLOW. Better fix it before attempting to use it.
|
||||
int Log = 0;
|
||||
|
||||
void __Log(char *fmt, ...) {
|
||||
if (!Log) return;
|
||||
va_list list;
|
||||
|
||||
static int ticks=-1;
|
||||
|
@ -76,7 +77,6 @@ void __Log(char *fmt, ...) {
|
|||
|
||||
if(ticks==-1) ticks=nticks;
|
||||
|
||||
// if (!Log) return;
|
||||
if(iopPC!=NULL)
|
||||
{
|
||||
fprintf(dev9Log,"[%10d + %4d, IOP PC = %08x] ",nticks,nticks-ticks,*iopPC);
|
||||
|
|
Loading…
Reference in New Issue