darktux
16f92e5b32
Implemented rewindless Fiber without Boost (using minicoro)
2 years ago
darktux
2032d035a3
Removed telemetry and anonymized SCM (git) strings
2 years ago
voidanix
d60cf76e2d
Fix GCC builds with Debug build type
9 months ago
t895
28fcbacc78
android: Move JNI setup and helpers to common
2 years ago
Fernando Sahmkow
75f5d982a0
Common: Introduce Range Sets
2 years ago
Fernando Sahmkow
4d97c54676
VideoCore: Move Slot Vector to Common
2 years ago
Liam
27989bd49c
smmu: use new range mutex construction for protecting counters
2 years ago
Kelebek1
05afa94a3b
Move time services to new IPC.
Add some fixes/improvements to usage with the new IPC
2 years ago
Liam
c366d8e8d9
core: track separate heap allocation for linux
2 years ago
Alexandre Bouvier
6d1049366d
cmake: prefer system gamemode library
2 years ago
Jan Beich
93abc60cf7
cmake: sync gamemode conditionals with code after 0fff56e1ef
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
0fff56e1ef
general: conditionally compile gamemode on linux only
2 years ago
amazingfate
c95a560bc3
qt: add cpu_backend configuration
2 years ago
flodavid
6bd3056c52
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
--author=Liam
5e96634f40
common: Add free region manager
* Abstraction for placeholder region tracking in host_memory
2 years ago
GPUCode
d4ff9e191b
common: Add libc sigaction hook
2 years ago
Alexandre Bouvier
fc27fd3f02
cmake: prefer system stb headers
2 years ago
Liam
28e25c454f
common: add arm64 native clock
2 years ago
Kelebek1
07b63b15ad
Reimplement HardwareOpus
2 years ago
xcfrg
6178343f3f
add a compile time option to allow disabling portable mode
2 years ago
Danila Malyutin
7f0de0f204
msvc: set warning level to /W4 globally
And fix a bunch of warnings
2 years ago
lat9nq
5e52526942
settings: Cleanup
Addresses review feedback
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2 years ago
lat9nq
c0e9075d6b
settings,uisettings: Remove leading underscore
3 years ago
lat9nq
a7a32ab8a0
common,yuzu-qt: Avoid explicit instantiation on old clang
Clang versions < 15 have compile issues with explicit instantiation.
Disable it for these versions.
3 years ago
lat9nq
e0d6f3435e
settings: Move some simple data to BasicSetting
Reduces the need for the compiler to duplicate this code, by about
100KB executable size.
3 years ago
lat9nq
5a2b7f951d
(ui,)settings: Use explicit instantiation
Reduces compile times a tad on clang.
3 years ago
lat9nq
a61beb7123
settings: Split enums to new file
3 years ago
Morph
728048edfe
x64: Deduplicate RDTSC usage
3 years ago
Liam
e3c37d97f9
common: link libandroid on android
3 years ago
bunnei
44b082af08
android: Implement SAF support & migrate to SDK 31. ( #4 )
3 years ago
Morph
d260571440
x64: Add MicroSleep
MicroSleep allows the processor to pause for a "short" amount of time (in the microsecond range). This is useful for spin-waiting that does not require nanosecond precision.
This uses the new TPAUSE instruction introduced on Intel's newest processors as part of the waitpkg instructions. For CPUs that do not support waitpkg instructions, this is equivalent to yield().
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
3 years ago
Morph
b203f9d714
common: Port boost's hash_value implementation
Ports a small subset of boost's hash_value implementation (<= 1.80.0).
3 years ago
Liam
156516e399
kernel: use KTypedAddress for addresses
3 years ago
Liam
2e637e5519
kernel: avoid signed overflow UB on MSVC
3 years ago
Morph
59b8488e90
common: Implement a method to change the Windows timer resolution
This utilizes undocumented NtDll functions to change the current timer resolution from the default of 1ms.
3 years ago
Morph
f869dabc4a
common: Implement a high resolution steady clock
This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision.
3 years ago
Alexandre Bouvier
e9ec2e4cf0
cmake: use correct boost imported targets
3 years ago
Alexandre Bouvier
8768e16b6c
cmake: prefer system llvm library
3 years ago
Kelebek1
a665621670
Move demangle impl to cpp
3 years ago
Kelebek1
90f546cba4
Add stacktrace symbol demangling
3 years ago
Fernando Sahmkow
12a76465b9
MacroHLE: Reduce massive calculations on sizing estimation.
3 years ago
ameerj
ff76a433ab
common: Add ScratchBuffer class
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize
is redundant.
3 years ago
ameerj
80c173aba5
common: add make_unique_for_overwrite
3 years ago
Liam
47a89280bf
memory: correct semantics of data cache management operations
3 years ago
Alexandre Bouvier
325a016cd2
cmake: prefer system libraries
3 years ago
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
3 years ago
ameerj
bbf3e7f313
CMake: Use precompiled headers
3 years ago
Liam
10751ff536
common: add cache management functions
3 years ago
Morph
dc61af8eb1
CMakeLists: Remove redundant warnings
These warnings are already included in /W3.
3 years ago
Morph
ea5b59b539
CMakeLists: Treat MSVC warnings as errors
3 years ago