summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * input_common: Analog button, use time based position instead of frequent updatesGravatar german772021-05-301-0/+15
| |
* | fsp-srv: Replace one last instance of RESULT_SUCCESSGravatar Morph2021-06-021-1/+1
| |
* | fspsrv: Implement DisableAutoSaveDataCreation (#6355)Gravatar Chloe2021-06-026-2/+25
| | | | | | - Used by Mii Edit
* | general: Replace RESULT_UNKNOWN with ResultUnknownGravatar Morph2021-06-0213-45/+45
| | | | | | | | Transition to PascalCase for result names.
* | general: Replace RESULT_SUCCESS with ResultSuccessGravatar Morph2021-06-02111-931/+928
| | | | | | | | Transition to PascalCase for result names.
* | common_funcs: Move R_ macros to result.hGravatar Lioncash2021-05-311-0/+25
| | | | | | | | | | | | These macros all interact with the result code type, so they should ideally be within this file as well, so all the common_funcs machinery doesn't need to be pulled in just to use them.
* | Merge pull request #6385 from degasus/save_memory_accessGravatar bunnei2021-05-303-33/+70
|\ \ | | | | | | core/memory: Check our memory fallbacks for out-of-bound behavior.
| * | core/memory: Check our memory fallbacks for out-of-bound behavior.Gravatar Markus Wick2021-05-291-4/+39
| | | | | | | | | | | | | | | | | | This makes it by far harder to crash yuzu. Also implement the 48bit masking of AARCH64 while touching this code.
| * | core/arm_interface: Improve the performance of memory fallbacks.Gravatar Markus Wick2021-05-292-29/+31
| | | | | | | | | | | | | | | We just create one memory subsystem. This is a constant all the time. So there is no need to call the non-inlined parent.Memory() helper on every callback.
* | | Merge pull request #6377 from lioncash/pointGravatar bunnei2021-05-303-39/+17
|\ \ \ | | | | | | | | common: Extract Point struct into common
| * | | touchscreen: Make use of common point structGravatar Lioncash2021-05-282-10/+10
| | | |
| * | | common: Extract point into a common structGravatar Lioncash2021-05-281-29/+7
| | | | | | | | | | | | | | | | | | | | This is generic enough that it can be moved into the Common class for reuse.
* | | | Merge pull request #6387 from lioncash/class-tokenGravatar bunnei2021-05-291-43/+36
|\ \ \ \ | | | | | | | | | | k_class_token: Use variable templates where applicable
| * | | | k_class_token: Use variable templates where applicableGravatar Lioncash2021-05-291-43/+36
| |/ / / | | | | | | | | | | | | Same behavior, less code.
* | | | Merge pull request #6374 from Morph1984/swkbd-textcheck-encodingGravatar Mai M2021-05-291-10/+15
|\ \ \ \ | | | | | | | | | | applets/swkbd: Only read the text check message on Failure/Confirm
| * | | | applets/swkbd: Make use of std::move where applicableGravatar Morph2021-05-271-8/+8
| | | | | | | | | | | | | | | | | | | | Avoids redundant string copies
| * | | | applets/swkbd: Only read the text check message on Failure/ConfirmGravatar Morph2021-05-271-2/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | Applications may leave this region of memory uninitialized when the text check result is not either Failure or Confirm. Attempting to read uninitialized memory may cause an exception within the UTF16 to UTF8 string converter. Fix this by only reading the text check message on Failure or Confirm.
* | | | Merge pull request #6364 from german77/stub-lp2pGravatar Mai M2021-05-291-0/+141
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | ldn: Add and stub lp2p:sys lp2p:app INetworkServiceMonitor INetworkService Mario Kart Live: Home Circuit needs lp2p:sys lp2p:app INetworkServiceMonitor INetworkService to be able to progress. Note: The game still fails to boot from unimplemented LDN and BSD services.
| * | | ldn: Add and stub lp2p:sys lp2p:app INetworkServiceMonitor INetworkServiceGravatar german772021-05-261-0/+141
| | | |
* | | | Merge pull request #6379 from degasus/update_dynarmicGravatar bunnei2021-05-296-11/+11
|\ \ \ \ | | | | | | | | | | externals: Update dynarmic.
| * | | | externals: Update dynarmic.Gravatar Markus Wick2021-05-296-11/+11
| | |_|/ | |/| | | | | | | | | | The new version supports fastmem on a64.
* | | | Merge pull request #6384 from lioncash/virtualGravatar bunnei2021-05-2915-53/+48
|\ \ \ \ | | | | | | | | | | kernel: Add missing override specifiers
| * | | | kernel: Add missing override specifiersGravatar Lioncash2021-05-2915-53/+48
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Over the course of the kernel refactoring a tiny bit of missing overrides slipped through review, so we can add these. While we're at it, we can remove redundant virtual keywords where applicable as well.
* | | | Merge pull request #6382 from lioncash/nullGravatar bunnei2021-05-291-5/+5
|\ \ \ \ | | | | | | | | | | k_thread: Move dereference after null check in Initialize()
| * | | | k_thread: Move dereference after null check in Initialize()Gravatar Lioncash2021-05-291-5/+5
| |/ / / | | | | | | | | | | | | Prevents a -Wnonnull warning on GCC.
* | | | Merge pull request #6373 from bunnei/use-slabheap-tlsGravatar bunnei2021-05-292-11/+191
|\ \ \ \ | | | | | | | | | | hle: kernel: KSlabHeap: Allow host or guest allocations.
| * | | | hle: kernel: KSlabHeap: Allow host or guest allocations.Gravatar bunnei2021-05-282-11/+191
| | | | | | | | | | | | | | | | | | | | | | | | | - Use host allocations for kernel memory, as this is not properly emulated yet. - Use guest allocations for TLS, as this needs to be backed by DeviceMemory.
* | | | | Fix two GCC 11 warnings: Unneeded copies.Gravatar Markus Wick2021-05-291-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | std::move created an unneeded copy. iterating without reference also created copies.
* | | | Merge pull request #6371 from degasus/drop_ExceptionalExitGravatar bunnei2021-05-286-18/+42
|\ \ \ \ | |/ / / |/| | | core/arm_interface: Call SVC after end of dynarmic block.
| * | | core/arm_interface: Call SVC after end of dynarmic block.Gravatar Markus Wick2021-05-276-18/+42
| |/ / | | | | | | | | | | | | | | | So we can modify all of dynarmic states within SVC without ExceptionalExit. Especially as the ExceptionalExit hack is dropped on upstream dynarmic.
* | | Merge pull request #6356 from ogniK5377/ApplyNpadSystemCommonPolicyGravatar bunnei2021-05-281-1/+10
|\ \ \ | |/ / |/| | hid: ApplyNpadSystemCommonPolicy
| * | hid: ApplyNpadSystemCommonPolicyGravatar Chloe Marcec2021-05-241-1/+10
| | | | | | | | | | | | We already do this specifically for homebrew, so we can keep it stubbed out for the time being
* | | core/arm: Drop ChangeProcessorID.Gravatar Markus Wick2021-05-265-12/+0
| |/ |/| | | | | | | | | This code was used to switch the CPU ID on thread switches. However since "hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.", the CPU ID is not a constant. This has been dead code since this rewrite, and dropped in dynarmic as well. So there is no need to keep it.
* | Merge pull request #6331 from lioncash/gestureGravatar Morph2021-05-262-67/+79
|\ \ | | | | | | hid/gesture: Simplify point related code
| * | hid/gesture: Factor out last gesture retrieval into its own functionGravatar Lioncash2021-05-182-14/+23
| | | | | | | | | | | | Deduplicates a commonly repeated expression.
| * | hid/gesture: Ensure all ID arrays are initializedGravatar Lioncash2021-05-181-4/+4
| | | | | | | | | | | | Makes for deterministic initial state.
| * | hid/gesture: Make Point a templateGravatar Lioncash2021-05-182-38/+46
| | | | | | | | | | | | | | | We can now use this in a generic context to reuse it with the finger position.
| * | hid/gesture: Replace x,y members of GestureState with a PointGravatar Lioncash2021-05-182-6/+4
| | | | | | | | | | | | Simplifies assignments.
| * | hid/gesture: Add default comparators to PointGravatar Lioncash2021-05-182-10/+7
| | | | | | | | | | | | Simplifies some comparisons.
| * | hid/gesture: Rename Points to PointGravatar Lioncash2021-05-181-5/+5
| | | | | | | | | | | | This only represents a single point
* | | common: fs: Rework the Common Filesystem interface to make use of ↵Gravatar Morph2021-05-2531-340/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | std::filesystem (#6270) * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
* | | kernel: process_capability: Add MapRegion capabilityGravatar Morph2021-05-252-0/+12
| |/ |/| | | | | - Used by nx-hbloader
* | hle: kernel: service_thread: Take reference to KServerSession on service ↵Gravatar bunnei2021-05-201-9/+5
| | | | | | | | request.
* | hle: kernel: k_port: Use AcceptSession to ensure SessionList state is correct.Gravatar bunnei2021-05-201-1/+1
| | | | | | | | - Fixes a use-after-free, work-around until we fixup session/port management.
* | hle: kernel: Use host memory allocations for KSlabMemory.Gravatar bunnei2021-05-204-174/+20
| | | | | | | | - There are some issues with the current workaround, we will just use host memory until we have a complete kernel memory implementation.
* | Revert "WORKAROUND: Do not use slab heap while we track down issues with ↵Gravatar bunnei2021-05-201-2/+2
| | | | | | | | | | | | resource management." This reverts commit f2c26443f85a3c3fd43137509368ba5c7ab80ee7.
* | hle: kernel: hle_ipc: Simplify incoming/outgoing move/copy/domain objects.Gravatar bunnei2021-05-203-62/+17
| |
* | hle: kernel: Implement CloneCurrentObject and improve session management.Gravatar bunnei2021-05-2013-99/+184
| |
* | Revert "WORKAROUND: temp. disable session resource limits while we work out ↵Gravatar bunnei2021-05-204-11/+11
| | | | | | | | | | | | issues" This reverts commit fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.
* | Merge pull request #6320 from Morph1984/get-pidGravatar bunnei2021-05-202-9/+14
|\ \ | | | | | | hle_ipc: Add a getter for PID