This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
if [ "$1" = "inside-nix-shell" ]; then | |
echo "Clearing clangd cache." | |
rm -f "compile_commands.json" | |
rm -rf ".clangd" | |
LIBEAR32="$(nix-build "<nixpkgs>" -A bear --argstr system i686-linux)/lib/bear/libear.so" | |
LIBEAR64="$(nix-build "<nixpkgs>" -A bear --argstr system x86_64-linux)/lib/bear/libear.so" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bsnes/target-bsnes/settings/input.cpp b/bsnes/target-bsnes/settings/input.cpp | |
index 13b04b7a..fd76ac78 100644 | |
--- a/bsnes/target-bsnes/settings/input.cpp | |
+++ b/bsnes/target-bsnes/settings/input.cpp | |
@@ -68,12 +68,11 @@ auto InputSettings::updateControls() -> void { | |
assignMouse3.setVisible(false); | |
if(activeMapping) { | |
- auto& input = activeDevice().mappings[batched.left().offset()]; | |
- if(input.isDigital()) { |
OlderNewer