Permalink
Browse files

Changed 'poslookupcnt' var type to UWORD, because some modules (mostl…

…y IT) may have >255 orders.
  • Loading branch information...
1 parent 977a50f commit 34963d0994c025676d2babb94eecabb10c2fdb41 denis111 committed Dec 6, 2007
Showing with 4 additions and 4 deletions.
  1. +2 −2 include/mikmod_internals.h
  2. +2 −2 playercode/mlutil.c
View
4 include/mikmod_internals.h
@@ -20,7 +20,7 @@
/*==============================================================================
- $Id: mikmod_internals.h,v 1.5 2006/08/08 00:06:31 realtech Exp $
+ $Id: mikmod_internals.h,v 1.6 2007/12/06 17:44:29 denis111 Exp $
MikMod sound library internal definitions
@@ -555,7 +555,7 @@ extern UWORD npertab[7*OCTAVE]; /* used by the original MOD loaders */
extern SBYTE remap[UF_MAXCHAN]; /* for removing empty channels */
extern UBYTE* poslookup; /* lookup table for pattern jumps after
blank pattern removal */
-extern UBYTE poslookupcnt;
+extern UWORD poslookupcnt;
extern UWORD* origpositions;
extern BOOL filters; /* resonant filters in use */
View
4 playercode/mlutil.c
@@ -20,7 +20,7 @@
/*==============================================================================
- $Id: mlutil.c,v 1.2 2005/03/30 19:11:35 realtech Exp $
+ $Id: mlutil.c,v 1.3 2007/12/06 17:43:10 denis111 Exp $
Utility functions for the module loader
@@ -60,7 +60,7 @@ CHAR *STM_Version[STM_NTRACKERS] = {
SBYTE remap[UF_MAXCHAN]; /* for removing empty channels */
UBYTE* poslookup=NULL; /* lookup table for pattern jumps after blank
pattern removal */
-UBYTE poslookupcnt;
+UWORD poslookupcnt;
UWORD* origpositions=NULL;
BOOL filters; /* resonant filters in use */

0 comments on commit 34963d0

Please sign in to comment.