Browse code

Update snes9x code from 1.53 to 1.6.0.

Notable differences from upstream:
* Did not use the same #include setup for the new byuu apu and instead chose to do things more traditionally, as the latter is also much easier to deal with in Visual Studio than just including .cpp files into other .cpp files...
* MSU1 support not included (I see no need for this in a plugin meant to be used for original SNES music).
* The dynamic rate control on the APU not included (I also see no need for it in this plugin).
* The extra resamplers I added in were removed as the original hermite resampler was folded into a single non-inhertiable resampler.
* Bits of cleanup.

Naram Qashat authored on 2021/04/19 21:20:36
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,10 +0,0 @@
1
-// snes_spc 0.9.0 user configuration file. Don't replace when updating library.
2
-
3
-// snes_spc 0.9.0
4
-#pragma once
5
-
6
-// Uncomment if automatic byte-order determination doesn't work
7
-//#define BLARGG_BIG_ENDIAN 1
8
-
9
-// Uncomment if you get errors in the bool section of blargg_common.h
10
-//#define BLARGG_COMPILER_HAS_BOOL 1
Browse code

A few more cases of using #pragma once instead of include guards.

Naram Qashat authored on 2014/09/08 14:51:19
Showing 1 changed files
... ...
@@ -1,13 +1,10 @@
1 1
 // snes_spc 0.9.0 user configuration file. Don't replace when updating library.
2 2
 
3 3
 // snes_spc 0.9.0
4
-#ifndef BLARGG_CONFIG_H
5
-#define BLARGG_CONFIG_H
4
+#pragma once
6 5
 
7 6
 // Uncomment if automatic byte-order determination doesn't work
8 7
 //#define BLARGG_BIG_ENDIAN 1
9 8
 
10 9
 // Uncomment if you get errors in the bool section of blargg_common.h
11 10
 //#define BLARGG_COMPILER_HAS_BOOL 1
12
-
13
-#endif
Browse code

[SNSF] Massive code cleanup, as well as removing as much unused code/variables as possible.

Naram Qashat authored on 2013/05/23 06:02:16
Showing 1 changed files
... ...
@@ -4,21 +4,10 @@
4 4
 #ifndef BLARGG_CONFIG_H
5 5
 #define BLARGG_CONFIG_H
6 6
 
7
-// Uncomment to disable debugging checks
8
-//#define NDEBUG 1
9
-
10
-// Uncomment to enable platform-specific (and possibly non-portable) optimizations
11
-//#define BLARGG_NONPORTABLE 1
12
-
13 7
 // Uncomment if automatic byte-order determination doesn't work
14 8
 //#define BLARGG_BIG_ENDIAN 1
15 9
 
16 10
 // Uncomment if you get errors in the bool section of blargg_common.h
17 11
 //#define BLARGG_COMPILER_HAS_BOOL 1
18 12
 
19
-// Use standard config.h if present
20
-#ifdef HAVE_CONFIG_H
21
-	#include "config.h"
22
-#endif
23
-
24 13
 #endif
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,24 @@
1
+// snes_spc 0.9.0 user configuration file. Don't replace when updating library.
2
+
3
+// snes_spc 0.9.0
4
+#ifndef BLARGG_CONFIG_H
5
+#define BLARGG_CONFIG_H
6
+
7
+// Uncomment to disable debugging checks
8
+//#define NDEBUG 1
9
+
10
+// Uncomment to enable platform-specific (and possibly non-portable) optimizations
11
+//#define BLARGG_NONPORTABLE 1
12
+
13
+// Uncomment if automatic byte-order determination doesn't work
14
+//#define BLARGG_BIG_ENDIAN 1
15
+
16
+// Uncomment if you get errors in the bool section of blargg_common.h
17
+//#define BLARGG_COMPILER_HAS_BOOL 1
18
+
19
+// Use standard config.h if present
20
+#ifdef HAVE_CONFIG_H
21
+	#include "config.h"
22
+#endif
23
+
24
+#endif