bunnei
55ed04af34
core: hle: kernel: k_process: Improve management of page table & cleanup.
3 years ago
bunnei
7dd7b440cc
core: hle: kernel: k_interrupt_manager: HandleInterrupt should not depend on current process.
3 years ago
bunnei
c164affbcb
core: hle: kernel: Remove junk.
3 years ago
bunnei
15eebff127
core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup.
3 years ago
bunnei
2a909989ee
video_core: renderer_vulkan: vk_query_cache: Avoid shutdown crash in QueryPool::Reserve.
3 years ago
bunnei
0eeef46015
core: hle: kernel: Integration application memory block slab manager.
3 years ago
bunnei
98a3854393
core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager.
3 years ago
bunnei
ddd0ca5f83
core: hle: kernel: k_memory_block: Update.
3 years ago
bunnei
3b1a2fd7db
core: hle: kernel: k_memory_block_manager: Update.
3 years ago
bunnei
97e4cd1c8f
core: hle: kernel: k_thread: Implement thread termination DPC.
3 years ago
bunnei
0592bf30c1
core: hle: kernel: Add KDynamicResourceManager.
3 years ago
bunnei
f6fd69d0d4
core: hle: kernel: Add KDynamicSlabHeap.
3 years ago
bunnei
1089e3cb1e
core: hle: kernel: Add KDynamicPageManager.
3 years ago
bunnei
5a37569052
core: hle: kernel: k_process: Change Status -> State.
3 years ago
bunnei
acc0a8f63a
core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState.
3 years ago
bunnei
d9871bab0b
core: device_memory: Templatize GetPointer(..).
3 years ago
bunnei
59dfd7ec29
core: hle: result: Add GetInnerValue and Includes methods.
3 years ago
bunnei
444f94e8f7
core: hle: kernel: svc_common: Add WaitInfinite & cleanup.
3 years ago
Lioncash
d28572d4b8
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.
3 years ago
Lioncash
9cc6234265
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.
3 years ago
Lioncash
278826ce5b
fixed_point: Mark std::swap and move constructor as noexcept
These shouldn't throw and can influence how some standard algorithms
will work.
3 years ago
Lioncash
3ba285f09e
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.
3 years ago
Lioncash
62d3f2021b
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.
3 years ago
Lioncash
801b7a6652
fixed_point: Use defaulted comparisons
Collapses all of the comparison functions down to a single line.
3 years ago
Lioncash
3b07fadfe3
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.
3 years ago
bunnei
74bc4a549a
Merge pull request #9054 from Docteh/just_lz4
CMake: Try add_library "lz4" if "lz4::lz4" is unavailable
3 years ago
bunnei
ec4c221e1f
Merge pull request #9087 from Morph1984/once
general: Add missing pragma once
3 years ago
Liam
53625f087b
kernel: fix slab heap ABA
3 years ago
Frazer Smith
6ee676e460
general: compress png images
3 years ago
FengChen
584a200d86
video_core: implement 1D copies based on VMM 'kind'
3 years ago
FengChen
2d53a37461
video_core: Implement memory manager page kind
3 years ago
Morph
4b35f9e78e
fixed_point: Replace CONSTEXPR14 with constexpr
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
3 years ago
Morph
6a22ed905b
general: Add missing pragma once
3 years ago
Morph
506be48e36
Merge pull request #9085 from Docteh/TX_TOKEN
Set TX_TOKEN for transifex client
3 years ago
Morph
70a392dad1
Merge pull request #9079 from Morph1984/unknown-unkowns
general: Fix spelling
3 years ago
Morph
512bbb2bf4
Merge pull request #9080 from lat9nq/sdl-audio-not-null
sdl2_sink: Avoid loading a null string into a vector
3 years ago
Kyle Kienapfel
cd94cf4888
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.
3 years ago
Morph
e3c23433fa
savedata_factory: Detect future save data paths
Enable compatibility for new account/device save paths planned on a future implementation.
3 years ago
FengChen
67007ae698
Address feedback
3 years ago
lat9nq
87b2c9f144
sdl2_sink: Inline variable init into if condition
Co-authored-by: Mai <mathew1800@gmail.com>
3 years ago
lat9nq
8e23f79384
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.
3 years ago
lat9nq
4e968241f6
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.
3 years ago
Morph
14a89390d2
video_core: Fix spelling of "synchronize"
3 years ago
Morph
6becbfbaa3
general: Fix spelling of "unknown"
3 years ago
bunnei
8d81608e93
Merge pull request #9058 from Docteh/new_transifex_cli
New transifex client needs migrating to.
3 years ago
bunnei
6993c8f28e
Merge pull request #9076 from Docteh/unknown
fix a tiny spelling mistake
3 years ago
Kyle Kienapfel
8b6e77774e
fix a tiny spelling mistake
Kreato pointed this out over on discord.
3 years ago
Kyle Kienapfel
a74d1a0195
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`
3 years ago
liamwhite
f57b352e93
Merge pull request #9061 from liamwhite/writable-event
kernel: remove KWritableEvent
3 years ago
liamwhite
979676ef89
Merge pull request #9055 from liamwhite/hbl
Preliminary support for nx-hbloader
3 years ago