Commit Graph

22537 Commits (59335f6796480f6b98f981cbb672cdb112a8a3f8)
 

Author SHA1 Message Date
bunnei a4d11f4427 core: Partially persist emulation state across game boots. 2 years ago
bunnei 1b787adbd0 core: hle: kernel: Fix InitializePreemption order. 2 years ago
bunnei abcc009dff core: hle: kernel: k_process: Improve management of page table & cleanup. 2 years ago
bunnei 79bcb38321 core: hle: kernel: k_interrupt_manager: HandleInterrupt should not depend on current process. 2 years ago
bunnei 8d4e026d05 core: hle: kernel: Remove junk. 2 years ago
bunnei ff26190d42 core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup. 2 years ago
bunnei d00245d444 video_core: renderer_vulkan: vk_query_cache: Avoid shutdown crash in QueryPool::Reserve. 2 years ago
bunnei 1baedfa12c core: hle: kernel: Integration application memory block slab manager. 2 years ago
bunnei ed591934fb core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager. 2 years ago
bunnei 58eb6953d1 core: hle: kernel: k_memory_block: Update. 2 years ago
bunnei 2bb41cffca core: hle: kernel: k_memory_block_manager: Update. 2 years ago
bunnei 57a77e9ff4 core: hle: kernel: k_thread: Implement thread termination DPC. 2 years ago
bunnei d02ccfb15d core: hle: kernel: Add KDynamicResourceManager. 2 years ago
bunnei 9ec5f75f43 core: hle: kernel: Add KDynamicSlabHeap. 2 years ago
bunnei 345b9e6a08 core: hle: kernel: Add KDynamicPageManager. 2 years ago
bunnei 25dcaf1eca core: hle: kernel: k_process: Change Status -> State. 2 years ago
bunnei 113a5ed68f core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState. 2 years ago
bunnei 47b8160666 core: device_memory: Templatize GetPointer(..). 2 years ago
bunnei cb073f95dc core: hle: result: Add GetInnerValue and Includes methods. 2 years ago
bunnei e63a5459e3 core: hle: kernel: svc_common: Add WaitInfinite & cleanup. 2 years ago
Lioncash 6e1c6297a3 fixed_point: Mark default constructor as constexpr
Ensures that a fixed-point value is always initialized

This likely also fixes several cases of uninitialized values being
operated on, since we have multiple areas in the codebase where the
default constructor is being used like:

Common::FixedPoint<50, 14> current_sample{};

and is then followed up with an arithmetic operation like += or
something else, which operates directly on FixedPoint's internal data
member, which would previously be uninitialized.
2 years ago
Lioncash b6119a55f9 fixed_point: Mark copy/move assignment operators and constructors as constexpr
Given these are just moving a raw value around, these can sensibly be
made constexpr to make the interface more useful.
2 years ago
Lioncash 0cfd90004b fixed_point: Mark std::swap and move constructor as noexcept
These shouldn't throw and can influence how some standard algorithms
will work.
2 years ago
Lioncash 2cc9d94060 fixed_point: Mark relevant member function [[nodiscard]]
Marks member functions as discard, where ignoring the return value would
be indicative of a bug or dead code.
2 years ago
Lioncash 0101ef9fb1 fixed_point: Make to_uint() non-const
This calls round_up(), which is a non-const member function, so if a
fixed-point instantiation ever calls to_uint(), it'll result in a
compiler error.

This allows the member function to work.

While we're at it, we can actually mark to_long_floor() as const, since
it's not modifying any member state.
2 years ago
Lioncash 9393f90ccf fixed_point: Use defaulted comparisons
Collapses all of the comparison functions down to a single line.
2 years ago
Lioncash 5000d814af fixed_point: Use variable templates and concepts where applicable
Makes a few things a little less noisy and removes the need for SFINAE
in quite a few functions.
2 years ago
bunnei 8649c46c74
Merge pull request #9054 from Docteh/just_lz4
CMake: Try add_library "lz4" if "lz4::lz4" is unavailable
2 years ago
bunnei 1deb997eba
Merge pull request #9087 from Morph1984/once
general: Add missing pragma once
2 years ago
Liam 282cd3e5fe kernel: fix slab heap ABA 2 years ago
Frazer Smith 40d9107b23
general: compress png images 2 years ago
FengChen 23b6569fc2 video_core: implement 1D copies based on VMM 'kind' 2 years ago
FengChen 99507d0188 video_core: Implement memory manager page kind 2 years ago
Morph 88ccdaf10a fixed_point: Replace CONSTEXPR14 with constexpr
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
2 years ago
Morph bffbaddb79 general: Add missing pragma once 2 years ago
Morph c75a4bdeaa
Merge pull request #9085 from Docteh/TX_TOKEN
Set TX_TOKEN for transifex client
2 years ago
Morph 2f37c7948f
Merge pull request #9079 from Morph1984/unknown-unkowns
general: Fix spelling
2 years ago
Morph f107e58fde
Merge pull request #9080 from lat9nq/sdl-audio-not-null
sdl2_sink: Avoid loading a null string into a vector
2 years ago
Kyle Kienapfel c70e1d0247 Set TX_TOKEN for transifex client
I did some tests on my own fork, and we're writing to ~/.transifexrc but
the client can't seem to read that file. maybe issue with $HOME or
something.

Workaround is to set TX_TOKEN environment variable and now the pesky
~/.transifexrc file is not needed.
2 years ago
Morph ae453ab6a8 savedata_factory: Detect future save data paths
Enable compatibility for new account/device save paths planned on a future implementation.
2 years ago
FengChen 20139f8a55 Address feedback 2 years ago
lat9nq 4b773b15a6 sdl2_sink: Inline variable init into if condition
Co-authored-by: Mai <mathew1800@gmail.com>
2 years ago
lat9nq 9fe077635e sdl2_sink: Distinguish between capture and non-capture device names
The function prototype appears to care whether we are loading capture
devices or not, and SDL_GetAudioDeviceName has a parameter to use it,
but for some reason it isn't.

This puts `capture` where it goes.
2 years ago
lat9nq 5c7eef3756 sdl2_sink: Check for null string when loading SDL audio devices
Attempting to place a null string into a vector of strings causes an
error that closes the application.

Don't.
2 years ago
Morph ddf5577799 video_core: Fix spelling of "synchronize" 2 years ago
Morph f706b3bd24 general: Fix spelling of "unknown" 2 years ago
bunnei d574bb4610
Merge pull request #9058 from Docteh/new_transifex_cli
New transifex client needs migrating to.
2 years ago
bunnei b0ba1a0b65
Merge pull request #9076 from Docteh/unknown
fix a tiny spelling mistake
2 years ago
Kyle Kienapfel 0ba03d1b3a fix a tiny spelling mistake
Kreato pointed this out over on discord.
2 years ago
Kyle Kienapfel fcebd36cde Translations: new transifex client
Currently we're using the python client which uses an API that they
state will sunset Nov 30, 2022.

`tx push -s` actually appears to work properly, some of the other
commands require tweaking, like instead of suggesting `tx pull -a` in
dist/languages we need to suggest `tx pull -t -a`
2 years ago