aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2019-06-12Merge pull request #2577 from lioncash/fsZach Hilman
file_sys/card_image: Minor cleanup
2019-06-12file_sys/ips_layer: Remove unnecessary reserve() callLioncash
Given 'replace' is assigned to on the following line, this isn't necessary, given the underlying data is going to be overwritten entirely.
2019-06-12common/hex_util: Combine HexVectorToString() and HexArrayToString()Lioncash
These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays.
2019-06-12file_sys/card_image: Remove obsolete TODOLioncash
We already support Rev 1+.
2019-06-12kernel/vm_manager: Remove redundant Reset call in destructorLioncash
This is performing more work than would otherwise be necessary during VMManager's destruction. All we actually want to occur in this scenario is for any allocated memory to be freed, which will happen automatically as the VMManager instance goes out of scope. Anything else being done is simply unnecessary work.
2019-06-10file_sys/nca_metadata: Update CNMT structuresLioncash
Names a few more entries in relevant structures. Information based off SwitchBrew and my own RE.
2019-06-10file_sys/card_image: Deduplicate casts within AddNCAFromPartition()Lioncash
Makes for nicer reading.
2019-06-10file_sys/card_image: Make bracing consistentLioncash
Makes for more consistent reading.
2019-06-10file_sys/card_image: Assign collapsed NCA contents directly to ncas memberLioncash
Same thing, significantly less noisy.
2019-06-10file_sys/card_image: Deduplicate type castLioncash
Same thing, less duplication. We can also std::move raw into the PartitionFilesystem constructor.
2019-06-10file_sys/card_image: Get rid of a magic numberLioncash
We can just use the size of the array to dehardcode it.
2019-06-10file_sys/card_image: Use std::array deduction guidesLioncash
Same thing, less code.
2019-06-10kernel: Differentiate kernel and user processes when picking IDZach Hilman
This allows kernel internal type processes to be assigned IDs in the KIP range while userland processes are assigned in the user range.
2019-06-10nsp: Correct status codes for extracted NSPsZach Hilman
Avoids all extracted NSPs being marked as error file type because they don't have program NCAs.
2019-06-10nsp: Use title ID from NPDM metadata for extracted type NSPsZach Hilman
Avoids 0 being used as title ID for all extracted NSPs.
2019-06-10arm_dynarmic: Check if jit is nullptr when preparing rescheduleZach Hilman
Prevents crash with multiprocess loading.
2019-06-09Merge pull request #2571 from lioncash/refZach Hilman
kernel/process: Make Create()'s name parameter be taken by value
2019-06-09kernel/process: Make Create()'s name parameter be taken by valueLioncash
Makes the interface more flexible in terms of how Create() may be called, while still allowing the parameter itself to be moved into.
2019-06-09kernel/svc: Implement ↵Lioncash
TotalMemoryUsedWithoutMmHeap/TotalMemoryAvailableWithoutMmHeap Given we don't currently implement the personal heap yet, the existing memory querying functions are essentially doing what the memory querying types introduced in 6.0.0 do. So, we can build the necessary machinery over the top of those and just use them as part of info types.
2019-06-09kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()Lioncash
Disambiguates and makes the name a little more consistent with TotalPhysicalMemoryUsed.
2019-06-09kernel/svc: Remove duplicate enum entry in svcGetInfo()Lioncash
2019-06-07constants: Extract backup JPEG used by account servicesZach Hilman
2019-06-07Merge pull request #2514 from ReinUsesLisp/opengl-compatZach Hilman
video_core: Drop OpenGL core in favor of OpenGL compatibility
2019-06-06kernel_executable: Optimize BLZ decompressionZach Hilman
2019-06-06Merge pull request #2549 from lioncash/headerZach Hilman
kernel/process: Remove unused boost header include
2019-06-06Merge pull request #2551 from lioncash/dtorbunnei
service/ns: Add missing override specifiers
2019-06-05Merge pull request #2419 from DarkLordZach/srv-lr-ifacebunnei
lr: Add command handler skeletons for Open*LocationResolver
2019-06-05service/ns: Add missing override specifiersLioncash
2019-06-05Merge pull request #2526 from lioncash/globalZach Hilman
core/telemetry_session: Remove usages of the global system accessor
2019-06-05Merge pull request #2545 from lioncash/timingZach Hilman
core/core_timing_util: Use std::chrono types for specifying time units
2019-06-05Merge pull request #2510 from SciresM/desired_languageZach Hilman
Implement/Fix IApplicationFunctions::GetDesiredLanguage
2019-06-05kernel/process: Remove unused boost header includeLioncash
Boost headers typically include a lot of other headers, so removing this can prevent a bit of unnecessary compiler churn when building.
2019-06-05game_list: Accept *.kip as a file extension of executablesZach Hilman
2019-06-05loader: Add recognition for KIP file typeZach Hilman
2019-06-05loader: Add KIP and INI file parser-specific errorsZach Hilman
2019-06-05loader: Add AppLoader_KIP for KIP filesZach Hilman
2019-06-05program_metadata: Add function to load meta from raw parametersZach Hilman
Needed for KIP loading as KIPs do not have an NPDM but do have the essential parts of the data within.
2019-06-05partition_data_manager: Remove KIP processing and use FileSysZach Hilman
Previously, this TU contained the necessary headers to parse KIP/INI but now it should just use the FileSys class.
2019-06-05file_sys: Add classes to parse KIP1 and INI1 filesZach Hilman
2019-06-04core/core_timing_util: Amend casing of cyclesTo* functionsLioncash
Makes the casing consistent with all of our general function naming conventions.
2019-06-04core/core_timing_util: Use std::chrono types for specifying time unitsLioncash
Makes the interface more type-safe and consistent in terms of return values.
2019-06-04core/core_timing_utils: Simplify overload setLioncash
Removes unused overloads, simplifying the overall interface, deduplicating some code.
2019-06-03yuzu/bootmanager: Treat the resolution factor as a u32Lioncash
Treating it as a u16 can result in a sign-conversion warning when performing arithmetic with it, as u16 promotes to an int when aritmetic is performed on it, not unsigned int. This also makes the interface more uniform, as the layout interface now operates on u32 across the board.
2019-05-30Merge pull request #1931 from DarkLordZach/mii-database-1bunnei
mii: Implement MiiManager backend and several mii service commands
2019-05-30rasterizer_opengl: Remove OpenGL core profileReinUsesLisp
2019-05-29Merge pull request #2518 from ReinUsesLisp/sdl2-windowbunnei
yuzu_cmd: Split emu_window OpenGL implementation into its own file
2019-05-29core/core: Remove unnecessary includesLioncash
The contents of these includes aren't used anywhere in this translation unit.
2019-05-28core/loader: Remove LoadKernelSystemModeLioncash
This is a hold-over from Citra and doesn't apply to yuzu.
2019-05-28core/telemetry_session: Remove unnecessary web service nulling out in destructorLioncash
This will automatically occur when the backend instance goes out of scope at the end of the destructor's execution.
2019-05-28core/telemetry_session: Remove usages of the global system accessorLioncash
Makes the dependency explicit in the TelemetrySession's interface instead of making it a hidden dependency. This also revealed a hidden issue with the way the telemetry session was being initialized. It was attempting to retrieve the app loader and log out title-specific information. However, this isn't always guaranteed to be possible. During the initialization phase, everything is being constructed. It doesn't mean an actual title has been selected. This is what the Load() function is for. This potentially results in dead code paths involving the app loader. Instead, we explicitly add this information when we know the app loader instance is available.