From 3a4aeb2ad47b537aebe00c4e28baccf8e181b9fc Mon Sep 17 00:00:00 2001 From: khang06 Date: Sun, 9 Jun 2019 14:05:36 -0400 Subject: [PATCH] 88 keys -> 128 keys --- PianoFromAbove/Config.cpp | 4 ++-- PianoFromAbove/GameState.cpp | 4 ++-- PianoFromAbove/PianoFromAbove.rc | Bin 35560 -> 35562 bytes 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PianoFromAbove/Config.cpp b/PianoFromAbove/Config.cpp index 6cc1c9a..896d82d 100644 --- a/PianoFromAbove/Config.cpp +++ b/PianoFromAbove/Config.cpp @@ -129,8 +129,8 @@ void VisualSettings::LoadDefaultValues() this->eKeysShown = All; this->bAlwaysShowControls = false; this->bAssociateFiles = false; - this->iFirstKey = MIDI::A0; - this->iLastKey = MIDI::C8; + this->iFirstKey = 0; + this->iLastKey = 127; iBkgColor = 0x00303030; int R, G, B, H = 0, S = 80, V = 100; diff --git a/PianoFromAbove/GameState.cpp b/PianoFromAbove/GameState.cpp index 0195131..57b0063 100644 --- a/PianoFromAbove/GameState.cpp +++ b/PianoFromAbove/GameState.cpp @@ -1295,8 +1295,8 @@ void MainScreen::RenderGlobals() const MIDI::MIDIInfo &mInfo = m_MIDI.GetInfo(); if ( m_eKeysShown == VisualSettings::All ) { - m_iStartNote = min( m_iStartNote, MIDI::A0 ); - m_iEndNote = max( m_iEndNote, MIDI::C8 ); + m_iStartNote = 0; + m_iEndNote = 127; } else if ( m_eKeysShown == VisualSettings::Song ) { diff --git a/PianoFromAbove/PianoFromAbove.rc b/PianoFromAbove/PianoFromAbove.rc index 8555cab9da8d14fba89e57480ae025a3db4b0090..6792a5729e60ff9ff778b0a2d1ab62bfc45b7c73 100644 GIT binary patch delta 18 ZcmaDcmFd+~rVUX%%!Uj`o1=Mp>i|Y+2BH7} delta 16 XcmaDgmFdM)rVUX%j24??d3x&rJkbVs