Skip to content

Commit a39f05d

Browse files
committed
vice - be more specific in logic for using fastsid / lowering samplerate
Previously the "not x11" meant "arm", but it's better to use the flag now as lots has changed since this was written. Also use armv6 for lowering samplerate instead of testing for rpi1 to be more generic.
1 parent 6b00bf9 commit a39f05d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scriptmodules/emulators/vice.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,11 @@ _EOF_
100100
iniSet "VICIIVideoCache" "0"
101101
iniSet "SDLWindowWidth" "384"
102102
iniSet "SDLWindowHeight" "272"
103-
isPlatform "rpi1" && iniSet "SoundSampleRate" "22050"
103+
fi
104+
105+
if isPlatform "arm"; then
104106
iniSet "SidEngine" "0"
107+
isPlatform "armv6" && iniSet "SoundSampleRate" "22050"
105108
fi
106109

107110
if isPlatform "x11" || isPlatform "kms"; then

0 commit comments

Comments
 (0)