Load MDA from file

This commit is contained in:
kichikuou
2016-04-02 19:45:05 +09:00
parent 67557bb2bd
commit fff314587b
3 changed files with 36 additions and 30 deletions
+1 -4
View File
@@ -7,9 +7,6 @@
#include "mako.h"
#include "dri.h"
extern HINSTANCE g_hinst;
extern HWND g_hwnd;
#define next_mml(p) mml[p].data[mml[p].addr++]
// MIDI音源
@@ -489,7 +486,7 @@ void MAKO::load_mda(int page)
int size;
uint8* data = NULL;
if((data = dri->load(path, page, &size)) == NULL) {
data = dri->load_mda(g_hinst, nact->crc32, page, &size);
data = dri->load_mda(nact->crc32, page, &size);
}
if(data) {