Commit graph

24725 commits

Author SHA1 Message Date
Narr the Reg
c934089969 time: Implement missing services
Implements GetTotalLocationNameCount LoadLocationNameList and
GetTimeZoneRuleVersion.

tz-manager: Fix sign issue
2023-06-05 15:15:11 -04:00
lat9nq
99d8774310 time_zone_manager: Implement go_ahead/go_back 2023-06-05 15:15:11 -04:00
lat9nq
bd9ab73ba8 tz_content_manager: Try the system time zone first
If we can't find the normal time zone string, try searching for the
closest one.
2023-06-05 15:15:11 -04:00
lat9nq
2c92d48491 common: Move system time zone string detection
Moves it from Settings to Common::TimeZone, since this algorithm doesn't
depend on the setting. It also lets us use it in other libraries.

common: Various fixes

time_zone: Don't double up the std::abs

Too many absolute values were causing mirrored time zones to resolve
as the same.
2023-06-05 15:15:11 -04:00
lat9nq
29c66764bb configure_system: Remove external offset on custom rtc 2023-06-05 15:15:11 -04:00
lat9nq
a379c50acc time: Remove auto timezone consideration
GetTimeZoneString no longer reports a setting unique to yuzu, so we
can assume a valid timezone string in core.
2023-06-05 15:15:11 -04:00
lat9nq
e2bb24f012 settings: Always report a valid time zone
Prevents needing to deduce the non-Switch setting in core. Instead, we
deduce the meaning of this setting where the heresy is committed, in
common.

settings: Remove strftime usage

GetTimeZoneString: Use standard features

Also forces GMT on MinGW due to broken strftime.
2023-06-05 15:15:11 -04:00
lat9nq
5ecd76f619 time_manager: Don't offset RTC by system time zone
This causes the emulated system's universal time to be on the user's clock, and the user time to
be off if they set a time zone.

time_manager: Remove GetExternalRtcTime
2023-06-05 15:15:11 -04:00
lat9nq
6457b99586 tz_content_manager: Detect system time zone
Uses C++20 tzdb to determine the system timezone. The switch uses the
597 posix time zones, so this needs tests if the system time zone isn't
posix-compliant.
2023-06-05 15:15:11 -04:00
Charles Lombardo
f51882a9ae android: Create licenses page 2023-06-05 14:34:23 -04:00
bunnei
29d01cd2a7 Merge pull request #10613 from t895/settings-changes
android: String and settings organization changes
2023-06-04 19:17:42 -07:00
bunnei
fdcce33b48 Merge pull request #10622 from t895/load-settings
android: Load settings at the start of each activity
2023-06-04 19:14:38 -07:00
Charles Lombardo
079a3deced android: Move settings to debug submenu 2023-06-04 19:53:27 -04:00
Charles Lombardo
73440cbb01 android: Load settings at the start of each activity 2023-06-04 19:37:10 -04:00
xcfrg
178b2a0b69 yuzu: add opengl shader backend info in status bar 2023-06-04 17:24:30 -04:00
bunnei
1c624b1b29 Merge pull request #10594 from liamwhite/double-patch
fsp-srv: avoid patching romfs multiple times
2023-06-04 13:24:47 -07:00
PabloG02
14665c97f2 Attempt to move the unzip coroutine to a ViewModel 2023-06-04 20:52:12 +02:00
PabloG02
25be1f62cd android: update strings 2023-06-04 20:52:12 +02:00
PabloG02
1b3b1592ea android: add option to share log 2023-06-04 20:52:12 +02:00
PabloG02
b63d3b7fce android: add option to install firmware 2023-06-04 20:52:12 +02:00
PabloG02
3c15b89b78 android: move unzip function to FileUtil and use SecurityException 2023-06-04 20:50:00 +02:00
Charles Lombardo
546a2653b9 android: Several string changes 2023-06-04 13:30:56 -04:00
Liam
16bd50f9b4 audio_renderer: resolve adsp thread deadlock shutdown 2023-06-04 13:00:10 -04:00
bunnei
eb15ff27dd Merge pull request #10588 from liamwhite/vfs-cached
vfs: add vfs_cached for romfs build
2023-06-03 23:23:45 -07:00
Charles Lombardo
3601c79e9b Merge pull request #10605 from 8bitDream/kotlin
android: Resolve a couple Gradle warnings
2023-06-04 02:22:34 -04:00
bunnei
63c71abab3 Merge pull request #10550 from kkoniuszy/linux-map-buildup-fix
host_memory: merge adjacent placeholder mappings on Linux
2023-06-03 23:22:24 -07:00
Abandoned Cart
d3b46a88af android: Resolve a couple Gradle warnings 2023-06-04 02:06:38 -04:00
bunnei
9d85384fbb Merge pull request #10595 from 8bitDream/deprecated
android: Replace deprecated and Java code
2023-06-03 22:08:30 -07:00
Abandoned Cart
fa02375617 android: Add support for split foldable view 2023-06-03 22:57:28 -04:00
Kevin Sundqvist Norlén
596dc7ebb7 Fix typo
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2023-06-03 21:31:44 +02:00
Abandoned Cart
b360aa794e android: Replace deprecated and Java code 2023-06-03 15:16:25 -04:00
Liam
22d0bf11f1 fsp-srv: avoid patching romfs multiple times 2023-06-03 14:27:08 -04:00
Keve1227
0cadb7a705 Update Chinese NX language names
... as per the TLoZ: TotK icon files. Would this conflict with older games?
2023-06-03 17:23:14 +02:00
Keve1227
69daffcc2f Issue a reload if the system language changed 2023-06-03 17:17:03 +02:00
Keve1227
7f4c596af2 Pick game icon based on the configured system language 2023-06-03 17:13:24 +02:00
Minionguyjpro
d4261e6017 Update README.md (Add Android at builds description) (#10586) 2023-06-03 16:29:26 +02:00
Liam
445948d297 romfs: use vfs_cached for romfs output 2023-06-03 08:56:59 -04:00
Liam
3fd364d3bb vfs: add vfs_cached for romfs build 2023-06-03 08:50:54 -04:00
bunnei
8dc6ebc245 android: cmake: Use cmake_dependent_option as appropriate. 2023-06-03 00:14:33 -07:00
Charles Lombardo
80069f2bc4 android: Fix crash on importing invalid save 2023-06-03 00:06:08 -07:00
bunnei
f4dd94ab58 android: vk_presentation_manager: Fix unusued needs_recreation. 2023-06-03 00:06:08 -07:00
Charles Lombardo
82cf343786 android: Rename "Input Overlay" to "Overlay Options" 2023-06-03 00:06:08 -07:00
Charles Lombardo
53547f7f37 android: Adjust import/export saves dialog 2023-06-03 00:06:08 -07:00
Charles Lombardo
30c65465d8 android: Warning dialogs for key errors 2023-06-03 00:06:08 -07:00
bunnei
8e9813a618 android: vk_turbo_mode: Remove unnecessary device recreation.
- Fixes a rare crash.
2023-06-03 00:06:08 -07:00
bunnei
cb077cc1b0 android: EmulationFragment: Remove unnecessary surface destroy on pause. 2023-06-03 00:06:08 -07:00
bunnei
fb362f0b6e android: renderer_vulkan: Fix crash with surface recreation. 2023-06-03 00:06:07 -07:00
bunnei
d57495d3c0 android: Fix presentation layout on foldable and tablet devices. 2023-06-03 00:06:07 -07:00
Charles Lombardo
cbfc1d7809 android: Enable overlay scale/opacity dialog 2023-06-03 00:06:07 -07:00
PabloG02
09bbcceec6 Add image to card_game.xml to preview in the Layout Editor 2023-06-03 00:06:07 -07:00