summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* yuzu qt: Handle per-game configs for title id 0Gravatar lat9nq2021-05-258-22/+46
| | | | | | | Currently with programs that have a 0 title id, yuzu loads the custom configuration 0000000000000000.ini for per-game configs. This is not ideal since many homebrews share this id. Instead for these programs, we load a config that is simply the file name and `.ini` appended to it.
* common: fs: Rework the Common Filesystem interface to make use of ↵Gravatar Morph2021-05-2574-2173/+3789
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #6349 from german77/suppress_config_warningGravatar bunnei2021-05-251-3/+3
|\ | | | | settings: Suppress duplicate label name warning
| * settings: Suppress duplicate label name warningGravatar german772021-05-221-3/+3
| |
* | Merge pull request #6353 from german77/handheld_dockedGravatar bunnei2021-05-253-4/+24
|\ \ | | | | | | settings: Forbid docked mode on handheld
| * | settings: Forbid docked mode on handheldGravatar german772021-05-233-4/+24
| |/
* | kernel: process_capability: Add MapRegion capabilityGravatar Morph2021-05-252-0/+12
| | | | | | | | - Used by nx-hbloader
* | Merge pull request #6357 from lioncash/compressionGravatar bunnei2021-05-244-7/+8
|\ \ | | | | | | common/compression: Make use of std::span
| * | zstd_compression: Make use of std::spanGravatar Lioncash2021-05-242-3/+4
| | | | | | | | | | | | Allows for the incoming data stream to be non-allocating.
| * | lz4_compression: Make use of std::spanGravatar Lioncash2021-05-242-4/+4
| |/ | | | | | | Allows making the incoming data stream non-allocating.
* | Merge pull request #6312 from german77/analogMappingGravatar bunnei2021-05-241-26/+28
|\ \ | | | | | | input_common: Rewrite sdl analog mapping and fix controller disconnection crash
| * | input_common: Fix crash when controller disconnectsGravatar german772021-05-151-1/+3
| | |
| * | input_common: Rewrite sdl analog mappingGravatar german772021-05-141-25/+25
| | |
* | | Merge pull request #6347 from bunnei/ipc-improvements-next-2Gravatar bunnei2021-05-2322-356/+249
|\ \ \ | |_|/ |/| | Various improvements to IPC and session management (Part 2)
| * | 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
| | |
| * | common: tree: Avoid a crash on nullptr dereference.Gravatar bunnei2021-05-201-0/+11
| | |
| * | 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 #6248 from A-w-x/intelmesaGravatar bunnei2021-05-201-1/+1
|\ \ \ | | | | | | | | gl_device: Intel: Disable texture view formats workaround on mesa
| * | | gl_device: Intel: Disable texture view formats workaround on mesaGravatar A-w-x2021-04-261-1/+1
| | | |
* | | | Merge pull request #6333 from Morph1984/swkbd-confirm-textGravatar bunnei2021-05-201-8/+8
|\ \ \ \ | |_|/ / |/| | | applets/swkbd: Send the correct text string on TextCheck::Confirm
| * | | applets/swkbd: Send the correct text string on TextCheck::ConfirmGravatar Morph2021-05-191-8/+8
| | | | | | | | | | | | | | | | Previously the text string for the inline software keyboard was being sent instead of the normal software keyboard, leading to empty text being sent all the time.
* | | | Merge pull request #6320 from Morph1984/get-pidGravatar bunnei2021-05-202-9/+14
|\ \ \ \ | | | | | | | | | | hle_ipc: Add a getter for PID
| * | | | hle_ipc: unsigned -> u32Gravatar Morph2021-05-161-7/+7
| | | | | | | | | | | | | | | | | | | | This is more concise and consistent with the rest of the codebase.
| * | | | hle_ipc: Add a getter for PIDGravatar Morph2021-05-162-2/+7
| | | | |
* | | | | Merge pull request #6321 from lat9nq/per-game-cpuGravatar bunnei2021-05-2020-302/+290
|\ \ \ \ \ | | | | | | | | | | | | configuration: Add CPU tab to game properties and slight per-game settings rework
| * | | | | configure_cpu: Simplify UpdateGroupGravatar lat9nq2021-05-201-7/+4
| | | | | | | | | | | | | | | | | | Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
| * | | | | configuration_shared: Drop unused function and template anotherGravatar lat9nq2021-05-192-52/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drops an unused variant of ApplyPerGameSetting, and turns the QComboBox variants of SetPerGameSetting into a template. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
| * | | | | general: Demote custom_rtc to regular settingGravatar lat9nq2021-05-176-58/+30
| | | | | |
| * | | | | configuration: Add CPU tab to game propertiesGravatar lat9nq2021-05-1613-88/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows setting CPU accuracy to Accurate or Unsafe per-game, as well as the accuracy options for Unsafe. Debug is not allowed here as a per-game CPU accuracy.
| * | | | | configuration: Simplify applying per-game settingsGravatar lat9nq2021-05-156-112/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally, every time we add a per-game setting, we'd have to guard for it when setting it on the global config, and use a specific function to do it for the per-game config. This moves the global check into the ApplyPerGameSetting function so that we can use it for changing both the global and per-game states. Less work for the programmer.
| * | | | | configuration_shared: Add some commentsGravatar lat9nq2021-05-151-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | Monke brain can't remember what all of these does a year later.
| * | | | | general: Make CPU accuracy and related a Settings::SettingGravatar lat9nq2021-05-157-41/+47
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Required to make CPU accuracy and unsafe settings available to use as a per-game setting.
* | | | | Merge pull request #6297 from lioncash/common-convGravatar bunnei2021-05-191-1/+2
|\ \ \ \ \ | | | | | | | | | | | | parent_of_member: Make sign conversion explicit in OffsetOfImpl()
| * | | | | parent_of_member: Make sign conversion explicit in OffsetOfImpl()Gravatar Lioncash2021-05-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously these conversions were implicit and causing quite a few warnings on clang.
* | | | | | Merge pull request #6310 from german77/nanMotionGravatar bunnei2021-05-191-0/+23
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | input_common: Sanitize motion data
| * | | | | input_common: Sanitize motion dataGravatar german772021-05-131-0/+23
| | | | | |
* | | | | | Merge pull request #6317 from ameerj/fps-fixGravatar bunnei2021-05-1810-14/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | perf_stats: Rework FPS counter to be more accurate
| * | | | | | perf_stats: Rework FPS counter to be more accurateGravatar ameerj2021-05-1510-14/+26
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case. This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics. The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values. The status bar update frequency was also changed from 2 seconds to 500ms.
* | | | | | KTransferMemory: Return size instead of size * PageSize in GetSize()Gravatar Morph2021-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | size is already the size in bytes. We do not need to multiply it by the page size
* | | | | | Merge pull request #6322 from ameerj/fast-null-bufferGravatar bunnei2021-05-171-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | buffer_cache: Ensure null buffers cannot take the fast uniform bind path
| * | | | | | buffer_cache: Ensure null buffers cannot take the fast uniform bind pathGravatar ameerj2021-05-161-1/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes a crash in New Pokemon Snap
* | | | | | Merge pull request #6328 from Morph1984/enforce-c4715Gravatar Mat M2021-05-171-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | CMakeLists: Enforce C4715 on MSVC
| * | | | | | CMakeLists: Enforce C4715 on MSVCGravatar Morph2021-05-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to -Werror=return-type
* | | | | | | configure_debug: FIx duplicate labelsGravatar Morph2021-05-161-5/+5
|/ / / / / / | | | | | | | | | | | | | | | | | | Duplicate labels were unintentionally introduced due to copy-paste. This silences the compilation warning produced by the presence of these duplicates.
* | | | | | yuzu/main: Fix version info in logging and about dialogGravatar Morph2021-05-163-14/+17
| | | | | |