summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-12-27control_metadata: Update NACP fields with latest Switchbrew dataZach Hilman
2018-12-27control_metadata: Use value member instead of unique_ptr to store structZach Hilman
Serves no actual purpose in this instance besides making NACP's copy assignment deleted, which is not intended behavior.
2018-12-27vfs: Add reinterpret_casts to WriteArray and ObjectZach Hilman
Allows these functions to compile when T is not u8.
2018-12-26Merge pull request #1946 from lioncash/declbunnei
renderer_opengl: Correct forward declaration of FramebufferLayout
2018-12-26Merge pull request #1948 from lioncash/translatablebunnei
configure_per_general: Mark UI strings as translatable in the constructor
2018-12-26configure_per_general: Mark UI strings as translatable in the constructorLioncash
These are user-facing strings, so they should be translatable.
2018-12-26configure_input_simple: Make input profile array constexprLioncash
Calling tr() from a file-scope array isn't advisable, since it can be executed before the Qt libraries are even fully initialized, which can lead to crashes. Instead, the translatable strings should be annotated, and the tr() function should be called at the string's usage site.
2018-12-26renderer_opengl: Correct forward declaration of FramebufferLayoutLioncash
This is actually a struct, not a class, which can lead to compilation warnings.
2018-12-26Fixed shader linking error due to TLDS (#1934)David
* Fixed shader linking error due to TLDS coord should be coords * Fix remaining coords
2018-12-26Merge pull request #1849 from encounter/svcSetThreadActivitybunnei
svc: Implement SetThreadActivity (thread suspension)
2018-12-26shader_bytecode: Fixup TEXS.F16 encodingReinUsesLisp
2018-12-23Merge pull request #1886 from FearlessTobi/port-4164bunnei
Port citra-emu/citra#4164: "citra_qt, video_core: Screenshot functionality"
2018-12-23Merge pull request #1930 from lioncash/commonbunnei
common/quaternion: Ensure that w is always initialized
2018-12-23Merge pull request #1781 from DarkLordZach/applet-profile-selectbunnei
am: Implement HLE profile selector applet
2018-12-23Merge pull request #1780 from DarkLordZach/controller-profilesbunnei
configure_input: Add Controller Setup Profiles and simplify input UI
2018-12-21common/quaternion: Ensure that w is always initializedLioncash
Previously xyz was always being zero initialized due to its constructor, but w wasn't. Ensures that we always have a deterministic initial state.
2018-12-21Merge pull request #1921 from ogniK5377/no-unitbunnei
Fixed uninitialized memory due to missing returns in canary
2018-12-21Merge pull request #1920 from heapo/texture_format_selectionbunnei
Texture format fixes for RGBA16UI for copies and R16U when used as depth
2018-12-21Merge pull request #1925 from lioncash/pidbunnei
kernel/{process, thread}: Amend behavior related to IDs
2018-12-21Merge pull request #1914 from lioncash/idbunnei
service/am: Unstub GetAppletResourceUserId
2018-12-19Merge pull request #1923 from ogniK5377/nfp-device-listbunnei
Device handle should not be a random id, instead it's the current npad id
2018-12-19Merge pull request #1909 from heapo/shadow_sampling_fixesbunnei
Fix arrayed texture LOD selection and depth comparison ordering
2018-12-19Merge pull request #1915 from lioncash/smbunnei
service/sm: Improve debug log for RegisterService
2018-12-19kernel/svc: Handle thread handles within GetProcessIdLioncash
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.
2018-12-19Merge pull request #1907 from lioncash/attributebunnei
kernel/svc: Implement svcSetMemoryAttribute
2018-12-19svc: Implement svcSetMemoryAttributeLioncash
With all the basic backing functionality implemented, we can now unstub svcSetMemoryAttribute.
2018-12-19vm_manager: Add member function for setting memory attributes across an ↵Lioncash
address range This puts the backing functionality for svcSetMemoryAttribute in place, which will be utilized in a following change.
2018-12-19vm_manager: Add member function for checking a memory range adheres to ↵Lioncash
certain attributes, permissions and states
2018-12-18kernel/kernel: Use correct initial PID for userland Process instancesLioncash
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.
2018-12-18kernel/svc: Correct output parameter for svcGetThreadIdLioncash
The service call uses a 64-bit value, just like svcGetProcessId. This amends the function signature accordingly.
2018-12-18kernel/thread: Make thread_id a 64-bit valueLioncash
The kernel uses a 64-bit value for the thread ID, so we shouldn't be using a 32-bit value.
2018-12-18kernel/svc: Correct output parameter for svcGetProcessIdLioncash
svcGetProcessId's out parameter is a pointer to a 64-bit value, not a 32-bit one.
2018-12-18kernel/process: Make process_id a 64-bit valueLioncash
In the actual kernel, this is a 64-bit value, so we shouldn't be using a 32-bit type to handle it.
2018-12-19Device handle should not be a random id, instead it's the current npad idDavid Marcec
Found during hardware testing
2018-12-19hopefully fix clang format issueDavid Marcec
2018-12-19Fixed uninitialized memory due to missing returns in canaryDavid Marcec
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
2018-12-18service/sm: Improve debug log for RegisterServiceLioncash
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.
2018-12-18yuzu, video_core: Screenshot functionalityzhupengfei
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.
2018-12-18Texture format fixes: Flag RGBA16UI as GL_RGBA_INTEGER format, and interpret ↵heapo
R16U as Z16 when depth_compare is enabled.
2018-12-18Merge pull request #1913 from MerryMage/default-fpcrbunnei
kernel/thread: Set default fpcr
2018-12-18Merge pull request #1918 from MerryMage/cntfrqbunnei
arm_dynarmic: Set CNTFRQ value
2018-12-18kernel/thread: Set default fpcrMerryMage
2018-12-18arm_dynarmic: Set CNTFRQ valueMerryMage
2018-12-18Merge pull request #1917 from ReinUsesLisp/fixup-halfbunnei
shader_bytecode: Fixup half float's operator B encoding
2018-12-18Merge pull request #1889 from DarkLordZach/swkbd-state-changedbunnei
applets: Correct usage of SignalStateChanged event
2018-12-18shader_bytecode: Fixup half float's operator B encodingReinUsesLisp
2018-12-17Merge pull request #1903 from heapo/fmul_postfactorbunnei
Implement postfactor multiplication/division for fmul instructions
2018-12-17service/am: Unstub GetAppletResourceUserIdLioncash
This is supposed to return the current process' ID. (0 indicates an invalid ID for both process IDs and ARU IDs).
2018-12-17Implement postfactor multiplication/division for fmul instructionsheapo
2018-12-17Fix arrayed shadow sampler array slice/depth comparison ordering, as well as ↵heapo
invalid GLSL LOD selection.