Merry
5a20d07c21
atomic_ops: Fix MSVC
2 years ago
Merry
9f91d310c6
atomic_ops: Remove volatile qualifier
2 years ago
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
2 years ago
FearlessTobi
975deb7528
Address review comments and fix compilation problems
2 years ago
FearlessTobi
2c049ae06d
fs: Add path class
2 years ago
Kelebek1
e4915fb7d2
Rework time service to fix time passing offline.
2 years ago
Merry
5c398ede6f
fs/file: Explicitly convert std::u8string to std::filesystem::path
2 years ago
Fernando Sahmkow
2f0418c101
Core: Initial implementation of device memory mapping
2 years ago
Viktor Szépe
2044ae6b3a
Fix more typos
2 years ago
Liam
f2fed21c11
kernel: fix page leak on process termination
2 years ago
t895
d163b18208
android: Migrate in-game overlay settings to ini
2 years ago
Liam
adb2af0a2b
heap_tracker: use linear-time mapping eviction
2 years ago
FearlessTobi
4f569fd568
assert/logging: Stop the logging thread and flush the backends before crashing
Co-Authored-By: SachinVin <26602104+SachinVin@users.noreply.github.com>
2 years ago
Liam
ddda76f9b0
core: track separate heap allocation for linux
2 years ago
FearlessTobi
553dac2ae0
ring_buffer: Use feature macro
Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
2 years ago
Liam
09e8fb75ce
path_util: copy output for GetParentPath
2 years ago
Liam
7239547ead
android: add oboe audio sink
2 years ago
Kelebek1
4144c517a5
Make system settings persistent across boots
2 years ago
Liam
8ad5f2c506
common: use memory holepunching when clearing memory
2 years ago
t895
6c6e8b8de0
settings: Allow vsync to be changed per-game
2 years ago
t895
62fc386bb4
settings: Allow CPU Debug and Fastmem to be changed per-game
2 years ago
t895
f2eb3c579f
android: Add per-game drivers
2 years ago
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.
2 years ago
GPUCode
dc0fb56f3a
settings: Clearer NCE error messages
2 years ago
t895
8225ac004e
settings: Enable NCE by default on capable systems
2 years ago
BreadFish64
d5de9402ee
Improve path splitting speed
2 years ago
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) {
| ^~~~~~~~~~~~~~~~~
2 years ago
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);
^
2 years ago
Alexandre Bouvier
d2bb9e9729
cmake: prefer system gamemode library
2 years ago
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)
2 years ago
Liam
5eec980a2d
general: conditionally compile gamemode on linux only
2 years ago
GPUCode
340548aba7
cmake: Move HAS_NCE to root cmake
* So we can use it in common
2 years ago
amazingfate
a76a8fb5fe
qt: add cpu_backend configuration
2 years ago
Liam
15f35b8657
general: fix mac compile
2 years ago
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
2 years ago
xcfrg
dfa56765d6
yuzu: integrate gamemode support on linux
3 years ago
GPUCode
5a9ffa81a6
host_memory: Simplify randomness generation
2 years ago
GPUCode
c37b5f431f
common: Enforce fastmem for nce usage
2 years ago
GPUCode
6de2edcca1
Address some review comments
2 years ago
GPUCode
8fab363237
android: Add cpu bakend gui toggle
2 years ago
Liam
9f91ba1f73
arm: Implement native code execution backend
2 years ago
GPUCode
4838837620
device_memory: Enable direct mapped addresses for nce
2 years ago
GPUCode
15331c2a60
settings: Add cpu backend setting
2 years ago
GPUCode
5938a9582a
core: Respect memory permissions in Map
2 years ago
Liam
4766baddf3
host_memory: Switch to FreeRegionManager
2 years ago
Liam
448d4815de
host_memory: ensure map base is between 36 and 39 bits
2 years ago
--author=Liam
29e7d79a86
common: Add free region manager
* Abstraction for placeholder region tracking in host_memory
2 years ago
GPUCode
20011dfeb8
common: Add libc sigaction hook
2 years ago
t895
ac522db857
common: settings: Add ifdefs to define android's default settings
2 years ago
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.
2 years ago