summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-07-27wall_clock: Increase precision requirementsMorph
We are providing a conversion to nanoseconds in NativeClock, which is more precise than the GPU tick.
2023-07-26Merge pull request #11128 from german77/discordliamwhite
yuzu: Replace httplib with QtNetworkRequest
2023-07-26Merge pull request #10990 from comex/ubsanliamwhite
Fixes and workarounds to make UBSan happier on macOS
2023-07-26Merge pull request #11142 from german77/avoid_crashliamwhite
yuzu: Avoid reading broken games
2023-07-26Address feedbackMorph
2023-07-24Merge pull request #11095 from liamwhite/memory2liamwhite
memory: cleanup
2023-07-24Merge pull request #11135 from liamwhite/getaddrinfoliamwhite
core: implement GetGaiStringErrorRequest, IContextRegistrar
2023-07-24yuzu: Avoid reading broken gamesgerman77
2023-07-23ssa_rewrite_pass: use proper mapsLiam
2023-07-22core: implement GetGaiStringErrorRequest, IContextRegistrarLiam
2023-07-22core: reduce TOCTTOU memory accessLiam
2023-07-22memory: minimize dependency on processLiam
2023-07-22Merge pull request #11094 from liamwhite/getliamwhite
kernel: misc cleanup of page table accessors
2023-07-22Merge pull request #11098 from GPUCode/texel-buffersliamwhite
buffer_cache: Increase number of texture buffers
2023-07-21Merge pull request #11113 from liamwhite/nsd1bunnei
nsd: add GetApplicationServerEnvironmentType
2023-07-21core: remove remaining uses of dynamic_castLiam
2023-07-21general: reduce use of dynamic_castLiam
2023-07-21yuzu: Replace httplib with QtNetworkRequestNarr the Reg
2023-07-21Merge pull request #11069 from lat9nq/mingw-no-tzdbliamwhite
common: Use arithmetic instead of string ops to get time zone
2023-07-21Merge pull request #11096 from german77/amiiboooliamwhite
service: nfc: Update Implementation to match with latest RE
2023-07-19Merge pull request #11116 from lat9nq/clang-shadowingliamwhite
general: Silence -Wshadow{,-uncaptured-local} warnings
2023-07-19Merge pull request #11114 from Kelebek1/warningsliamwhite
Mark SetIdleTimeDetectionExtension logging as debug
2023-07-18vk_buffer_cache: Formatlat9nq
2023-07-18general: Silence -Wshadow{,-uncaptured-local} warningslat9nq
These occur in the latest commits in LLVM Clang.
2023-07-18Debug SetIdleTimeDetectionExtensionKelebek1
2023-07-17nsd: add GetApplicationServerEnvironmentTypeLiam
2023-07-17ssl: Link with crypt32 for secure channel backendMorph
2023-07-17ssl: Reorder inclusionsMorph
2023-07-17network: Forward declarationsMorph
2023-07-17service: nfc: Update Implementation to match with latest RENarr the Reg
2023-07-17Merge pull request #10934 from abouvier/cmake-vmaliamwhite
cmake: allow using system VMA library
2023-07-17Merge pull request #11102 from v1993/your-mom-is-encryptedliamwhite
android: fix links to re-dumping guides
2023-07-16Merge pull request #10912 from comex/sslliamwhite
Implement SSL service
2023-07-16android: fix links to re-dumping guidesValeri Ochinski
2023-07-15buffer_cache: Increase number of texture buffersGPUCode
2023-07-15Fixes and workarounds to make UBSan happier on macOScomex
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.
2023-07-14kernel: reduce page table region checkingLiam
2023-07-14k_process: PageTable -> GetPageTableLiam
2023-07-12file_sys/content_archive: Detect compressed NCAs (#11047)Tobias
2023-07-12time_zone: Clean up includeslat9nq
2023-07-12time_zone: Swap subtraction orderlat9nq
2023-07-12time_zone: Account for leap yearslat9nq
Protects against invalid hour offsets during transitions to years following leap years.
2023-07-12cmake: allow using system VMA libraryAlexandre Bouvier
2023-07-11Merge pull request #10985 from liamwhite/handle-translatebunnei
k_server_session: translate special header for non-HLE requests
2023-07-11Merge pull request #11070 from t895/home-setting-warningbunnei
android: Visualize disabled home options
2023-07-10android: Visualize disabled home optionsCharles Lombardo
Allow for displaying options in the home options that are disabled with messages that explain why they are disabled. This includes reasoning for the GPU driver installation button.
2023-07-10Merge pull request #10996 from Kelebek1/readblock_optimisationbunnei
Use spans over guest memory where possible instead of copying data
2023-07-10Merge pull request #11050 from SuperSamus/sdl-button-labelsbunnei
input_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0
2023-07-10settings: Disable C++20 tzdb path on MinGWlat9nq
This path always results in Etc/UTC on MinGW, which often is not close to the local time zone.
2023-07-10time_zone: Remove string ops for determing zonelat9nq
MinGW's strftime implementation does not work and cannot be used to determine the time zone. Besides that, the string operations are actually unnecessary since we can get the offset from std::localtime. Compare localtime to gmtime to find the zone offset on all platforms.