Created
September 9, 2015 16:13
-
-
Save uobikiemukot/2ca06141931f22f8ebbe to your computer and use it in GitHub Desktop.
diff of vgm.h in yasp
This file contains 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 characters
--- 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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment