From dea0f37ca9270641018e814c7df27f79ac28266f Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Thu, 17 Feb 2011 17:05:53 +0000 Subject: [PATCH] Minor changes: - Added an EE roundmode patch entry for AR Tonelico 2 that fixes a fall through floor bug - Disabled an exception in the ISO file reader. It now continues working when it runs into incomplete game rips (may need a review). - Disabled 2 annoying logs :p git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4307 96395faa-99c1-11dd-bbfe-3dabce05a288 --- bin/GameIndex.dbf | 1 + pcsx2/CDVD/IsoFileFormats.cpp | 5 ++++- pcsx2/gui/FrameForGS.cpp | 4 ++-- pcsx2/ps2/LegacyDmac.cpp | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bin/GameIndex.dbf b/bin/GameIndex.dbf index 474b9f426a..d2d303df26 100644 --- a/bin/GameIndex.dbf +++ b/bin/GameIndex.dbf @@ -9438,6 +9438,7 @@ Compat = 2 Serial = SLUS-21788 Name = Ar Tonelico 2 - Melody Of Metafalica Region = NTSC-U +eeRoundMode = 0 // Fixes "Fall through floor" bug when aproaching chests Compat = 5 --------------------------------------------- Serial = SLUS-21789 diff --git a/pcsx2/CDVD/IsoFileFormats.cpp b/pcsx2/CDVD/IsoFileFormats.cpp index aaa52b5460..0a0b6f142d 100644 --- a/pcsx2/CDVD/IsoFileFormats.cpp +++ b/pcsx2/CDVD/IsoFileFormats.cpp @@ -525,8 +525,11 @@ void _IsoPart::Read( void* dest, size_t size ) // must always use the explicit check against the number of bytes read to determine // end-of-stream conditions. + // Throwing exceptions here ends emulation. + // We should let the game decide what to do with missing data though. if ((size_t)handle->LastRead() < size) - throw Exception::EndOfStream( filename ); + Console.Warning( "ISO read problem (Bad game rip?)" ); + //throw Exception::EndOfStream( filename ); } void _IsoPart::Seek(wxFileOffset pos, wxSeekMode mode) diff --git a/pcsx2/gui/FrameForGS.cpp b/pcsx2/gui/FrameForGS.cpp index 640fec3e05..c1065c04ad 100644 --- a/pcsx2/gui/FrameForGS.cpp +++ b/pcsx2/gui/FrameForGS.cpp @@ -305,8 +305,8 @@ void GSFrame::OnCloseWindow(wxCloseEvent& evt) bool GSFrame::ShowFullScreen(bool show, long style) { - if( show != IsFullScreen() ) - Console.WriteLn( Color_StrongMagenta, "(gsFrame) Switching to %s mode...", show ? "Fullscreen" : "Windowed" ); + /*if( show != IsFullScreen() ) + Console.WriteLn( Color_StrongMagenta, "(gsFrame) Switching to %s mode...", show ? "Fullscreen" : "Windowed" );*/ if( g_Conf->GSWindow.IsFullscreen != show ) { diff --git a/pcsx2/ps2/LegacyDmac.cpp b/pcsx2/ps2/LegacyDmac.cpp index a0ce46eb8d..ae153f81fe 100644 --- a/pcsx2/ps2/LegacyDmac.cpp +++ b/pcsx2/ps2/LegacyDmac.cpp @@ -344,6 +344,7 @@ __fi bool dmacWrite32( u32 mem, mem32_t& value ) icase(D7_CHCR) // dma7 - sif2 { DMA_LOG("SIF2dma EXECUTE, value=0x%x", value); + DevCon.Warning("SIF2 DMA call"); DmaExec(dmaSIF2, mem, value); return false; }