Lioncash
a8a4f37628
video_core/macro: Add missing <cstring> header
Necessary since memcpy is used.
4 years ago
Lioncash
81d1a1133d
video_core/macro_interpreter: Move impl class to the cpp file
Keeps the implementation hidden from the intended API and lessens the
header dependencies on the interpreter's header.
4 years ago
Lioncash
cfd9f7d25b
video_core/macro_hle: Return unique_ptr directly from GetHLEProgram()
Same behavior, but less code and header dependencies.
4 years ago
Lioncash
a05d9405b9
video_core/macro: Remove unused parameter from Execute()
Simplifies the function interface.
4 years ago
Lioncash
74f80299b0
video_core/macro_jit_x64: Remove unused impl class member
Reduces the size of the impl class a tiny bit.
4 years ago
Lioncash
f11eefed56
video_core/macro_jit_x64: Decouple PersistentCallerSavedRegs() from impl
This doesn't depend on class state and can just be a regular function.
4 years ago
Lioncash
6b873b72ae
video_core/macro_jit_x64: Move impl class into cpp file
Keeps the implementation internalized and also reduces API-facing header
dependencies.
Notably, this fully internalizes all of the xbyak externals.
4 years ago
Lioncash
a3c81745b1
video_core/macro_hle: Move impl class into cpp file
Given it's intended to be an internal implementation class, we can move
it into the cpp file to ensure that.
This also lets us move some header dependencies into the cpp file as
well.
4 years ago
bunnei
615fb40416
hle: kernel: KThread: Ensure host (dummy) threads block on locking.
- But do not enter the priority queue, as otherwise they will be scheduled.
- Allows dummy threads to use guest synchronization primitives.
4 years ago
Lioncash
12bf8ca929
service/wlan: Update function tables
4 years ago
Lioncash
8dd6dc9a29
service/usb: Update function tables
4 years ago
Lioncash
43039d95ac
service/set: Update function tables
4 years ago
Lioncash
7ba6f68a8d
service/ns: Update function tables
4 years ago
Lioncash
19c11e2fd2
service/nim: Update unknown function table entries
4 years ago
Lioncash
888bc10c17
service/friend: Update unknown function table entries
4 years ago
Lioncash
54150f5afa
service/filsystem: Update fsp-srv function table
4 years ago
Lioncash
3da43ad2a9
service/btm: Update function tables
4 years ago
Lioncash
0f7337c522
service/audio: Update audctl unknown function names
4 years ago
Lioncash
29e3636e0a
service/am: Update omm function tables
4 years ago
Lioncash
a271cf89cf
service/acc: Update unknown function names
Switchbrew has the function names now.
4 years ago
v1993
d63d8bf7f9
Use Default Colorful theme by default outside of Windows
On OSes with system-wide theming this allows yuzu to follow system style, regardless of its exact coloration, working well with both light and dark system themes. Dark /Colorful, on the other hand, forces dark theme regardless of user preferences set in system settings, making for a poor default.
Use Colorful variation to keep in line with icon style of patron-voted Dark Colorful.
4 years ago
Morph
a396473201
service: apm: Stub ISession SetCpuOverclockEnabled
Since we don't currently support CPU overclocking within the emulated system, this can be stubbed for now, like APM IsCpuOverclockEnabled.
- Used by Gravity Rider Zero
4 years ago
bunnei
f6815086a1
hle: kernel: Remove redundant tracking of dummy threads.
- These are already tracked by kernel's registered_objects member.
4 years ago
bunnei
91ff6d4cb3
hle: kernel: KThread: DummyThread can be waited, ensure wait_queue is not nullptr.
4 years ago
bunnei
46a620f9d7
hle: kernel: KThread: Decrease DummyThread priority to ensure it is never scheduled.
4 years ago
bunnei
0b37e7cb39
hle: kernel: service_thread: Ensure dummy thread is closed & destroyed on thread exit.
4 years ago
bunnei
384e24d3e9
hle: kernel: KServerSession: Remove hack for CompleteSyncRequest.
- This does not appear to be necessary anymore.
4 years ago
bunnei
ad53dc22fd
hle: kernel: KServerSession: Simplify CompleteSyncRequest EndWait.
- Considering is_thread_waiting is never set, so we can remove IsThreadWaiting.
- KThread::EndWait will take the scheduler lock, so we can remove the redundant lock.
4 years ago
bunnei
5ffec69dc7
hle: kernel: KThread: Ensure dummy threads never call EndWait.
- These are only used by host threads for locking and will never have a wait_queue.
4 years ago
bunnei
11a380c3da
hle: kernel: KScheduler: Ensure dummy threads are never scheduled.
- These are only used by host threads for locking.
4 years ago
bunnei
f6cbb14dce
hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type.
- This will be used to ensure that we do not schedule dummy threads.
4 years ago
Jan Beich
d24a4b79d4
video_core: constify AVCodec for ffmpeg >= 5.0
src/video_core/command_classes/codecs/codec.cpp:177:16: error: assigning to 'AVCodec *' from 'const AVCodec *' discards qualifiers
av_codec = avcodec_find_decoder(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
4 years ago
german77
8fa0416fee
service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp
4 years ago
Georg Lehmann
d15814d39f
vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features
4 years ago
Narr the Reg
36144a5690
input_common: Report battery for UDP controllers
4 years ago
v1993
a943600019
shader_recompiler: fix potential OOB access
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
4 years ago
Valeri
84786dde00
hle: remove no-op code
Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
4 years ago
Valeri
3431e0acf5
input_common: nitpick about SetHatButton usage
4 years ago
Valeri
a99f84f4b2
input_common: fix copy-paste error
Found by static analysis with PVS-Studio.
4 years ago
Valeri
8eddafd9d0
hid: fix std::transform call
Found by static analysis with PVS-Studio.
4 years ago
Morph
78e233c460
uisettings: Add enumeration type for themes
Eliminates the usage of a magic number to indicate the default index of the themes array,
4 years ago
gidoly
789af19c60
config: Change default theme to Dark Colorful
4 years ago
Valeri
c624edceba
Correct assignment source for rotations
Found by static analysis with PVS-Studio
4 years ago
german77
9eab07f863
input_common: Reintroduce motion from mouse and use button names
4 years ago
ameerj
a5bff8e9b3
astc_decoder: Combine FastReplicate functions to work around new NV driver bug
The new Nvidia drivers have a bug where the FastReplicateTo6 function produces a lookup into the REPLICATE_TO_8 table rather than the REPLICATE_TO_6 table.
This seems to be an optimization gone wrong. Combining the logic of the FastReplicate functions seems to address the bug.
4 years ago
german77
850896a52b
audio/stream: Adjust volume scale factor
4 years ago
german77
c8b3a12856
yuzu: Add volume up/down hotkeys
4 years ago
gidoly
92d676d788
Xbox controller default name nit pick
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
4 years ago
german77
419f427a01
yuzu: Remove speed limit hotkeys
4 years ago
bunnei
b54cbc985e
hle: kernel: k_memory_manager: Clear pages on allocation & free.
- Heap pages should be zero'd.
- Also explicitly passed along heap allocation option.
4 years ago