diff options
| -rwxr-xr-x | .ci/scripts/windows/docker.sh | 1 | ||||
| -rw-r--r-- | .github/workflows/android-build.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/verify.yml | 19 | ||||
| -rw-r--r-- | src/android/app/src/main/AndroidManifest.xml | 2 | ||||
| -rw-r--r-- | src/common/settings.cpp | 2 | ||||
| -rw-r--r-- | src/core/arm/arm_interface.cpp | 2 |
6 files changed, 14 insertions, 13 deletions
diff --git a/.ci/scripts/windows/docker.sh b/.ci/scripts/windows/docker.sh index 0be3613aa..45f75c874 100755 --- a/.ci/scripts/windows/docker.sh +++ b/.ci/scripts/windows/docker.sh | |||
| @@ -56,7 +56,6 @@ for i in package/*.exe; do | |||
| 56 | x86_64-w64-mingw32-strip "${i}" | 56 | x86_64-w64-mingw32-strip "${i}" |
| 57 | done | 57 | done |
| 58 | 58 | ||
| 59 | pip3 install pefile | ||
| 60 | python3 .ci/scripts/windows/scan_dll.py package/*.exe package/imageformats/*.dll "package/" | 59 | python3 .ci/scripts/windows/scan_dll.py package/*.exe package/imageformats/*.dll "package/" |
| 61 | 60 | ||
| 62 | # copy FFmpeg libraries | 61 | # copy FFmpeg libraries |
diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index e639e965a..5893f860e 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml | |||
| @@ -10,6 +10,7 @@ on: | |||
| 10 | jobs: | 10 | jobs: |
| 11 | android: | 11 | android: |
| 12 | runs-on: ubuntu-latest | 12 | runs-on: ubuntu-latest |
| 13 | if: ${{ github.repository == 'yuzu-emu/yuzu-android' }} | ||
| 13 | steps: | 14 | steps: |
| 14 | - uses: actions/checkout@v3 | 15 | - uses: actions/checkout@v3 |
| 15 | with: | 16 | with: |
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 6420fd82b..cbe6b0fbd 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml | |||
| @@ -85,16 +85,17 @@ jobs: | |||
| 85 | restore-keys: | | 85 | restore-keys: | |
| 86 | ${{ runner.os }}-msvc- | 86 | ${{ runner.os }}-msvc- |
| 87 | - name: Install dependencies | 87 | - name: Install dependencies |
| 88 | # due to how chocolatey works, only cmd.exe is supported here | 88 | shell: pwsh |
| 89 | shell: cmd | ||
| 90 | run: | | 89 | run: | |
| 91 | choco install wget | 90 | $ErrorActionPreference = "Stop" |
| 92 | call refreshenv | 91 | $BuildCacheVer = "v0.28.4" |
| 93 | wget https://github.com/mbitsnbites/buildcache/releases/download/v0.27.6/buildcache-windows.zip | 92 | $File = "buildcache-windows.zip" |
| 94 | 7z x buildcache-windows.zip | 93 | $Uri = "https://github.com/mbitsnbites/buildcache/releases/download/$BuildCacheVer/$File" |
| 95 | copy buildcache\bin\buildcache.exe C:\ProgramData\chocolatey\bin | 94 | $WebClient = New-Object System.Net.WebClient |
| 96 | rmdir buildcache | 95 | $WebClient.DownloadFile($Uri, $File) |
| 97 | echo %PATH% >> %GITHUB_PATH% | 96 | 7z x $File |
| 97 | $CurrentDir = Convert-Path . | ||
| 98 | echo "$CurrentDir/buildcache/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
| 98 | - name: Install Vulkan SDK | 99 | - name: Install Vulkan SDK |
| 99 | shell: pwsh | 100 | shell: pwsh |
| 100 | run: .\.ci\scripts\windows\install-vulkan-sdk.ps1 | 101 | run: .\.ci\scripts\windows\install-vulkan-sdk.ps1 |
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml index 742685fb0..6184f3eb6 100644 --- a/src/android/app/src/main/AndroidManifest.xml +++ b/src/android/app/src/main/AndroidManifest.xml | |||
| @@ -22,7 +22,7 @@ SPDX-License-Identifier: GPL-3.0-or-later | |||
| 22 | android:label="@string/app_name_suffixed" | 22 | android:label="@string/app_name_suffixed" |
| 23 | android:icon="@drawable/ic_launcher" | 23 | android:icon="@drawable/ic_launcher" |
| 24 | android:allowBackup="true" | 24 | android:allowBackup="true" |
| 25 | android:hasFragileUserData="true" | 25 | android:hasFragileUserData="false" |
| 26 | android:supportsRtl="true" | 26 | android:supportsRtl="true" |
| 27 | android:isGame="true" | 27 | android:isGame="true" |
| 28 | android:localeConfig="@xml/locales_config" | 28 | android:localeConfig="@xml/locales_config" |
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 6cbbea1b2..5972480e5 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -27,8 +27,8 @@ std::string GetTimeZoneString() { | |||
| 27 | std::string location_name; | 27 | std::string location_name; |
| 28 | if (time_zone_index == 0) { // Auto | 28 | if (time_zone_index == 0) { // Auto |
| 29 | #if __cpp_lib_chrono >= 201907L | 29 | #if __cpp_lib_chrono >= 201907L |
| 30 | const struct std::chrono::tzdb& time_zone_data = std::chrono::get_tzdb(); | ||
| 31 | try { | 30 | try { |
| 31 | const struct std::chrono::tzdb& time_zone_data = std::chrono::get_tzdb(); | ||
| 32 | const std::chrono::time_zone* current_zone = time_zone_data.current_zone(); | 32 | const std::chrono::time_zone* current_zone = time_zone_data.current_zone(); |
| 33 | std::string_view current_zone_name = current_zone->name(); | 33 | std::string_view current_zone_name = current_zone->name(); |
| 34 | location_name = current_zone_name; | 34 | location_name = current_zone_name; |
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp index beaea64b3..aa0eb9791 100644 --- a/src/core/arm/arm_interface.cpp +++ b/src/core/arm/arm_interface.cpp | |||
| @@ -185,7 +185,7 @@ void ARM_Interface::Run() { | |||
| 185 | // Notify the debugger and go to sleep if a breakpoint was hit, | 185 | // Notify the debugger and go to sleep if a breakpoint was hit, |
| 186 | // or if the thread is unable to continue for any reason. | 186 | // or if the thread is unable to continue for any reason. |
| 187 | if (True(hr & HaltReason::InstructionBreakpoint) || True(hr & HaltReason::PrefetchAbort)) { | 187 | if (True(hr & HaltReason::InstructionBreakpoint) || True(hr & HaltReason::PrefetchAbort)) { |
| 188 | if (!True(hr & HaltReason::InstructionBreakpoint)) { | 188 | if (!True(hr & HaltReason::PrefetchAbort)) { |
| 189 | RewindBreakpointInstruction(); | 189 | RewindBreakpointInstruction(); |
| 190 | } | 190 | } |
| 191 | if (system.DebuggerEnabled()) { | 191 | if (system.DebuggerEnabled()) { |