forked from len0rd/rockbox
FS#12259: Remove '-w' compiler option for MikMod. Resolve all yet unreported compiler warnings and fix a bug in load_gt2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30424 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7887e596a9
commit
e2186479d5
27 changed files with 239 additions and 58 deletions
|
|
@ -504,6 +504,7 @@ int UNI_Load(int curious)
|
|||
char *modtype,*oldtype=NULL;
|
||||
INSTRUMENT *d;
|
||||
SAMPLE *q;
|
||||
(void)curious;
|
||||
|
||||
/* read module header */
|
||||
_mm_read_UBYTES(mh.id,4,modreader);
|
||||
|
|
@ -514,7 +515,7 @@ int UNI_Load(int curious)
|
|||
|
||||
if(universion>=6) {
|
||||
if (universion==6)
|
||||
_mm_read_UBYTE(modreader);
|
||||
(void)_mm_read_UBYTE(modreader);
|
||||
else
|
||||
universion=_mm_read_M_UWORD(modreader);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue