mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-10 00:08:26 +03:00
Merge upstream changes: Merge DRI changes
- Fail if file entry's size is 0 - load_mda() can now load MDA from subsequent disks.
This commit is contained in:
@@ -570,7 +570,7 @@ void MAKOMidi::load_mda(int page)
|
||||
int size;
|
||||
uint8* data = NULL;
|
||||
if((data = dri->load(path, page, &size)) == NULL) {
|
||||
data = dri->load_mda(nact->crc32_a, page, &size);
|
||||
data = dri->load_mda(nact->crc32_a, nact->crc32_b, page, &size);
|
||||
}
|
||||
|
||||
if(data) {
|
||||
|
||||
Reference in New Issue
Block a user