liamwhite
7ec7ff0f30
Merge pull request #12920 from t895/jni-common
...
android: Move JNI setup and helpers to common
2024-02-09 11:49:25 -05:00
Liam
fa12384350
general: add default configurations for applet mode
2024-02-09 09:20:53 -05:00
t895
c8e8c614a0
common: fs: Expand android macros
2024-02-08 14:13:46 -05:00
t895
e7c4c8b993
android: Move JNI setup and helpers to common
2024-02-08 13:45:26 -05:00
liamwhite
263dfa95e4
Merge pull request #12914 from FernandoS27/vc-refactor
...
VideoCore Refactor Part 1.
2024-02-08 10:59:59 -05:00
Fernando Sahmkow
fa47ac1c9f
Common: Rename SplitRangeSet to OverlapRangeSet
2024-02-05 23:01:17 +01:00
Liam
0e950baf41
typed_address: test values are unsigned
2024-02-05 12:47:10 -05:00
Fernando Sahmkow
0d5a3abeae
Buffer Cache: Refactor to use Range sets instead
2024-02-05 11:06:52 +01:00
Fernando Sahmkow
01ba6cf610
Common: Introduce Range Sets
2024-02-04 20:01:50 +01:00
Fernando Sahmkow
4841dc0b74
VideoCore: Move Slot Vector to Common
2024-02-04 20:01:47 +01:00
Narr the Reg
fb3ef957bb
service: fs: Skip non user id folders
2024-02-02 13:25:38 -06:00
liamwhite
22492b68b7
Merge pull request #12869 from FernandoS27/smmu-fixes
...
SMMU: A set of different fixes.
2024-01-31 11:22:29 -05:00
Liam
8f848f43e9
smmu: use new range mutex construction for protecting counters
2024-01-31 16:38:51 +01:00
t895
e8be665f11
settings: Allow audio sink, input, and output to be set per game
2024-01-31 09:31:19 -05:00
liamwhite
90cb852908
Merge pull request #12814 from Kelebek1/time_new_ipc
...
Move time services to new IPC and add debug printing
2024-01-29 09:08:46 -05:00
Merry
5a20d07c21
atomic_ops: Fix MSVC
2024-01-27 21:42:16 +00:00
Merry
9f91d310c6
atomic_ops: Remove volatile qualifier
2024-01-27 21:36:39 +00:00
Merry
6527c0d2fc
atomic_ops: Reduce code duplication with templates
...
Also fixes builds on unusual toolchains where:
- u32 is unsigned int
- u64 is unsigned long long
- uintptr_t is unsigned long
2024-01-27 21:12:12 +00:00
Kelebek1
da410506a4
Move time services to new IPC.
...
Add some fixes/improvements to usage with the new IPC
2024-01-27 03:30:09 +00:00
FearlessTobi
975deb7528
Address review comments and fix compilation problems
2024-01-25 16:43:53 -05:00
FearlessTobi
2c049ae06d
fs: Add path class
2024-01-25 16:42:06 -05:00
liamwhite
d45561ace0
Merge pull request #12499 from Kelebek1/time
...
Rework time services
2024-01-25 14:19:01 -05:00
Kelebek1
e4915fb7d2
Rework time service to fix time passing offline.
2024-01-24 04:26:55 +00:00
liamwhite
8bd10473d6
Merge pull request #12579 from FernandoS27/smmu
...
Core: Implement Device Mapping & GPU SMMU
2024-01-22 10:55:39 -05:00
Merry
5c398ede6f
fs/file: Explicitly convert std::u8string to std::filesystem::path
2024-01-20 17:46:30 +00:00
Fernando Sahmkow
2f0418c101
Core: Initial implementation of device memory mapping
2024-01-18 21:12:30 -05:00
Viktor Szépe
90ab89a0b0
Merge remote-tracking branch 'origin/master' into typos3
2024-01-16 00:09:00 +00:00
Viktor Szépe
2044ae6b3a
Fix more typos
2024-01-15 23:26:53 +00:00
Liam
f2fed21c11
kernel: fix page leak on process termination
2024-01-12 18:31:33 -05:00
liamwhite
c3c676b7d6
Merge pull request #12518 from t895/theme-settings
...
android: Migrate remaining settings to ini
2024-01-01 15:02:06 -05:00
Narr the Reg
f0f92edbd0
Merge pull request #12466 from liamwhite/sh2
...
core: track separate heap allocation for linux
2024-01-01 13:56:16 -06:00
t895
d163b18208
android: Migrate in-game overlay settings to ini
2023-12-30 15:11:36 -05:00
Liam
adb2af0a2b
heap_tracker: use linear-time mapping eviction
2023-12-27 10:42:27 -05:00
liamwhite
1559984f77
Merge pull request #12471 from FearlessTobi/port-7146
...
Port citra-emu/citra#7146 : "assert/logging: Stop the logging thread and flush the backends before crashing"
2023-12-26 11:46:04 -05:00
FearlessTobi
4f569fd568
assert/logging: Stop the logging thread and flush the backends before crashing
...
Co-Authored-By: SachinVin <26602104+SachinVin@users.noreply.github.com>
2023-12-26 10:35:14 +01:00
Liam
ddda76f9b0
core: track separate heap allocation for linux
2023-12-25 23:30:56 -05:00
FearlessTobi
553dac2ae0
ring_buffer: Use feature macro
...
Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
2023-12-25 14:10:40 +01:00
Fernando S
d61df0f400
Merge pull request #12387 from liamwhite/oboe
...
android: add oboe audio sink
2023-12-19 16:15:07 +01:00
Liam
09e8fb75ce
path_util: copy output for GetParentPath
2023-12-17 14:25:42 -05:00
Liam
7239547ead
android: add oboe audio sink
2023-12-17 01:42:59 -05:00
liamwhite
00965e6c34
Merge pull request #12335 from t895/per-game-settings
...
android: Game Properties
2023-12-16 13:57:54 -05:00
liamwhite
a093f3d47a
Merge pull request #12184 from Kelebek1/system_settings
...
Make system settings persistent across boots
2023-12-16 11:47:52 -05:00
liamwhite
360418f1a1
Merge pull request #12290 from liamwhite/deferred-path-split
...
Improve path splitting speed
2023-12-16 11:47:29 -05:00
Kelebek1
4144c517a5
Make system settings persistent across boots
2023-12-16 06:01:54 +00:00
Liam
8ad5f2c506
common: use memory holepunching when clearing memory
2023-12-14 23:44:33 -05:00
t895
6c6e8b8de0
settings: Allow vsync to be changed per-game
2023-12-12 17:25:37 -05:00
t895
62fc386bb4
settings: Allow CPU Debug and Fastmem to be changed per-game
2023-12-12 17:25:37 -05:00
t895
f2eb3c579f
android: Add per-game drivers
2023-12-12 17:25:37 -05:00
t895
70c3d36536
android: Refactor settings to expose more options
...
In AbstractSetting, this removes the category, androidDefault, and valueAsString properties as they are no longer needed and have replacements. isSwitchable, global, and getValueAsString are all exposed and give better options for working with global/per-game settings.
2023-12-12 17:25:36 -05:00
GPUCode
dc0fb56f3a
settings: Clearer NCE error messages
2023-12-09 23:37:14 +02:00
t895
8225ac004e
settings: Enable NCE by default on capable systems
2023-12-08 20:25:07 -05:00
BreadFish64
d5de9402ee
Improve path splitting speed
2023-12-05 23:17:19 -05:00
Jan Beich
01d3e250ab
host_memory: move MAP_ALIGNED_SUPER attempt after 448d4815de
...
src/common/host_memory.cpp:410:14: error: unused function 'ChooseVirtualBase' [-Werror,-Wunused-function]
410 | static void* ChooseVirtualBase(size_t virtual_size) {
| ^~~~~~~~~~~~~~~~~
2023-12-02 00:25:50 +01:00
Jan Beich
270d290e65
host_memory: allow missing MAP_NORESERVE on FreeBSD after 448d4815de
...
src/common/host_memory.cpp:408:47: error: use of undeclared identifier 'MAP_NORESERVE'
MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0);
^
2023-12-02 00:25:50 +01:00
Alexandre Bouvier
d2bb9e9729
cmake: prefer system gamemode library
2023-11-30 16:54:00 +01:00
liamwhite
3a12fe5d13
Merge pull request #12227 from jbeich/gamemode
...
cmake: unbreak build on FreeBSD by re-enabling gamemode
2023-11-30 09:21:19 -05:00
liamwhite
57a391e71d
Merge pull request #12074 from GPUCode/yuwu-on-the-metal
...
Implement Native Code Execution (NCE)
2023-11-30 09:20:55 -05:00
Jan Beich
df96caec79
cmake: sync gamemode conditionals with code after 5eec980a2d
...
FAILED: bin/yuzu
ld: error: unable to find library -lgamemode
FAILED: bin/yuzu-cmd
ld: error: undefined symbol: Common::Linux::StartGamemode()
>>> referenced by yuzu.cpp
>>> src/yuzu_cmd/CMakeFiles/yuzu-cmd.dir/yuzu.cpp.o:(main)
ld: error: undefined symbol: Common::Linux::StopGamemode()
>>> referenced by yuzu.cpp
>>> src/yuzu_cmd/CMakeFiles/yuzu-cmd.dir/yuzu.cpp.o:(main)
2023-11-30 00:05:11 +01:00
Liam
5eec980a2d
general: conditionally compile gamemode on linux only
2023-11-29 14:26:11 -05:00
liamwhite
337e37f91d
Merge pull request #11946 from flodavid/gamemode
...
Enable (Feral Interactive) Gamemode on Linux
2023-11-29 12:33:09 -05:00
GPUCode
340548aba7
cmake: Move HAS_NCE to root cmake
...
* So we can use it in common
2023-11-29 01:35:06 +02:00
amazingfate
a76a8fb5fe
qt: add cpu_backend configuration
2023-11-26 20:44:07 -05:00
Liam
15f35b8657
general: fix mac compile
2023-11-26 19:50:10 -05:00
Fernando S
f21340f7aa
Merge pull request #11535 from GPUCode/upload_cmdbuf
...
renderer_vulkan: Introduce separate cmd buffer for uploads
2023-11-26 18:33:05 +01:00
flodavid
40644d43f7
yuzu: create linux group in general settings
...
- Create files dedicated to starting and stopping gamemode functions
- Use them in yuzu and yuzu_cmd modules
2023-11-25 19:30:37 +01:00
xcfrg
dfa56765d6
yuzu: integrate gamemode support on linux
2023-11-25 19:30:29 +01:00
GPUCode
5a9ffa81a6
host_memory: Simplify randomness generation
2023-11-25 00:47:43 -05:00
GPUCode
c37b5f431f
common: Enforce fastmem for nce usage
2023-11-25 00:47:36 -05:00
GPUCode
6de2edcca1
Address some review comments
2023-11-25 00:47:35 -05:00
GPUCode
8fab363237
android: Add cpu bakend gui toggle
2023-11-25 00:47:28 -05:00
Liam
9f91ba1f73
arm: Implement native code execution backend
2023-11-25 00:46:47 -05:00
GPUCode
4838837620
device_memory: Enable direct mapped addresses for nce
2023-11-25 00:46:47 -05:00
GPUCode
15331c2a60
settings: Add cpu backend setting
2023-11-25 00:46:15 -05:00
GPUCode
5938a9582a
core: Respect memory permissions in Map
2023-11-25 00:46:15 -05:00
Liam
4766baddf3
host_memory: Switch to FreeRegionManager
2023-11-25 00:46:15 -05:00
Liam
448d4815de
host_memory: ensure map base is between 36 and 39 bits
2023-11-25 00:46:15 -05:00
--author=Liam
29e7d79a86
common: Add free region manager
...
* Abstraction for placeholder region tracking in host_memory
2023-11-25 00:46:15 -05:00
GPUCode
20011dfeb8
common: Add libc sigaction hook
2023-11-25 00:46:15 -05:00
t895
ac522db857
common: settings: Add ifdefs to define android's default settings
2023-11-21 01:58:13 -05:00
t895
da14c7b8e4
config: Unify config handling under frontend_common
...
Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings.
As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
2023-11-21 01:58:13 -05:00
liamwhite
ea4c92f734
Merge pull request #12007 from german77/moar_buttons
...
core: hid: Split SL and SR buttons
2023-11-16 09:13:39 -05:00
liamwhite
247d66a680
Merge pull request #11990 from german77/audio
...
yuzu: Save mute when in background setting
2023-11-13 09:13:12 -05:00
GPUCode
efc50485b8
renderer_vulkan: Introduce separate cmd buffer for uploads
2023-11-12 20:27:39 +01:00
german77
ae57a99d7d
core: hid: Split SL and SR buttons
2023-11-11 21:03:15 -06:00
Liam
2a255b2d61
kernel: add KPageTableBase
...
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2023-11-10 12:01:35 -05:00
Narr the Reg
9e331f9957
yuzu: Make mute audio persistent
2023-11-10 10:22:04 -06:00
Narr the Reg
9169cbf728
yuzu: Save mute when in background setting
2023-11-10 10:22:02 -06:00
Charles Lombardo
4b321c003c
arm: NativeClock: Special handling for bad system counter clock frequency reporting
...
On some devices, checking the system counter clock frequency will return 0. Substitute in the correct values to prevent issues.
2023-11-03 16:21:54 -04:00
Charles Lombardo
585b6e9d46
android: Fix resolving android URIs in native code
2023-10-30 11:38:10 -04:00
liamwhite
eec3d356b6
Merge pull request #11689 from liamwhite/breakpad
...
qt: implement automatic crash dump support
2023-10-29 23:41:13 -04:00
Ameer J
9e4d606c4c
nvidia_flags: Enable GL Threaded optimizations
2023-10-28 21:26:22 -04:00
Alexandre Bouvier
79ba5d9c26
cmake: prefer system stb headers
2023-10-25 21:47:32 +02:00
Liam
59b62c6507
common: use SetThreadDescription API for thread names
2023-10-20 11:41:29 -04:00
liamwhite
18672e6a78
Merge pull request #11159 from flodavid/master_bis
...
Enable to use controller to close a game
2023-10-14 09:58:03 -04:00
Valeri Ochinski
ca75c9125d
common/polyfill_thread: use std::forward where appropriate, qualify std::move calls
2023-10-13 18:51:11 +03:00
liamwhite
519c12da15
Merge pull request #11746 from liamwhite/relr
...
jit: add support for relr-type relocations
2023-10-12 18:23:31 -04:00
Liam
2212c9653d
kernel: mark TLS accessors as noinline for non-MSVC LTO
2023-10-12 09:16:22 -04:00
Florian
6c246f2ac5
yuzu: Use new setting method for stop emulation
2023-10-12 01:51:53 +02:00
Liam
7b5d234558
jit: add support for relr-type relocations
2023-10-11 11:13:19 -04:00
Fernando S
b28b05e2aa
Merge pull request #11718 from liamwhite/arm64-native-clock
...
common: add arm64 native clock
2023-10-10 11:48:06 +02:00