From fd0647cc023c83c3da7378670528795e76d17291 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Tue, 28 Sep 2010 22:02:42 +0000 Subject: [PATCH] Made the installer create a cheats directory as per request. Remove the sVU is broken warning, since it's been functionally restored. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3855 96395faa-99c1-11dd-bbfe-3dabce05a288 --- nsis/SectionCoreReqs.nsh | 5 +++++ nsis/SectionUninstaller.nsh | 1 + nsis/SharedRedtape.nsh | 3 +++ pcsx2/gui/Panels/CpuPanel.cpp | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/nsis/SectionCoreReqs.nsh b/nsis/SectionCoreReqs.nsh index c787906f6f..e5d10d097c 100644 --- a/nsis/SectionCoreReqs.nsh +++ b/nsis/SectionCoreReqs.nsh @@ -36,6 +36,11 @@ !insertmacro UNINSTALL.LOG_CLOSE_INSTALL + SetOutPath "$INSTDIR\Cheats" + !insertmacro UNINSTALL.LOG_OPEN_INSTALL + File ..\bin\Cheats\* + !insertmacro UNINSTALL.LOG_CLOSE_INSTALL + SetOutPath "$INSTDIR\Docs" !insertmacro UNINSTALL.LOG_OPEN_INSTALL File ..\bin\docs\* diff --git a/nsis/SectionUninstaller.nsh b/nsis/SectionUninstaller.nsh index ef004b0da5..35839a8c8b 100644 --- a/nsis/SectionUninstaller.nsh +++ b/nsis/SectionUninstaller.nsh @@ -19,6 +19,7 @@ Section "Un.Exes and Plugins ${APP_NAME}" !insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Langs" !insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Plugins" !insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Docs" + !insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Cheats" SectionEnd diff --git a/nsis/SharedRedtape.nsh b/nsis/SharedRedtape.nsh index eb32815822..73bf7679d2 100644 --- a/nsis/SharedRedtape.nsh +++ b/nsis/SharedRedtape.nsh @@ -110,6 +110,9 @@ Function un.onUninstSuccess StrCpy $0 "$INSTDIR\docs" Call un.DeleteDirIfEmpty + + StrCpy $0 "$INSTDIR\Cheats" + Call un.DeleteDirIfEmpty StrCpy $0 "$INSTDIR" Call un.DeleteDirIfEmpty diff --git a/pcsx2/gui/Panels/CpuPanel.cpp b/pcsx2/gui/Panels/CpuPanel.cpp index ed85721d86..56d682f021 100644 --- a/pcsx2/gui/Panels/CpuPanel.cpp +++ b/pcsx2/gui/Panels/CpuPanel.cpp @@ -190,7 +190,7 @@ Panels::CpuPanelVU::CpuPanelVU( wxWindow* parent ) RadioPanelItem(_("microVU Recompiler")) .SetToolTip(_("New Vector Unit recompiler with much improved compatibility. Recommended.")), - RadioPanelItem(_("superVU Recompiler [legacy, broken]")) + RadioPanelItem(_("superVU Recompiler [legacy]")) .SetToolTip(_("Useful for diagnosing bugs or clamping issues in the new mVU recompiler.")) };