summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #11284 from liamwhite/nca-releaseGravatar Fernando S2023-08-2171-1016/+7964
|\ \ \ | |_|/ |/| | vfs: expand support for NCA reading
| * | file_sys: tolerate empty NCAGravatar Liam2023-08-163-3/+3
| | |
| * | fssystem: rework for yuzu styleGravatar Liam2023-08-1531-336/+337
| | |
| * | fssystem: reduce overalignment of unbuffered storage operationsGravatar Liam2023-08-155-54/+28
| | |
| * | vfs: expand support for NCA readingGravatar Liam2023-08-1571-1020/+7993
| | |
* | | Merge pull request #11288 from liamwhite/svc-tickGravatar liamwhite2023-08-1811-33/+67
|\ \ \ | |_|/ |/| | kernel: remove relative task registration
| * | kernel: remove relative task registrationGravatar Liam2023-08-1411-33/+67
| | |
* | | Improve behavior when sending to closed connectionGravatar comex2023-08-154-7/+36
| |/ |/| | | | | | | | | | | | | | | | | | | - On Unix, this would previously kill the Yuzu process with SIGPIPE. Send MSG_NOSIGNAL to opt out of this. - Add support for the proper error code in this situation, EPIPE. - Windows has nonstandard behavior in this situation; translate it to the standard behavior. Kind of pointless, but isn't it nice to be correct?
* | Merge pull request #11287 from liamwhite/replaced-bytesGravatar Fernando S2023-08-151-0/+17
|\ \ | | | | | | gdbstub: fixup replaced instruction bytes in memory reads
| * | gdbstub: fixup replaced instruction bytes in memory readsGravatar Liam2023-08-141-0/+17
| |/
* | Merge pull request #11256 from FearlessTobi/revert-10075Gravatar bunnei2023-08-142-2/+15
|\ \ | |/ |/| Partially Revert "Silence nifm spam"
| * Revert "Silence nifm spam"Gravatar FearlessTobi2023-08-142-2/+15
| | | | | | | | This reverts commit 4da4ecb1ff79798fe245a0c6c483405f998cd093.
* | Merge pull request #11281 from liamwhite/vi-scale-modeGravatar liamwhite2023-08-142-0/+2
|\ \ | | | | | | nvnflinger: add missing scale mode
| * | nvnflinger: add missing scale modeGravatar Liam2023-08-132-0/+2
| | |
* | | Merge pull request #11259 from german77/hidGravatar liamwhite2023-08-143-24/+86
|\ \ \ | | | | | | | | service: hid: Implement functions needed by QLaunch
| * | | service: hid: Implement functions needed by QLaunchGravatar Narr the Reg2023-08-113-24/+86
| | |/ | |/|
* | | ssl_backend_securetransport: remove stray .Code()Gravatar Liam2023-08-111-1/+1
| |/ |/|
* | Merge pull request #11253 from liamwhite/i-hate-this-toolchainGravatar liamwhite2023-08-111-60/+65
|\ \ | |/ |/| general: fix apple clang build
| * general: fix apple clang buildGravatar Liam2023-08-091-60/+65
| |
* | Merge pull request #11093 from liamwhite/result-ergonomicsGravatar bunnei2023-08-0939-600/+514
|\ \ | | | | | | core: remove ResultVal type
| * | fs: return result on null outputsGravatar Liam2023-08-081-4/+24
| | |
| * | general: fix incorrect conversionsGravatar Liam2023-08-084-5/+5
| | |
| * | ssl: remove ResultVal useGravatar Liam2023-08-087-124/+127
| | |
| * | core: remove ResultVal typeGravatar Liam2023-08-0832-475/+366
| |/
* / service: pctl: Partially revert 11221Gravatar Narr the Reg2023-08-081-9/+15
|/
* Merge pull request #11217 from german77/olscGravatar liamwhite2023-08-071-6/+152
|\ | | | | service: olsc: Implement IOlscServiceForSystemService ITransferTaskListController interfaces for QLaunch
| * service: olsc: Implement IOlscServiceForSystemService ↵Gravatar german772023-08-051-6/+152
| | | | | | | | ITransferTaskListController interfaces for QLaunch
* | Merge pull request #11221 from german77/pctlGravatar liamwhite2023-08-071-18/+134
|\ \ | | | | | | service: pctl: Implement functions needed for QLaunch
| * | service: pctl: Implement functions needed for QLaunchGravatar german772023-08-051-18/+134
| |/
* | service: audctl: Stub functions needed by QlaunchGravatar german772023-08-052-4/+64
| |
* | Merge pull request #11210 from german77/settingsGravatar liamwhite2023-08-055-119/+723
|\ \ | | | | | | service: set: Implement system settings for Qlaunch
| * | service: set: Add more system settings and address commentsGravatar Narr the Reg2023-08-042-7/+100
| | |
| * | service: set: Implement system settings for QlaunchGravatar Narr the Reg2023-08-025-114/+625
| |/
* / service: am: Fix wrong interfaceGravatar Narr the Reg2023-08-023-3/+55
|/
* Merge pull request #10839 from lat9nq/pgc-plusGravatar liamwhite2023-08-0212-39/+85
|\ | | | | general: Reimplement per-game configurations
| * k_system_control: Always return some memory sizeGravatar lat9nq2023-07-211-0/+2
| |
| * core,common: Give memory layout setting an enumGravatar lat9nq2023-07-212-7/+23
| | | | | | | | Allows for 6GB and 8GB layouts to be selected.
| * settings: Require time zone setting value for stirngGravatar lat9nq2023-07-211-1/+2
| |
| * settings,general: Rename non-confirming enumsGravatar lat9nq2023-07-213-20/+18
| |
| * configure_audio: Implement ui generationGravatar lat9nq2023-07-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needs a considerable amount of management specific to some of the comoboboxes due to the audio engine configuration. general: Partial audio config implmentation configure_audio: Implement ui generation Needs a considerable amount of management specific to some of the comoboboxes due to the audio engine configuration. general: Partial audio config implmentation settings: Make audio settings as enums
| * configure_system: Implement with for loopGravatar lat9nq2023-07-215-15/+24
| |
| * configure_graphics_advance: Generate UI at runtimeGravatar lat9nq2023-07-211-0/+2
| | | | | | | | | | | | | | We can iterate through the AdvancedGraphics settings and generate the UI during runtime. This doesn't help runtime efficiency, but it helps a ton in reducing the amount of work a developer needs in order to add a new setting.
| * settings,core,config_sys: Remove optional type from custom_rtc, rng_seedGravatar lat9nq2023-07-213-3/+7
| | | | | | | | core: Fix MSVC errors
| * settings,video_core: Consolidate ASTC decoding optionsGravatar lat9nq2023-07-211-1/+14
| | | | | | | | Just puts them all neatly into one place.
* | audren_u: Fix parameter alignmentGravatar Morph2023-07-311-2/+3
| | | | | | | | The reduction in size from 0x38 to 0x34 caused the parameter to be misaligned. Skipping 1 word fixes this.
* | tz_content_man: Generate the time zone binary onceGravatar lat9nq2023-07-302-8/+11
| | | | | | | | Fixes a memory leak with time zone binaries accumulating on theirselves.
* | Merge pull request #11155 from liamwhite/memory3Gravatar liamwhite2023-07-281-3/+18
|\ \ | | | | | | memory: check page against address space size
| * | memory: check page against address space sizeGravatar Liam2023-07-251-3/+18
| | |
* | | Merge pull request #10990 from comex/ubsanGravatar liamwhite2023-07-267-22/+28
|\ \ \ | |/ / |/| | Fixes and workarounds to make UBSan happier on macOS
| * | Fixes and workarounds to make UBSan happier on macOSGravatar comex2023-07-157-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are still some other issues not addressed here, but it's a start. Workarounds for false-positive reports: - `RasterizerAccelerated`: Put a gigantic array behind a `unique_ptr`, because UBSan has a [hardcoded limit](https://stackoverflow.com/questions/64531383/c-runtime-error-using-fsanitize-undefined-object-has-a-possibly-invalid-vp) of how big it thinks objects can be, specifically when dealing with offset-to-top values used with multiple inheritance. Hopefully this doesn't have a performance impact. - `QueryCacheBase::QueryCacheBase`: Avoid an operation that UBSan thinks is UB even though it at least arguably isn't. See the link in the comment for more information. Fixes for correct reports: - `PageTable`, `Memory`: Use `uintptr_t` values instead of pointers to avoid UB from pointer overflow (when pointer arithmetic wraps around the address space). - `KScheduler::Reload`: `thread->GetOwnerProcess()` can be `nullptr`; avoid calling methods on it in this case. (The existing code returns a garbage reference to a field, which is then passed into `LoadWatchpointArray`, and apparently it's never used, so it's harmless in practice but still triggers UBSan.) - `KAutoObject::Close`: This function calls `this->Destroy()`, which overwrites the beginning of the object with junk (specifically a free list pointer). Then it calls `this->UnregisterWithKernel()`. UBSan complains about a type mismatch because the vtable has been overwritten, and I believe this is indeed UB. `UnregisterWithKernel` also loads `m_kernel` from the 'freed' object, which seems to be technically safe (the overwriting doesn't extend as far as that field), but seems dubious. Switch to a `static` method and load `m_kernel` in advance.