From a578fcdc0d1b88615cd8abe2aea8e79316f9f97d Mon Sep 17 00:00:00 2001 From: Jacky TSUI Date: Sun, 26 May 2013 22:34:29 +0800 Subject: [PATCH 1/2] Should be safe to remove those manual register/unregister --- filter/lib/Run these as administrator!.txt | 5 ----- filter/lib/register.bat | 1 - filter/lib/unregister.bat | 1 - 3 files changed, 7 deletions(-) delete mode 100644 filter/lib/Run these as administrator!.txt delete mode 100644 filter/lib/register.bat delete mode 100644 filter/lib/unregister.bat diff --git a/filter/lib/Run these as administrator!.txt b/filter/lib/Run these as administrator!.txt deleted file mode 100644 index 9929615e6e..0000000000 --- a/filter/lib/Run these as administrator!.txt +++ /dev/null @@ -1,5 +0,0 @@ -Open task manager (Ctrl Shift Esc) -click show all processes button to launch it in Admin elevation. -click File > Run -tick create the task with administrative priviledges -select {ppssppdir}\lib\filter\Register.bat diff --git a/filter/lib/register.bat b/filter/lib/register.bat deleted file mode 100644 index b71d0863a6..0000000000 --- a/filter/lib/register.bat +++ /dev/null @@ -1 +0,0 @@ -@regsvr32 AsyncStreamflt.ax \ No newline at end of file diff --git a/filter/lib/unregister.bat b/filter/lib/unregister.bat deleted file mode 100644 index 76bb89e792..0000000000 --- a/filter/lib/unregister.bat +++ /dev/null @@ -1 +0,0 @@ -@regsvr32 /u AsyncStreamflt.ax \ No newline at end of file From 83cb0869f41e44f2014424ea3f409e044da2c463 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 26 May 2013 23:55:54 +0800 Subject: [PATCH 2/2] Add NOTICE_LOG to indicate the filter load successfully --- Core/HW/audioPlayer.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Core/HW/audioPlayer.cpp b/Core/HW/audioPlayer.cpp index fc07dfb16d..dfc8b6979a 100644 --- a/Core/HW/audioPlayer.cpp +++ b/Core/HW/audioPlayer.cpp @@ -568,9 +568,12 @@ void deleteAtrac3Audio(int atracID) void initaudioEngine() { - if (LoadFilterLibrary(0, "filter\\lib\\AsyncStreamflt.ax") != S_OK) - { - WARN_LOG(HLE, "Can't load AsyncStreamflt.ax"); + if (g_Config.bAutoLoadDShow) { + if (LoadFilterLibrary(0, "filter\\lib\\AsyncStreamflt.ax") != S_OK) { + WARN_LOG(HLE, "AsyncStreamflt.ax failed to load"); + } else { + NOTICE_LOG(HLE, "AsyncStreamflt.ax loading completed successfully"); + } } CoInitialize(0); }