Skip to content

Commit

Permalink
fix one more crash. release 0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Jan 24, 2022
1 parent bd8c06b commit d0c485f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD 14)

set(CMAKE_PROJECT_VERSION_MAJOR 0)
set(CMAKE_PROJECT_VERSION_MINOR 4)
set(CMAKE_PROJECT_VERSION_PATCH 6)
set(CMAKE_PROJECT_VERSION_PATCH 7)

if (ANDROID)
set(BUILD_GUI OFF)
Expand Down
6 changes: 3 additions & 3 deletions res/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string>0.4.6</string>
<string>0.4.7</string>
<key>CFBundleName</key>
<string>Furnace</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.4.6</string>
<string>0.4.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.4.6</string>
<string>0.4.7</string>
<key>NSHumanReadableCopyright</key>
<string></string>
<key>NSHighResolutionCapable</key>
Expand Down
2 changes: 2 additions & 0 deletions src/engine/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3334,6 +3334,7 @@ bool DivEngine::moveSampleDown(int which) {
}

void DivEngine::noteOn(int chan, int ins, int note, int vol) {
if (chan<0 || chan>=chans) return;
isBusy.lock();
pendingNotes.push(DivNoteEvent(chan,ins,note,vol,true));
if (!playing) {
Expand All @@ -3345,6 +3346,7 @@ void DivEngine::noteOn(int chan, int ins, int note, int vol) {
}

void DivEngine::noteOff(int chan) {
if (chan<0 || chan>=chans) return;
isBusy.lock();
pendingNotes.push(DivNoteEvent(chan,-1,-1,-1,false));
if (!playing) {
Expand Down
2 changes: 1 addition & 1 deletion src/engine/engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <map>
#include <queue>

#define DIV_VERSION "0.4.6"
#define DIV_VERSION "0.4.7"
#define DIV_ENGINE_VERSION 27

enum DivStatusView {
Expand Down

0 comments on commit d0c485f

Please sign in to comment.