Fix easter eggs music...

We have pointers now. Not arrays.
This commit is contained in:
Kostas Missos committed 2018-03-27 19:36:57 +03:00
1 parent b6184931ae
commit 8e1c33edba
1 file changed
+2 -2
+2 -2
View File
@@ -1092,11 +1092,11 @@ int play_tune(int tune_no) {
int tune_size = 0;
switch (tune_no) {
case 0:
memcpy(&tune, &tune_SMB, sizeof(tune_SMB));
memcpy(tune, &tune_SMB, sizeof(tune_SMB));
tune_size = sizeof(tune_SMB) / sizeof(u32);
break;
case 1:
memcpy(&tune, &tune_SMO_OK, sizeof(tune_SMO_OK));
memcpy(tune, &tune_SMO_OK, sizeof(tune_SMO_OK));
tune_size = sizeof(tune_SMO_OK) / sizeof(u32);
break;
}