aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2019-06-21Merge pull request #2602 from lioncash/castbunnei
service/acc: Silence truncation warnings
2019-06-21Merge pull request #2575 from DarkLordZach/process-id-typesbunnei
kernel: Differentiate kernel and user processes when picking ID
2019-06-21Merge pull request #2546 from DarkLordZach/kipsbunnei
loader, file_sys: Add support for parsing and loading KIP (Kernel Internal Process) files
2019-06-21Merge pull request #2482 from DarkLordZach/prepobunnei
core: Add detailed local reporting feature for development
2019-06-21service/acc: Silence truncation warningsLioncash
The sanitizing function ensures that the returned type is always the correct type. This eliminates warnings without extra casts.
2019-06-20freezer: Update documentationZach Hilman
2019-06-20core: Move Freezer class to tools namespaceZach Hilman
2019-06-20freezer: Add documentation for methodsZach Hilman
2019-06-20memory: Add class to manage and enforce memory freezingZach Hilman
2019-06-20Merge pull request #2596 from FernandoS27/revert-2590bunnei
Revert PR 2590.
2019-06-20Merge pull request #2595 from jonsn0w/patch-1Hexagon12
Update content_archive.cpp
2019-06-19Revert PR 2590.Fernando Sahmkow
Even though it has been proven that IAudioRenderer:SystemEvent is actually an automatic event. The current implementation of such event is all thought to be manual. Thus it's implementation needs to be corrected when doing such change. As it is right now this PR introduced a series of regressions on softlocks on multiple games. Therefore, this pr reverts such change until a correct implementation is made.
2019-06-19Merge pull request #2591 from lioncash/recordbunnei
core: Remove unused CiTrace source files
2019-06-19Merge pull request #2590 from lioncash/eventbunnei
service/audio/audren_u: Correct event reset type for the system event
2019-06-19Update content_archive.cppjonsn0w
log clutter in debug logs when theres really no need
2019-06-18core: Remove unused CiTrace source filesLioncash
These source files have been unused for the entire lifecycle of the project. They're a hold-over from Citra and only add to the build time of the project, so they can be removed. There's also likely no way this would ever work in yuzu in its current form without revamping quite a bit of it, given how different the GPU on the Switch is compared to the 3DS.
2019-06-18service/audio/audren_u: Correct event reset type for the system eventLioncash
This is actually an auto-reset event in the audio service itself, not a manual one.
2019-06-17Addressed issuesDavid Marcec
2019-06-16Core_Timing: Make core_timing threadsafe by default.Fernando Sahmkow
The old implementation had faulty Threadsafe methods where events could be missing. This implementation unifies unsafe/safe methods and makes core timing thread safe overall.
2019-06-16Signalled accumulated_suspended_tick_changed_event on creation based on REDavid Marcec
2019-06-16CleanupDavid Marcec
2019-06-16Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & ↵David Marcec
Partial impl of GetAccumulatedSuspendedTickChangedEvent IPC-100 was changed to InitializeApplicationInfoOld instead of InitializeApplicationInfo. IPC-150 makes an indentical call to IPC-100 however does extra processing. They should not have the same name as it's quite confusing to debug.
2019-06-15Merge pull request #2581 from lioncash/hexZach Hilman
common/hex_util: Combine HexVectorToString() and HexArrayToString()
2019-06-14Merge pull request #2582 from lioncash/reservedbunnei
file_sys/ips_layer: Remove unnecessary reserve() call
2019-06-12Merge pull request #2580 from lioncash/redundantZach Hilman
kernel/vm_manager: Remove redundant Reset call in destructor
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