Revert a cdvd timing change from playground. Fixes some games that depend on longer seek times.

Also removed one more console log from release builds.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@592 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-02-24 17:00:25 +00:00
parent 1f01b45833
commit 8d87a3660d
2 changed files with 4 additions and 2 deletions

View File

@ -108,7 +108,9 @@ enum CDVD_MODE_TYPE
// if a seek is within this many blocks, read instead of seek. // if a seek is within this many blocks, read instead of seek.
// I picked 9 as an arbitrary value. Not sure what the real PS2 uses. // I picked 9 as an arbitrary value. Not sure what the real PS2 uses.
static const int Cdvd_Contigious_Seek = 9; static const int Cdvd_Contigious_Seek = 9;
static const uint Cdvd_Avg_SeekCycles = (PSXCLK*40) / 1000; // average number of cycles per seek (40ms) //Note: This timing causes many games to load very slow, but it likely not the real problem.
//Games breaking with it set to PSXCLK*40 : "wrath unleashed" and "Shijou Saikyou no Deshi Kenichi".
static const uint Cdvd_Avg_SeekCycles = (PSXCLK*95) / 1000; // average number of cycles per seek (95ms)

View File

@ -1526,7 +1526,7 @@ void badespfn() {
void __fastcall dyna_block_discard(u32 start,u32 sz) void __fastcall dyna_block_discard(u32 start,u32 sz)
{ {
Console::WriteLn("dyna_block_discard %08X , count %d", params start,sz); DevCon::WriteLn("dyna_block_discard %08X , count %d", params start,sz);
Cpu->Clear(start,sz); Cpu->Clear(start,sz);
} }