Merge pull request #584 from ggrtk/maint

Minor maintenance updates
This commit is contained in:
Connor McLaughlin 2020-07-03 15:20:31 +10:00 committed by GitHub
commit 2963528a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -10,8 +10,9 @@ jobs:
windows-build: windows-build:
runs-on: windows-2019 runs-on: windows-2019
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2.3.1
with: with:
fetch-depth: 0
submodules: true submodules: true
- name: Compile release build - name: Compile release build
@ -56,7 +57,9 @@ jobs:
linux-build: linux-build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2.3.1
with:
fetch-depth: 0
- name: Install packages - name: Install packages
shell: bash shell: bash

View file

@ -95,6 +95,10 @@ Alternatively, the region checking can be disabled in the console options tab. T
Mismatching the disc and console regions with the check disabled is supported, but may break games if they are patching the BIOS and expecting specific content. Mismatching the disc and console regions with the check disabled is supported, but may break games if they are patching the BIOS and expecting specific content.
### LibCrypt protection and SBI files
A number of PAL region games use LibCrypt protection, requiring additional CD subchannel information to run properly. For these games, make sure that the CD image and its corresponding SBI (.sbi) file have the same name and are placed in the same directory. DuckStation will automatically load the SBI file when it is found next to the CD image.
## Building ## Building
### Windows ### Windows

View file

@ -319,7 +319,7 @@ bool SDLControllerInterface::HandleControllerButtonEvent(const SDL_Event* ev)
Log_DebugPrintf("controller %d button %d %s", ev->cbutton.which, ev->cbutton.button, Log_DebugPrintf("controller %d button %d %s", ev->cbutton.which, ev->cbutton.button,
ev->cbutton.state == SDL_PRESSED ? "pressed" : "released"); ev->cbutton.state == SDL_PRESSED ? "pressed" : "released");
auto it = GetControllerDataForJoystickId(ev->caxis.which); auto it = GetControllerDataForJoystickId(ev->cbutton.which);
if (it == m_controllers.end()) if (it == m_controllers.end())
return false; return false;