Created
September 9, 2015 16:13
-
-
Save uobikiemukot/2ca06141931f22f8ebbe to your computer and use it in GitHub Desktop.
Revisions
-
uobikiemukot created this gist
Sep 9, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ --- vgm.h.orig 2015-09-10 01:12:19.019687382 +0900 +++ vgm.h 2015-09-10 01:12:42.259665862 +0900 @@ -224,7 +224,7 @@ spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x10, 0x13); spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x10, 0x80); spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x00, 0x60); - spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x01, 0x02); + spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x01, 0x00); spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x02, low_byte(start_addr)); spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x03, high_byte(start_addr)); @@ -238,8 +238,6 @@ count = 0; while (count < adpcm_size) { spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x08, adpcm[count]); - spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x10, 0x1B); - spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x10, 0x13); count++; } spfm_send(serial_fd, OPNA_SLOT_NUM, 0x01, 0x00, 0x00);