summaryrefslogtreecommitdiff
path: root/src/core/loader (follow)
Commit message (Collapse)AuthorAgeFilesLines
* file_sys: handle null romfsGravatar Liam2023-12-011-4/+2
|
* core: Rename patcher fileGravatar GPUCode2023-11-293-3/+3
|
* loader: fix gcc compileGravatar Liam2023-11-261-1/+1
|
* loader: apply nso patch to offset program imageGravatar Liam2023-11-251-4/+6
|
* core: Define HAS_NCE macroGravatar GPUCode2023-11-253-9/+9
|
* Address some review commentsGravatar GPUCode2023-11-252-10/+11
|
* android: Add cpu bakend gui toggleGravatar GPUCode2023-11-252-3/+5
|
* arm: Implement native code execution backendGravatar Liam2023-11-255-26/+162
|
* kernel: Manually specify aslr region startGravatar Liam2023-11-253-3/+5
|
* loader: don't reassign program ID on npdm reparseGravatar Liam2023-09-301-1/+1
|
* core: improve debug workflowGravatar Liam2023-09-146-10/+16
|
* core: implement basic integrity verificationGravatar Liam2023-09-068-1/+165
|
* kernel: offset code entry point for 39-bit address space type (#11326)Gravatar liamwhite2023-08-254-4/+4
|
* vfs: expand support for NCA readingGravatar Liam2023-08-1510-40/+20
|
* k_process: PageTable -> GetPageTableGravatar Liam2023-07-144-4/+4
|
* file_sys/content_archive: Detect compressed NCAs (#11047)Gravatar Tobias2023-07-121-0/+2
|
* android: Add proper homebrew checkGravatar Charles Lombardo2023-06-092-1/+14
|
* kernel: use KTypedAddress for addressesGravatar Liam2023-03-223-3/+3
|
* general: rename CurrentProcess to ApplicationProcessGravatar Liam2023-02-131-1/+1
|
* core/loader: Return nullptr if file is nullptrGravatar Merry2022-09-251-0/+4
|
* code: dodge PAGE_SIZE #defineGravatar Kyle Kienapfel2022-08-193-3/+3
| | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779
* core/loader: remove ELF loaderGravatar Liam2022-08-014-311/+0
|
* general: fix compilation on MinGW GCC 12Gravatar Liam2022-06-131-5/+4
|
* common: consolidate ELF structure definitionsGravatar Liam2022-06-051-167/+16
|
* chore: add missing SPDX tagsGravatar Andrea Pappacoda2022-04-282-6/+6
| | | | Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-04-2318-54/+36
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* loader: log the type of mismatching file-extensionGravatar BytesGalore2022-03-031-1/+2
|
* general: Replace NonCopyable struct with equivalentsGravatar Lioncash2022-02-021-1/+5
|
* core: loader: kip: Minimal changes to fix KIP loading.Gravatar bunnei2021-12-171-1/+7
| | | | - Allows us to boot KIP (kernal apps), useful for testing the kernel.
* loader: Support loading subsdk{8,9}Gravatar jam1garner2021-12-051-2/+3
|
* core: Remove unused includesGravatar ameerj2021-11-0310-13/+0
|
* file_sys: Support load game collection (#6582)Gravatar Feng Chen2021-07-206-29/+52
| | | Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
* general: Make most settings a BasicSettingGravatar lat9nq2021-06-282-4/+4
| | | | | | | | | | | Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
* common: fs: Rework the Common Filesystem interface to make use of ↵Gravatar Morph2021-05-256-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* core: Make variable shadowing a compile-time errorGravatar Lioncash2021-05-164-16/+15
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* hle: kernel: Rename Process to KProcess.Gravatar bunnei2021-05-0520-37/+37
|
* core: Resolve misc cases of variable shadowingGravatar Lioncash2021-05-032-6/+9
| | | | | | | | | Resolves shadowing warnings that aren't in a particularly large subsection of core. Brings us closer to turning -Wshadow into an error. All that remains now is for cases in the kernel (left untouched for now since a big change by bunnei is pending), and a few left over in the service code (will be tackled next).
* loader: Resolve instances of variable shadowingGravatar Lioncash2021-04-2719-169/+257
| | | | | Eliminates variable shadowing cases across all the loaders to bring us closer to enabling variable shadowing as an error in core.
* program_metadata: Set a default resource size when a NPDM is not presentGravatar Morph2021-04-231-1/+2
| | | | Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
* common: Move settings to common from core.Gravatar bunnei2021-04-142-2/+2
| | | | - Removes a dependency on core and input_common from common.
* hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.Gravatar bunnei2021-02-185-5/+5
|
* hle: kernel: KThread: Reorganize thread priority defaults.Gravatar bunnei2021-01-282-4/+4
|
* core: hle: kernel: Rename Thread to KThread.Gravatar bunnei2021-01-282-2/+2
|
* main: Resolve error string not displayingGravatar Lioncash2021-01-032-0/+5
| | | | | | | | | During the transition to make the error dialog translatable, I accidentally got rid of the conversion to ResultStatus, which prevented operator<< from being invoked during formatting. This adds a function to directly retrieve the result status string instead so that it displays again.
* vfs: Use existing type aliases consistentlyGravatar Lioncash2020-12-109-9/+9
| | | | | Makes use of the VirtualDir and VirtualFile aliases across the board instead of having a few isolated places that don't use it.
* core: Eliminate remaining usages of the global system instanceGravatar Lioncash2020-11-274-15/+2
| | | | | | Removes all remaining usages of the global system instance. After this, migration can begin to migrate to being constructed and managed entirely by the various frontends.
* core: loader: Implement support for loading indexed programs.Gravatar bunnei2020-11-246-12/+20
|
* patch_manager: Remove usages of the global system instanceGravatar Lioncash2020-11-188-39/+66
| | | | | | | With this, only 19 usages of the global system instance remain within the core library. We're almost there.
* Revert "core: Fix clang build"Gravatar bunnei2020-10-201-18/+17
|
* core: Fix clang buildGravatar Lioncash2020-10-171-17/+18
| | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795