mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-06 13:57:55 +03:00
Load MDA from file
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user