forked from len0rd/rockbox
Fixed freezing after loader error messages.
Added RMID (Windows MIDI) header support. Added .RMI extension to viewers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9888 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1d08533377
commit
b9b2bcd9b9
4 changed files with 40 additions and 13 deletions
|
@ -208,6 +208,11 @@ int midimain(void * filename)
|
|||
printf("\nLoading file");
|
||||
mf= loadFile(filename);
|
||||
|
||||
if(mf == NULL)
|
||||
{
|
||||
printf("\nError loading file.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (initSynth(mf, "/.rockbox/patchset/patchset.cfg", "/.rockbox/patchset/drums.cfg") == -1)
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue