audio/playtone: KEY -> HidNpadButton, which were missed previously.

This commit is contained in:
yellows8 2021-02-15 12:29:32 -05:00
parent 78b1ed515e
commit e423a0ab0e
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -145,13 +145,13 @@ int main(int argc, char **argv)
play_tone = true;
}
if (kDown & KEY_L)
if (kDown & HidNpadButton_L)
{
fill_audio_buffer(out_buf_data, 0, data_size, notefreq[8]);
play_tone = true;
}
if (kDown & KEY_R)
if (kDown & HidNpadButton_R)
{
fill_audio_buffer(out_buf_data, 0, data_size, notefreq[9]);
play_tone = true;