Skip to content

Commit 75540ff

Browse files
committed
Round music tones in vgc
1 parent 59b4ae2 commit 75540ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/programs/vgc/vgc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void vgc(const char** unused) {
107107
}
108108

109109
int notes[] = {
110-
293, 329, 349, 55, 329, 220, 261, 55, 220, 329, 329, 55,
110+
290, 330, 350, 50, 330, 220, 260, 50, 220, 330, 330, 50,
111111
};
112112

113113
int num_notes = sizeof(notes) / sizeof(notes[0]);
@@ -125,7 +125,7 @@ void vgc(const char** unused) {
125125

126126
int current_note = notes[note_index];
127127

128-
if (current_note == 55 && allow_shake) {
128+
if (current_note == 50 && allow_shake) {
129129
random();
130130
shake_x = (int)(random_get() % 11) - 5;
131131
random();

0 commit comments

Comments
 (0)