Skip to content

Commit ffeace7

Browse files
committed
Fixed not being able to apply print FX
ViewMode was lost in a merge conflict Fixed naming for win32 builds Add stderr to lgpt log in launch shell files
1 parent ee7af1c commit ffeace7

6 files changed

Lines changed: 17 additions & 20 deletions

File tree

projects/resources/BITTBOY/lgpt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
LD_PRELOAD=./librtmidi.so ./lgpt-bittboy.elf > lgpt.log
3+
LD_PRELOAD=./librtmidi.so ./lgpt-bittboy.elf &> lgpt.log

projects/resources/GARLICPLUS/garlicos/LittleGPTracker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
progdir=$(dirname "$0")/lgpt
33
cd $progdir
44
HOME=$progdir
5-
LD_LIBRARY_PATH=$PROGDIR:$LD_LIBRARY_PATH ./lgpt-rg35xxplus.elf > ./lgpt.log
5+
LD_LIBRARY_PATH=$PROGDIR:$LD_LIBRARY_PATH ./lgpt-rg35xxplus.elf &> ./lgpt.log
66
sync

projects/resources/MIYOO/launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
PROGDIR=`dirname "$0"`
33
cd $PROGDIR
44

5-
LD_LIBRARY_PATH=$PROGDIR:$LD_LIBRARY_PATH ./lgpt-miyoo.elf > ./lgpt.log
5+
LD_LIBRARY_PATH=$PROGDIR:$LD_LIBRARY_PATH ./lgpt-miyoo.elf &> ./lgpt.log

projects/resources/packaging/lgpt_package.sh

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
#!/bin/bash
22
cd "$(git rev-parse --show-toplevel)/projects/"
3-
if [[ "$(uname)" == "Darwin" ]]; then #MacOS
4-
PROJECT_NUMBER=$(perl -nle 'print $1 if /PROJECT_NUMBER "([^"]*)"/' ../sources/Application/Model/Project.h)
5-
PROJECT_RELEASE=$(perl -nle 'print $1 if /PROJECT_RELEASE "([^"]*)"/' ../sources/Application/Model/Project.h)
6-
BUILD_COUNT=$(perl -nle 'print $1 if /BUILD_COUNT "([^"]*)"/' ../sources/Application/Model/Project.h)
7-
else
8-
PROJECT_NUMBER=$(grep -oP 'PROJECT_NUMBER "\K[^"]*' ../sources/Application/Model/Project.h)
9-
PROJECT_RELEASE=$(grep -oP 'PROJECT_RELEASE "\K[^"]*' ../sources/Application/Model/Project.h)
10-
BUILD_COUNT=$(grep -oP 'BUILD_COUNT "\K[^"]*' ../sources/Application/Model/Project.h)
11-
fi
3+
PROJECT_NUMBER=$(perl -nle 'print $1 if /PROJECT_NUMBER "([^"]*)"/' ../sources/Application/Model/Project.h)
4+
PROJECT_RELEASE=$(perl -nle 'print $1 if /PROJECT_RELEASE "([^"]*)"/' ../sources/Application/Model/Project.h)
5+
BUILD_COUNT=$(perl -nle 'print $1 if /BUILD_COUNT "([^"]*)"/' ../sources/Application/Model/Project.h)
126
VERSION="${PROJECT_NUMBER}.${PROJECT_RELEASE}.${BUILD_COUNT}"
137

148
collect_resources() { #1PLATFORM #2lgpt.*-exe
@@ -20,17 +14,19 @@ collect_resources() { #1PLATFORM #2lgpt.*-exe
2014
fi
2115
PACKAGE=LGPT-$1-$VERSION.zip
2216
echo "-=-=Packaging $PACKAGE=-=-"
17+
BINARY=" $(find . -iname $2)"
18+
chmod +x $BINARY
2319
CONTENTS="./resources/$1/*"
2420
CONTENTS+=" ./custom_font.xml"
25-
CONTENTS+=" $(find . -iname $2)"
21+
CONTENTS+=" $BINARY"
2622
if [ "$1" == "PSP" ] ||
2723
[ "$1" == "GARLIC" ] ||
2824
[ "$1" == "RG35XXPLUS" ] ||
2925
[ "$1" == "BITTBOY" ]; then # All files go in the root folder
3026
zip -9 $PACKAGE -j $CONTENTS
3127
elif [ "$1" == "MACOS" ]; then # .app is a folder
32-
zip -9 $PACKAGE -j $CONTENTS
33-
zip -9yr $PACKAGE LittleGPTracker.app/
28+
zip -9 $PACKAGE -j $CONTENTS
29+
zip -9yr $PACKAGE LittleGPTracker.app/
3430
else # all the others go in the bin
3531
mkdir bin ; cp $CONTENTS bin
3632
zip -9 $PACKAGE bin/* && rm -r bin/

sources/Application/Model/Project.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#define PROJECT_NUMBER "1"
2222
#define PROJECT_RELEASE "4"
23-
#define BUILD_COUNT "3-bacon4"
23+
#define BUILD_COUNT "3-bacon5"
2424

2525
#define MAX_TAP 3
2626

sources/Application/Views/InstrumentView.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,11 @@ void InstrumentView::ProcessButtonMask(unsigned short mask,bool pressed) {
387387
// A modifier
388388

389389
if (mask==EPBM_A) {
390-
FourCC varID=((UIIntVarField *)GetFocus())->GetVariableID() ;
391-
if ((varID==SIP_TABLE)||(varID==MIP_TABLE)||(varID==SIP_SAMPLE)) {
392-
viewMode_=VM_NEW ;
393-
} ;
390+
FourCC varID = ((UIIntVarField *)GetFocus())->GetVariableID();
391+
if ((varID == SIP_TABLE) || (varID == MIP_TABLE) ||
392+
(varID == SIP_SAMPLE) || (varID == SIP_PRINTFX)) {
393+
viewMode_ = VM_NEW;
394+
}
394395
} else {
395396

396397
// R Modifier

0 commit comments

Comments
 (0)