1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/audio/stymulator/files/patch-stsoundlib_digidrum.cpp
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

29 lines
1.1 KiB
C++

--- stsoundlib/digidrum.cpp.orig 2016-07-26 16:04:42 UTC
+++ stsoundlib/digidrum.cpp
@@ -30,6 +30,7 @@
-----------------------------------------------------------------------------*/
#include "YmTypes.h"
+#include "digidrum.h"
static ymu8 sample00[631]={
0xCC,0x84,0xB4,0x70,0x90,0x94,0x70,0x80,0x80,0xAC,
@@ -2565,7 +2566,7 @@ static ymu8 sample39[656]={
0x80,0x80,0x80,0x80,0x80,0x80,};
/***********************************************************/
-ymu8 *sampleAdress[40] = {
+ymu8 *sampleAdress[MAX_DIGIDRUM] = {
sample00,sample01,sample02,sample03,sample04,sample05,sample06,sample07,
sample08,sample09,sample10,sample11,sample12,sample13,sample14,sample15,
sample16,sample17,sample18,sample19,sample20,sample21,sample22,sample23,
@@ -2574,7 +2575,7 @@ ymu8 *sampleAdress[40] = {
/***********************************************************/
-ymu32 sampleLen[40] = {
+ymu32 sampleLen[MAX_DIGIDRUM] = {
631, 631, 490, 490, 699, 505, 727, 480,
2108, 4231, 378, 1527, 258, 258, 451, 1795,
271, 633, 1379, 147, 139, 85, 150, 507,