From a94570e593fe9514565f8b1ea8b146d3eba8e822 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 11 Jul 2024 18:58:03 +1000 Subject: [PATCH] Enable actions on AngledLighting branch --- .github/workflows/build_linux.yml | 3 ++- .github/workflows/build_mac64.yml | 1 + .github/workflows/build_windows.yml | 3 ++- src/Window_GCWii.c | 2 +- src/Window_WiiU.cpp | 1 + 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 97f342ef0..1d912249b 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -6,6 +6,7 @@ on: - main - master - ModernLighting + - AngledLighting workflow_dispatch: concurrency: @@ -119,4 +120,4 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: DESTINATION_URL: '${{ secrets.NOTIFY_URL }}' - WORKFLOW_NAME: 'linux64' \ No newline at end of file + WORKFLOW_NAME: 'linux64' diff --git a/.github/workflows/build_mac64.yml b/.github/workflows/build_mac64.yml index 1b2966b62..f4c19e2f9 100644 --- a/.github/workflows/build_mac64.yml +++ b/.github/workflows/build_mac64.yml @@ -5,6 +5,7 @@ on: branches: - main - master + - AngledLighting workflow_dispatch: diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 73a4cf8fa..3cf390a67 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -6,6 +6,7 @@ on: - main - master - ModernLighting + - AngledLighting workflow_dispatch: concurrency: @@ -133,4 +134,4 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: DESTINATION_URL: '${{ secrets.NOTIFY_URL }}' - WORKFLOW_NAME: 'win64' \ No newline at end of file + WORKFLOW_NAME: 'win64' diff --git a/src/Window_GCWii.c b/src/Window_GCWii.c index 97fdf2f20..62f7e24f8 100644 --- a/src/Window_GCWii.c +++ b/src/Window_GCWii.c @@ -420,7 +420,7 @@ static void ProcessWPADInput(int i, float delta) { if (res) return; WPADData* wd = WPAD_Data(i); - u32 mods = wd->btn_h | wd->btn_d; // buttons held | buttons down now + u32 mods = wd->btns_h | wd->btns_d; // buttons held | buttons down now int port = Gamepad_MapPort(i + 20); if (type == WPAD_EXP_CLASSIC) { diff --git a/src/Window_WiiU.cpp b/src/Window_WiiU.cpp index f181bf7a9..3ea1bf9f6 100644 --- a/src/Window_WiiU.cpp +++ b/src/Window_WiiU.cpp @@ -12,6 +12,7 @@ extern "C" { #include "ExtMath.h" #include "Graphics.h" #include "Launcher.h" +#include "LBackend.h" } #include #include