bunnei
c0e6ab15b4
Merge pull request #1943 from ReinUsesLisp/fixup-texs
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
ReinUsesLisp
a04b5e9a42
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
bunnei
7961e11cd4
Merge pull request #1886 from FearlessTobi/port-4164
Port citra-emu/citra#4164 : "citra_qt, video_core: Screenshot functionality"
7 years ago
bunnei
c2e2637b52
Merge pull request #1930 from lioncash/common
common/quaternion: Ensure that w is always initialized
7 years ago
bunnei
4686643323
Merge pull request #1781 from DarkLordZach/applet-profile-select
am: Implement HLE profile selector applet
7 years ago
bunnei
22ef8eea69
Merge pull request #1780 from DarkLordZach/controller-profiles
configure_input: Add Controller Setup Profiles and simplify input UI
7 years ago
Lioncash
8734a27b8d
common/quaternion: Ensure that w is always initialized
Previously xyz was always being zero initialized due to its constructor,
but w wasn't. Ensures that we always have a deterministic initial state.
7 years ago
bunnei
1dac8b1e9f
Merge pull request #1921 from ogniK5377/no-unit
Fixed uninitialized memory due to missing returns in canary
7 years ago
bunnei
fea11df6ee
Merge pull request #1920 from heapo/texture_format_selection
Texture format fixes for RGBA16UI for copies and R16U when used as depth
7 years ago
bunnei
70b6a81670
Merge pull request #1925 from lioncash/pid
kernel/{process, thread}: Amend behavior related to IDs
7 years ago
bunnei
953b65add7
Merge pull request #1914 from lioncash/id
service/am: Unstub GetAppletResourceUserId
7 years ago
bunnei
2a2d761bdb
Merge pull request #1923 from ogniK5377/nfp-device-list
Device handle should not be a random id, instead it's the current npad id
7 years ago
bunnei
0339f523f0
Merge pull request #1909 from heapo/shadow_sampling_fixes
Fix arrayed texture LOD selection and depth comparison ordering
7 years ago
bunnei
e42c75e0d6
Merge pull request #1915 from lioncash/sm
service/sm: Improve debug log for RegisterService
7 years ago
Lioncash
9a15fbc673
kernel/svc: Handle thread handles within GetProcessId
If a thread handle is passed to svcGetProcessId, the kernel attempts to
access the process ID via the thread's instance's owning process.
Technically, this function should also be handling the kernel debug
objects as well, however we currently don't handle those kernel objects
yet, so I've left a note via a comment about it to remind myself when
implementing it in the future.
7 years ago
bunnei
e37f4939df
Merge pull request #1907 from lioncash/attribute
kernel/svc: Implement svcSetMemoryAttribute
7 years ago
Lioncash
9ba5cae7fc
svc: Implement svcSetMemoryAttribute
With all the basic backing functionality implemented, we can now unstub
svcSetMemoryAttribute.
7 years ago
Lioncash
46569d15bd
vm_manager: Add member function for setting memory attributes across an address range
This puts the backing functionality for svcSetMemoryAttribute in place,
which will be utilized in a following change.
7 years ago
Lioncash
11c3bd213d
vm_manager: Add member function for checking a memory range adheres to certain attributes, permissions and states
7 years ago
Lioncash
d15a67cd16
kernel/kernel: Use correct initial PID for userland Process instances
Starts the process ID counter off at 81, which is what the kernel itself
checks against internally when creating processes. It's actually
supposed to panic if the PID is less than 81 for a userland process.
7 years ago
Lioncash
60661a4fd9
kernel/svc: Correct output parameter for svcGetThreadId
The service call uses a 64-bit value, just like svcGetProcessId. This
amends the function signature accordingly.
7 years ago
Lioncash
bf75c5f45c
kernel/thread: Make thread_id a 64-bit value
The kernel uses a 64-bit value for the thread ID, so we shouldn't be
using a 32-bit value.
7 years ago
Lioncash
7755331f46
kernel/svc: Correct output parameter for svcGetProcessId
svcGetProcessId's out parameter is a pointer to a 64-bit value, not a
32-bit one.
7 years ago
Lioncash
b6947f8d6d
kernel/process: Make process_id a 64-bit value
In the actual kernel, this is a 64-bit value, so we shouldn't be using a
32-bit type to handle it.
7 years ago
David Marcec
5bd0ff8f77
Device handle should not be a random id, instead it's the current npad id
Found during hardware testing
7 years ago
David Marcec
4568a12f6d
hopefully fix clang format issue
7 years ago
David Marcec
1dfb0a513a
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
7 years ago
Lioncash
479a873d97
service/sm: Improve debug log for RegisterService
Now it also indicates the name and max session count. This also gives a
name to the unknown bool. This indicates if the created port is supposed
to be using light handles or regular handles internally. This is passed
to the respective svcCreatePort parameter internally.
7 years ago
zhupengfei
2dbb90ed65
yuzu, video_core: Screenshot functionality
Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
7 years ago
heapo
aee93ff8cf
Texture format fixes: Flag RGBA16UI as GL_RGBA_INTEGER format, and interpret R16U as Z16 when depth_compare is enabled.
7 years ago
bunnei
4e57c35bdc
Merge pull request #1913 from MerryMage/default-fpcr
kernel/thread: Set default fpcr
7 years ago
bunnei
55f489f17e
Merge pull request #1918 from MerryMage/cntfrq
arm_dynarmic: Set CNTFRQ value
7 years ago
MerryMage
2a92de65fa
kernel/thread: Set default fpcr
7 years ago
MerryMage
2c84e1e63d
arm_dynarmic: Set CNTFRQ value
7 years ago
bunnei
5191adaf2a
Merge pull request #1917 from ReinUsesLisp/fixup-half
shader_bytecode: Fixup half float's operator B encoding
7 years ago
bunnei
ace4accc86
Merge pull request #1889 from DarkLordZach/swkbd-state-changed
applets: Correct usage of SignalStateChanged event
7 years ago
ReinUsesLisp
40f57b087c
shader_bytecode: Fixup half float's operator B encoding
7 years ago
bunnei
5f678d886e
Merge pull request #1903 from heapo/fmul_postfactor
Implement postfactor multiplication/division for fmul instructions
7 years ago
Lioncash
3204df8a21
service/am: Unstub GetAppletResourceUserId
This is supposed to return the current process' ID. (0 indicates an
invalid ID for both process IDs and ARU IDs).
7 years ago
heapo
63c820c8b1
Implement postfactor multiplication/division for fmul instructions
7 years ago
heapo
a2df3bdd64
Fix arrayed shadow sampler array slice/depth comparison ordering, as well as invalid GLSL LOD selection.
7 years ago
Lioncash
28b54aedff
vm_manager: Rename meminfo_state to state
This is shorter and more concise. This also removes the now-innaccurate
comment, as it's not returned wholesale to svcQueryMemory anymore.
7 years ago
Lioncash
a7b8f6d2be
vm_manager: Add backing functionality for memory attributes
Adds the barebones enumeration constants and functions in place to
handle memory attributes, while also essentially leaving the attribute
itself non-functional.
7 years ago
bunnei
acb6de5552
Merge pull request #1905 from bunnei/ignore-empty-gpu-lists
nvhost_gpu: Skip empty GPU command lists.
7 years ago
bunnei
4cb0df9192
nvhost_gpu: Skip empty GPU command lists.
7 years ago
bunnei
bb79c2b1fe
Merge pull request #1901 from jschmer/ServiceLeak
Fix Service object leak on emulation stop
7 years ago
bunnei
68ee228b9e
Merge pull request #1732 from DarkLordZach/yield-types
svc: Implement yield types 0 and -1
7 years ago
bunnei
e93cc21e78
Merge pull request #1902 from lioncash/audio
audio_core: Make g_sink_details internally linked
7 years ago
bunnei
1319f18eaf
Merge pull request #1899 from lioncash/state
vm_manager/svc: Modify MemoryState enum, and correct error handling for svcQueryMemory
7 years ago
bunnei
5148191691
Merge pull request #1871 from lioncash/move
yuzu/wait_tree: Pass QString by value and std::move in the initializer list for WaitTreeText
7 years ago