From 429d0aac50a8e420471085a0dbb30782aa92a909 Mon Sep 17 00:00:00 2001 From: gigaherz Date: Wed, 15 Jul 2009 17:34:08 +0000 Subject: [PATCH] Just a tiny cleanup, nothing interesting. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1522 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/CDVD/CDVDaccess.cpp | 12 +++++------- pcsx2/CDVD/IsoFStools.cpp | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pcsx2/CDVD/CDVDaccess.cpp b/pcsx2/CDVD/CDVDaccess.cpp index 23396eec81..e357af4f32 100644 --- a/pcsx2/CDVD/CDVDaccess.cpp +++ b/pcsx2/CDVD/CDVDaccess.cpp @@ -99,8 +99,6 @@ int FindDiskType(int mType) CDVD.getTN(&tn); - const char* cdTypeName; - if(tn.strack != tn.etrack) // multitrack == CD. { iCDType = CDVD_TYPE_DETCTCD; @@ -139,13 +137,13 @@ int FindDiskType(int mType) switch(iCDType) { case CDVD_TYPE_DETCTCD: - DevCon::Status(" * CDVD Disk Open: CD, %d tracks (%d to %d):\n", params tn.etrack-tn.strack+1,tn.strack,tn.etrack); + DevCon::Status(" * CDVD Disk Open: CD, %d tracks (%d to %d):", params tn.etrack-tn.strack+1,tn.strack,tn.etrack); break; case CDVD_TYPE_DETCTDVDS: - DevCon::Status(" * CDVD Disk Open: DVD, Single layer or unknown\n"); + DevCon::Status(" * CDVD Disk Open: DVD, Single layer or unknown:"); break; case CDVD_TYPE_DETCTDVDD: - DevCon::Status(" * CDVD Disk Open: DVD, Double layer\n"); + DevCon::Status(" * CDVD Disk Open: DVD, Double layer:"); break; } @@ -166,12 +164,12 @@ int FindDiskType(int mType) if(td.type==CDVD_AUDIO_TRACK) { audioTracks++; - DevCon::Status(" * * Track %d: Audio (%d sectors)\n", params i,tlength); + DevCon::Status(" * * Track %d: Audio (%d sectors)", params i,tlength); } else { dataTracks++; - DevCon::Status(" * * Track %d: Data (Mode %d) (%d sectors)\n", params i,((td.type==CDVD_MODE1_TRACK)?1:2),tlength); + DevCon::Status(" * * Track %d: Data (Mode %d) (%d sectors)", params i,((td.type==CDVD_MODE1_TRACK)?1:2),tlength); } } diff --git a/pcsx2/CDVD/IsoFStools.cpp b/pcsx2/CDVD/IsoFStools.cpp index 830e25f23c..0bd525b029 100644 --- a/pcsx2/CDVD/IsoFStools.cpp +++ b/pcsx2/CDVD/IsoFStools.cpp @@ -241,7 +241,7 @@ int IsoFS_findFile(const char* fname, TocEntry* tocEntry){ dirTocEntry* tocEntryPointer; - DbgCon::WriteLn("IsoFS_findfile(\"%s\" called", params fname); + DbgCon::WriteLn("IsoFS_findfile(\"%s\") called", params fname); _splitpath2(fname, pathname, filename);