diff --git a/pcsx2/Sif.h b/pcsx2/Sif.h index cfed819387..57445e87a0 100644 --- a/pcsx2/Sif.h +++ b/pcsx2/Sif.h @@ -42,7 +42,7 @@ struct sifFifo s32 writePos; s32 size; - s32 free() + s32 sif_free() { return FIFO_SIF_W - size; } diff --git a/pcsx2/Sif0.cpp b/pcsx2/Sif0.cpp index 2b376545d0..7706e54736 100644 --- a/pcsx2/Sif0.cpp +++ b/pcsx2/Sif0.cpp @@ -65,7 +65,7 @@ static __fi bool WriteFifoToEE() static __fi bool WriteIOPtoFifo() { // There's some data ready to transfer into the fifo.. - const int writeSize = min(sif0.iop.counter, sif0.fifo.free()); + const int writeSize = min(sif0.iop.counter, sif0.fifo.sif_free()); SIF_LOG("Write IOP to Fifo: +++++++++++ %lX of %lX", writeSize, sif0.iop.counter); @@ -276,7 +276,7 @@ static __fi void HandleIOPTransfer() else { // Write IOP to Fifo. - if (sif0.fifo.free() > 0) + if (sif0.fifo.sif_free() > 0) { WriteIOPtoFifo(); } @@ -304,7 +304,7 @@ __fi void SIF0Dma() if (sif0.iop.busy) { - if(sif0.fifo.free() > 0 || (sif0.iop.end == true && sif0.iop.counter == 0)) + if(sif0.fifo.sif_free() > 0 || (sif0.iop.end == true && sif0.iop.counter == 0)) { BusyCheck++; HandleIOPTransfer(); diff --git a/pcsx2/Sif1.cpp b/pcsx2/Sif1.cpp index b845869eaf..78cb33094c 100644 --- a/pcsx2/Sif1.cpp +++ b/pcsx2/Sif1.cpp @@ -38,7 +38,7 @@ static __fi bool WriteEEtoFifo() // There's some data ready to transfer into the fifo.. SIF_LOG("Sif 1: Write EE to Fifo"); - const int writeSize = min((s32)sif1dma.qwc, sif1.fifo.free() >> 2); + const int writeSize = min((s32)sif1dma.qwc, sif1.fifo.sif_free() >> 2); tDMA_TAG *ptag; @@ -242,7 +242,7 @@ static __fi void HandleEETransfer() } else { - if (sif1.fifo.free() > 0) + if (sif1.fifo.sif_free() > 0) { WriteEEtoFifo(); } @@ -297,7 +297,7 @@ __fi void SIF1Dma() if (sif1.ee.busy) { - if(sif1.fifo.free() > 0 || (sif1.ee.end == true && sif1dma.qwc == 0)) + if(sif1.fifo.sif_free() > 0 || (sif1.ee.end == true && sif1dma.qwc == 0)) { BusyCheck++; HandleEETransfer(); diff --git a/pcsx2/gui/AppConfig.cpp b/pcsx2/gui/AppConfig.cpp index 02f76d5cba..8b81ef0bc5 100644 --- a/pcsx2/gui/AppConfig.cpp +++ b/pcsx2/gui/AppConfig.cpp @@ -1110,7 +1110,7 @@ void AppSaveSettings() return; } - Console.WriteLn("Saving ini files..."); + //Console.WriteLn("Saving ini files..."); SaveUiSettings(); SaveVmSettings(); diff --git a/pcsx2/gui/AppUserMode.cpp b/pcsx2/gui/AppUserMode.cpp index 40a9d85d81..8c96db750e 100644 --- a/pcsx2/gui/AppUserMode.cpp +++ b/pcsx2/gui/AppUserMode.cpp @@ -56,7 +56,7 @@ static wxFileName GetPortableIniPath() static wxString GetMsg_PortableModeRights() { - return pxE( "!Error:PortableModeRights", + return pxE( "!Notice:PortableModeRights", L"Please ensure that these folders are created and that your user account is granted " L"write permissions to them -- or re-run PCSX2 with elevated (administrator) rights, which " L"should grant PCSX2 the ability to create the necessary folders itself. If you " @@ -177,7 +177,12 @@ wxConfigBase* Pcsx2App::TestForPortableInstall() break; case pxID_CUSTOM: - // Pretend like the portable ini was never found! + wxDialogWithHelpers dialog2( NULL, AddAppName(_("%s is switching to local install mode.")) ); + dialog2 += dialog2.Heading( _("Try to remove the file called \"portable.ini\" from your installation directory manually." ) ); + dialog2 += 6; + pxIssueConfirmation( dialog2, MsgButtons().OK() ); + conf_portable.DetachPtr(); // Not sure but can't hurt + return NULL; } diff --git a/pcsx2/gui/FrameForGS.cpp b/pcsx2/gui/FrameForGS.cpp index c1065c04ad..6f6102f0fc 100644 --- a/pcsx2/gui/FrameForGS.cpp +++ b/pcsx2/gui/FrameForGS.cpp @@ -246,7 +246,7 @@ void GSPanel::OnLeftDclick(wxMouseEvent& evt) if( !g_Conf->GSWindow.IsToggleFullscreenOnDoubleClick ) return; - Console.WriteLn("GSPanel::OnDoubleClick: Invoking Fullscreen-Toggle accelerator."); + //Console.WriteLn("GSPanel::OnDoubleClick: Invoking Fullscreen-Toggle accelerator."); DirectKeyCommand(FULLSCREEN_TOGGLE_ACCELERATOR_GSPANEL); }