Browse code

Updating in_2sf to use a newish version of DeSmuME, 0.9.9 from SVN. Somewhat cleaned up as well, but not everything because it's a pain in the ass.

Naram Qashat authored on 2013/04/18 17:22:55
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,82 +0,0 @@
1
-/* SPU2-X, A plugin for Emulating the Sound Processing Unit of the Playstation 2
2
- * Developed and maintained by the Pcsx2 Development Team.
3
- *
4
- * Original portions from SPU2ghz are (c) 2008 by David Quintana [gigaherz]
5
- *
6
- * SPU2-X is free software: you can redistribute it and/or modify it under the terms
7
- * of the GNU Lesser General Public License as published by the Free Software Found-
8
- * ation, either version 3 of the License, or (at your option) any later version.
9
- *
10
- * SPU2-X is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11
- * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
- * PURPOSE.  See the GNU Lesser General Public License for more details.
13
- *
14
- * You should have received a copy of the GNU Lesser General Public License
15
- * along with SPU2-X.  If not, see <http://www.gnu.org/licenses/>.
16
- */
17
-
18
-#pragma once
19
-#ifdef _XBOX
20
-#include <xtl.h>
21
-#elif _WIN32
22
-#include "windowsh_wrapper.h"
23
-#endif
24
-
25
-#include "../SoundTouch/SoundTouch.h"
26
-
27
-//#ifdef _WIN32
28
-//#	include "WinConfig.h"
29
-//#else
30
-//#	include "LnxConfig.h"
31
-//#endif
32
-//
33
-//namespace DebugConfig
34
-//{
35
-//	extern void ReadSettings();
36
-//	extern void WriteSettings();
37
-//	extern void OpenDialog();
38
-//	extern void EnableControls( HWND hWnd );
39
-//}
40
-//
41
-namespace SoundtouchCfg
42
-{
43
-	extern void ReadSettings();
44
-	extern void WriteSettings();
45
-	extern void OpenDialog(HWND hWnd);
46
-	extern bool CALLBACK DialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
47
-	extern void ApplySettings(soundtouch::SoundTouch& sndtouch);
48
-}
49
-//
50
-//extern int		SendDialogMsg( HWND hwnd, int dlgId, UINT code, WPARAM wParam, LPARAM lParam);
51
-//extern HRESULT	GUIDFromString( const char *str, LPGUID guid );
52
-//
53
-//extern void		AssignSliderValue( HWND idcwnd, HWND hwndDisplay, int value );
54
-//extern void		AssignSliderValue( HWND hWnd, int idc, int editbox, int value );
55
-//extern int		GetSliderValue( HWND hWnd, int idc );
56
-//extern bool		DoHandleScrollMessage( HWND hwndDisplay, WPARAM wParam, LPARAM lParam );
57
-//
58
-//extern bool		CfgFindName( const TCHAR *Section, const TCHAR* Name);
59
-//
60
-//extern void		CfgWriteBool(const TCHAR* Section, const TCHAR* Name, bool Value);
61
-//extern void		CfgWriteInt(const TCHAR* Section, const TCHAR* Name, int Value);
62
-//extern void		CfgWriteStr(const TCHAR* Section, const TCHAR* Name, const wstring& Data);
63
-//
64
-//extern bool		CfgReadBool(const TCHAR *Section,const TCHAR* Name, bool Default);
65
-//extern void		CfgReadStr(const TCHAR* Section, const TCHAR* Name, wstring& Data, int DataSize, const TCHAR* Default);
66
-//extern void		CfgReadStr(const TCHAR* Section, const TCHAR* Name, TCHAR* Data, int DataSize, const TCHAR* Default);
67
-//extern int		CfgReadInt(const TCHAR* Section, const TCHAR* Name,int Default);
68
-//
69
-//
70
-//// Items Specific to DirectSound
71
-//#define STRFY(x) #x
72
-//#define verifyc(x) Verifyc(x,STRFY(x))
73
-//
74
-//extern void Verifyc(HRESULT hr, const char* fn);
75
-//
76
-//struct ds_device_data
77
-//{
78
-//	std::wstring name;
79
-//	GUID guid;
80
-//	bool hasGuid;
81
-//};
82
-//
Browse code

Import actual code.

Naram Qashat authored on 2013/03/26 02:41:19
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,82 @@
1
+/* SPU2-X, A plugin for Emulating the Sound Processing Unit of the Playstation 2
2
+ * Developed and maintained by the Pcsx2 Development Team.
3
+ *
4
+ * Original portions from SPU2ghz are (c) 2008 by David Quintana [gigaherz]
5
+ *
6
+ * SPU2-X is free software: you can redistribute it and/or modify it under the terms
7
+ * of the GNU Lesser General Public License as published by the Free Software Found-
8
+ * ation, either version 3 of the License, or (at your option) any later version.
9
+ *
10
+ * SPU2-X is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
+ * PURPOSE.  See the GNU Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public License
15
+ * along with SPU2-X.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+
18
+#pragma once
19
+#ifdef _XBOX
20
+#include <xtl.h>
21
+#elif _WIN32
22
+#include "windowsh_wrapper.h"
23
+#endif
24
+
25
+#include "../SoundTouch/SoundTouch.h"
26
+
27
+//#ifdef _WIN32
28
+//#	include "WinConfig.h"
29
+//#else
30
+//#	include "LnxConfig.h"
31
+//#endif
32
+//
33
+//namespace DebugConfig
34
+//{
35
+//	extern void ReadSettings();
36
+//	extern void WriteSettings();
37
+//	extern void OpenDialog();
38
+//	extern void EnableControls( HWND hWnd );
39
+//}
40
+//
41
+namespace SoundtouchCfg
42
+{
43
+	extern void ReadSettings();
44
+	extern void WriteSettings();
45
+	extern void OpenDialog(HWND hWnd);
46
+	extern bool CALLBACK DialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
47
+	extern void ApplySettings(soundtouch::SoundTouch& sndtouch);
48
+}
49
+//
50
+//extern int		SendDialogMsg( HWND hwnd, int dlgId, UINT code, WPARAM wParam, LPARAM lParam);
51
+//extern HRESULT	GUIDFromString( const char *str, LPGUID guid );
52
+//
53
+//extern void		AssignSliderValue( HWND idcwnd, HWND hwndDisplay, int value );
54
+//extern void		AssignSliderValue( HWND hWnd, int idc, int editbox, int value );
55
+//extern int		GetSliderValue( HWND hWnd, int idc );
56
+//extern bool		DoHandleScrollMessage( HWND hwndDisplay, WPARAM wParam, LPARAM lParam );
57
+//
58
+//extern bool		CfgFindName( const TCHAR *Section, const TCHAR* Name);
59
+//
60
+//extern void		CfgWriteBool(const TCHAR* Section, const TCHAR* Name, bool Value);
61
+//extern void		CfgWriteInt(const TCHAR* Section, const TCHAR* Name, int Value);
62
+//extern void		CfgWriteStr(const TCHAR* Section, const TCHAR* Name, const wstring& Data);
63
+//
64
+//extern bool		CfgReadBool(const TCHAR *Section,const TCHAR* Name, bool Default);
65
+//extern void		CfgReadStr(const TCHAR* Section, const TCHAR* Name, wstring& Data, int DataSize, const TCHAR* Default);
66
+//extern void		CfgReadStr(const TCHAR* Section, const TCHAR* Name, TCHAR* Data, int DataSize, const TCHAR* Default);
67
+//extern int		CfgReadInt(const TCHAR* Section, const TCHAR* Name,int Default);
68
+//
69
+//
70
+//// Items Specific to DirectSound
71
+//#define STRFY(x) #x
72
+//#define verifyc(x) Verifyc(x,STRFY(x))
73
+//
74
+//extern void Verifyc(HRESULT hr, const char* fn);
75
+//
76
+//struct ds_device_data
77
+//{
78
+//	std::wstring name;
79
+//	GUID guid;
80
+//	bool hasGuid;
81
+//};
82
+//