1
0
Fork 0
forked from len0rd/rockbox

Update libgme to Blargg's Game_Music_Emu 0.6-pre.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30397 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-08-31 19:19:49 +00:00
parent d089e10403
commit 13cbade08a
68 changed files with 4113 additions and 4893 deletions

View file

@ -74,7 +74,7 @@ enum codec_status codec_run(void)
}
if ((err = Ay_load_mem(&ay_emu, buf, ci->filesize))) {
DEBUGF("AY: Ay_load failed (%s)\n", err);
DEBUGF("AY: Ay_load_mem failed (%s)\n", err);
return CODEC_ERROR;
}
@ -118,7 +118,7 @@ next_track:
/* Generate audio buffer */
err = Ay_play(&ay_emu, CHUNK_SIZE, samples);
if (err || ay_emu.track_ended) {
if (err || Track_ended(&ay_emu)) {
track++;
if (track >= ay_emu.track_count) break;
goto next_track;