summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Merge pull request #11095 from liamwhite/memory2Gravatar liamwhite2023-07-245-85/+74
|\ \ \ | | | | | | | | memory: cleanup
| * | | core: reduce TOCTTOU memory accessGravatar Liam2023-07-223-20/+11
| | | |
| * | | memory: minimize dependency on processGravatar Liam2023-07-222-65/+63
| | | |
* | | | core: implement GetGaiStringErrorRequest, IContextRegistrarGravatar Liam2023-07-2210-5/+115
|/ / /
* | | Merge pull request #11094 from liamwhite/getGravatar liamwhite2023-07-2228-171/+98
|\ \ \ | | | | | | | | kernel: misc cleanup of page table accessors
| * | | kernel: reduce page table region checkingGravatar Liam2023-07-148-87/+23
| | | |
| * | | k_process: PageTable -> GetPageTableGravatar Liam2023-07-1427-90/+81
| |/ /
* | | Merge pull request #11113 from liamwhite/nsd1Gravatar bunnei2023-07-212-1/+17
|\ \ \ | | | | | | | | nsd: add GetApplicationServerEnvironmentType
| * | | nsd: add GetApplicationServerEnvironmentTypeGravatar Liam2023-07-172-1/+17
| | | |
* | | | core: remove remaining uses of dynamic_castGravatar Liam2023-07-216-16/+21
| | | |
* | | | general: reduce use of dynamic_castGravatar Liam2023-07-212-0/+11
| |_|/ |/| |
* | | Merge pull request #11096 from german77/amiiboooGravatar liamwhite2023-07-217-54/+143
|\ \ \ | | | | | | | | service: nfc: Update Implementation to match with latest RE
| * | | service: nfc: Update Implementation to match with latest REGravatar Narr the Reg2023-07-177-54/+143
| | |/ | |/|
* | | Merge pull request #11116 from lat9nq/clang-shadowingGravatar liamwhite2023-07-192-5/+5
|\ \ \ | | | | | | | | general: Silence -Wshadow{,-uncaptured-local} warnings
| * | | general: Silence -Wshadow{,-uncaptured-local} warningsGravatar lat9nq2023-07-182-5/+5
| | | | | | | | | | | | | | | | These occur in the latest commits in LLVM Clang.
* | | | Merge pull request #11114 from Kelebek1/warningsGravatar liamwhite2023-07-191-2/+2
|\ \ \ \ | |/ / / |/| | | Mark SetIdleTimeDetectionExtension logging as debug
| * | | Debug SetIdleTimeDetectionExtensionGravatar Kelebek12023-07-181-2/+2
| |/ /
* | | ssl: Link with crypt32 for secure channel backendGravatar Morph2023-07-172-1/+2
| | |
* | | ssl: Reorder inclusionsGravatar Morph2023-07-175-24/+27
| | |
* | | network: Forward declarationsGravatar Morph2023-07-175-5/+11
| |/ |/|
* | Merge pull request #10912 from comex/sslGravatar liamwhite2023-07-1621-281/+2382
|\ \ | |/ |/| Implement SSL service
| * Rename variables to avoid -Wshadow warnings under GCCGravatar comex2023-07-011-5/+5
| |
| * ...actually add the SecureTransport backend to Git.Gravatar comex2023-07-011-0/+219
| |
| * Updates:Gravatar comex2023-07-017-211/+276
| | | | | | | | | | - Address PR feedback. - Add SecureTransport backend for macOS.
| * Merge remote-tracking branch 'origin/master' into sslGravatar comex2023-07-0170-612/+644
| |\
| * | PR feedback + constificationGravatar comex2023-06-258-60/+62
| | |
| * | network.cpp: include expected.hGravatar comex2023-06-251-0/+1
| | |
| * | re-formatGravatar comex2023-06-251-4/+5
| | |
| * | Fix more Windows build errorsGravatar comex2023-06-255-28/+35
| | | | | | | | | | | | | | | I did test this beforehand, but not on MinGW, and the error that showed up on the msvc builder didn't happen for me...
| * | ssl: fix compatibility with OpenSSL 1.1.1Gravatar comex2023-06-251-1/+10
| | | | | | | | | | | | Turns out changes were needed after all.