summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-12-04Rewrited TEX/TEXS (TEX Scalar). (#1826)Marcos
* Rewrited TEX/TEXS (TEX Scalar). * Style fixes. * Styles issues.
2018-12-04Merge pull request #1857 from lioncash/res-infobunnei
kernel/svc: Implement the resource limit svcGetInfo option
2018-12-04Merge pull request #1854 from Subv/old_command_processorbunnei
Don't try to route PFIFO methods (0-0x40) to the other engines.
2018-12-04kernel/handle_table: Amend reference to CTR-OS in Create()Lioncash
Another hold-over from Citra.
2018-12-04kernel/svc: Implement the resource limit svcGetInfo optionLioncash
Allows a process to register the resource limit as part of its handle table.
2018-12-03Removed unused file.Subv
This is a leftover from #1792
2018-12-03GPU: Don't try to route PFIFO methods (0-0x40) to the other engines.Subv
2018-12-04[Kernel::CreateThread] Match format specifiers to LOG_TRACE's argumentsV.Kalyuzhny
2018-12-03Merge pull request #1840 from lioncash/infobunnei
svc: Reorganize svcGetInfo, handle more error cases for existing implemented info categories
2018-12-03Merge pull request #1842 from lioncash/slotbunnei
yuzu/configuration: Minor clean-up related changes
2018-12-03Merge pull request #1835 from lioncash/cache-globalbunnei
filesystem: De-globalize registered_cache_union
2018-12-03Merge pull request #1822 from ReinUsesLisp/glsl-scopebunnei
gl_shader_decompiler: Introduce a scoped object and style changes
2018-12-03Merge pull request #1803 from DarkLordZach/k-able-eventbunnei
kernel: Divide Event into ReadableEvent and WritableEvent
2018-12-03Merge pull request #1833 from lioncash/cleanbunnei
service/fsp_srv: Implement CleanDirectoryRecursively
2018-12-03Merge pull request #1839 from lioncash/initbunnei
service/audio/audout_u: Amend constructor initialization list order
2018-12-03Merge pull request #1841 from ogniK5377/npad-mode-fixbunnei
Fixed crash with SetNpadMode
2018-12-02service/usb: Update function tableLioncash
Updates the function table for IClientEpSession based off information provided by SwitchBrew.
2018-12-02service/erpt: Update function tableLioncash
Updates the function table according to information provided by SwitchBrew.
2018-12-02yuzu/configuration: Make slots private where applicableLioncash
These slots are only ever attached to event handling mechanisms within the class itself, they're never used externally. Because of this, we can make the functions private. This also removes redundant usages of the private access specifier.
2018-12-02yuzu/configuration: Add missing override specifiers to configuration-related ↵Lioncash
classes Resolves trivial compiler warnings.
2018-12-02yuzu/configuration/configure_input: Default destructor in the cpp fileLioncash
The previous code could potentially be a compilation issue waiting to occur, given we forward declare the type for a std::unique_ptr. If the complete definition of the forward declared type isn't visible in a translation unit that the class is used in, then it would fail to compile. Defaulting the destructor in a cpp file ensures the std::unique_ptr's destructor is only invoked where its complete type is known.
2018-12-03Fixed crash with SetNpadModeDavid Marcec
fixed crash due to handheld
2018-12-02svc: Use the current process' handle table for retrieving the process ↵Lioncash
instance to act upon The kernel uses the handle table of the current process to retrieve the process that should be used to retrieve certain information. To someone not familiar with the kernel, this might raise the question of "Ok, sounds nice, but doesn't this make it impossible to retrieve information about the current process?". No, it doesn't, because HandleTable instances in the kernel have the notion of a "pseudo-handle", where certain values allow the kernel to lookup objects outside of a given handle table. Currently, there's only a pseudo-handle for the current process (0xFFFF8001) and a pseudo-handle for the current thread (0xFFFF8000), so to retrieve the current process, one would just pass 0xFFFF8001 into svcGetInfo. The lookup itself in the handle table would be something like: template <typename T> T* Lookup(Handle handle) { if (handle == PSEUDO_HANDLE_CURRENT_PROCESS) { return CurrentProcess(); } if (handle == PSUEDO_HANDLE_CURRENT_THREAD) { return CurrentThread(); } return static_cast<T*>(&objects[handle]); } which, as is shown, allows accessing the current process or current thread, even if those two objects aren't actually within the HandleTable instance.
2018-12-02svc: Reorganize svcGetInfo, handle more error cases for existing implemented ↵Lioncash
info categories Our implementation of svcGetInfo was slightly incorrect in that we weren't doing proper error checking everywhere. Instead, reorganize it to be similar to how the kernel seems to do it.
2018-12-01service/audio/audout_u: Amend constructor initialization list orderLioncash
Orders the constructor initializer list the same way the members of the class are declared. Prevents -Wreorder warnings
2018-12-01Merge pull request #1827 from ReinUsesLisp/clip-and-shaderbunnei
gl_rasterizer: Enable clip distances when set in register and in shader
2018-12-01Merge pull request #1825 from ReinUsesLisp/shader-pipeline-cachebunnei
gl_shader_manager: Update pipeline when programs have changed
2018-12-01Merge pull request #1795 from ReinUsesLisp/vc-cleanupbunnei
video_core: Minor style changes
2018-12-01Merge pull request #1823 from bunnei/fix-surface-copybunnei
gl_rasterizer_cache: Fix several surface copy issues.
2018-12-01filesystem: De-globalize registered_cache_unionLioncash
We can just return a new instance of this when it's requested. This only ever holds pointers to the existing registed caches, so it's not a large object. Plus, this also gets rid of the need to keep around a separate member function just to properly clear out the union. Gets rid of one of five globals in the filesystem code.
2018-12-01Merge pull request #1832 from Simek/remove-game-list-borderbunnei
UI: Remove border from Game List
2018-12-01Merge pull request #1830 from Subv/vi_ubbunnei
Services/VI: Dereferencing an uninitialized std::optional is undefined behavior.
2018-12-01Fix debug buildLioncash
A non-existent parameter was left in some formatting calls (the logging macro for which only does anything meaningful on debug builds)
2018-11-30file_sys: Override missing mutating functions to be stubbed out for ↵Lioncash
ReadOnlyVfsDirectory by default Ensures that read only indeed means read only.
2018-11-30service/fsp_srv: Implement CleanDirectoryRecursivelyLioncash
This is the same behavior-wise as DeleteDirectoryRecursively, with the only difference being that it doesn't delete the top level directory in the hierarchy, so given: root_dir/ - some_dir/ - File.txt - OtherFile.txt The end result is just: root_dir/
2018-11-30remove border from GameListBartosz Kaszubowski
2018-11-30Services/VI: Dereferencing an uninitialized std::optional is undefined behavior.Subv
Assert that it is not empty before using it in the DequeueBuffer wait callback.
2018-11-30service/set: Convert GetLanguageCode over to using PushEnum()Lioncash
This code was around prior to the introduction of PushEnum, so convert it over so we don't need to cast here.
2018-11-30service/set: Implement MakeLanguageCodeLioncash
This function simply converts a given index into a language code.
2018-11-30configure_input: Amend clang-format discrepanciesLioncash
2018-11-29gl_rasterizer_cache: Update AccurateCopySurface to flush complete source ↵bunnei
surface. - Fixes issues with Breath of the Wild with use_accurate_gpu_emulation setting.
2018-11-29gl_rasterizer: Enable clip distances when set in register and in shaderReinUsesLisp
2018-11-29gl_shader_manager: Update pipeline when programs have changedReinUsesLisp
2018-11-29hle_ipc: Refactor SleepClientThread to avoid ReadableEventZach Hilman
2018-11-29kernel/event: Reference ReadableEvent from WritableEventZach Hilman
2018-11-29core: Port all current usages of Event to Readable/WritableEventZach Hilman
2018-11-29hle_ipc: Use event pair for SleepClientThreadZach Hilman
2018-11-29kernel: Add named event tableZach Hilman
Used to store ReadableEvents of all events on the system.
2018-11-29kernel: Divide Event into ReadableEvent and WritableEventZach Hilman
More hardware accurate. On the actual system, there is a differentiation between the signaler and signalee, they form a client/server relationship much like ServerPort and ClientPort.
2018-11-29kernel/object: Add descriptions to ResetTypesZach Hilman