Zach Hilman
fb8b87dbaf
registered_cache: Add getter to determine source slot in content provider union
Used to determine StorageId source for application data.
7 years ago
Zach Hilman
7891b418d4
patch_manager: Add getter for title version
7 years ago
David Marcec
0a47457838
Implemented INotificationService
7 years ago
Thomas May
3fc5127a9f
Update reporter.cpp
7 years ago
Lioncash
ee7b682ee0
service/acc: Silence truncation warnings
The sanitizing function ensures that the returned type is always the
correct type. This eliminates warnings without extra casts.
7 years ago
Zach Hilman
6aa4b7b369
freezer: Update documentation
7 years ago
Zach Hilman
c0126e6779
core: Move Freezer class to tools namespace
7 years ago
Zach Hilman
89cb67c76e
freezer: Add documentation for methods
7 years ago
Zach Hilman
9ab4d3de50
memory: Add class to manage and enforce memory freezing
7 years ago
Fernando Sahmkow
1b11723253
Revert PR 2590.
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.
7 years ago
jonsn0w
cbb3371437
Update content_archive.cpp
log clutter in debug logs when theres really no need
7 years ago
Lioncash
0b24f6f253
core: Remove unused CiTrace source files
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.
7 years ago
Lioncash
cedbb6ee41
service/audio/audren_u: Correct event reset type for the system event
This is actually an auto-reset event in the audio service itself, not a
manual one.
7 years ago
David Marcec
7b451419b4
Addressed issues
7 years ago
Fernando Sahmkow
16ee1b7006
Core_Timing: Make core_timing threadsafe by default.
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.
7 years ago
David Marcec
622b25db6e
Signalled accumulated_suspended_tick_changed_event on creation based on RE
7 years ago
David Marcec
9578a9a72d
Cleanup
7 years ago
David Marcec
5f5f8c6341
Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & 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.
7 years ago
Lioncash
af914546f2
file_sys/ips_layer: Remove unnecessary reserve() call
Given 'replace' is assigned to on the following line, this isn't
necessary, given the underlying data is going to be overwritten
entirely.
7 years ago
Lioncash
59d55c8137
common/hex_util: Combine HexVectorToString() and HexArrayToString()
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.
7 years ago
Lioncash
14aca37172
file_sys/card_image: Remove obsolete TODO
We already support Rev 1+.
7 years ago
Lioncash
b0fc1ae7bf
kernel/vm_manager: Remove redundant Reset call in destructor
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.
7 years ago
Lioncash
348c03b1bd
file_sys/nca_metadata: Update CNMT structures
Names a few more entries in relevant structures. Information based off
SwitchBrew and my own RE.
7 years ago
Lioncash
c45be86d6e
file_sys/card_image: Deduplicate casts within AddNCAFromPartition()
Makes for nicer reading.
7 years ago
Lioncash
f5f9c52900
file_sys/card_image: Make bracing consistent
Makes for more consistent reading.
7 years ago
Lioncash
8bfb8e3dce
file_sys/card_image: Assign collapsed NCA contents directly to ncas member
Same thing, significantly less noisy.
7 years ago
Lioncash
907c499608
file_sys/card_image: Deduplicate type cast
Same thing, less duplication. We can also std::move raw into the
PartitionFilesystem constructor.
7 years ago
Lioncash
c305601f9b
file_sys/card_image: Get rid of a magic number
We can just use the size of the array to dehardcode it.
7 years ago
Lioncash
bfafb5f7d1
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
7 years ago
Zach Hilman
3f221f8e3f
kernel: Differentiate kernel and user processes when picking ID
This allows kernel internal type processes to be assigned IDs in the KIP range while userland processes are assigned in the user range.
7 years ago
Zach Hilman
e62e715ac2
nsp: Correct status codes for extracted NSPs
Avoids all extracted NSPs being marked as error file type because they don't have program NCAs.
7 years ago
Zach Hilman
5231fb95e6
nsp: Use title ID from NPDM metadata for extracted type NSPs
Avoids 0 being used as title ID for all extracted NSPs.
7 years ago
Lioncash
9f6aa8af4a
kernel/process: Make Create()'s name parameter be taken by value
Makes the interface more flexible in terms of how Create() may be
called, while still allowing the parameter itself to be moved into.
7 years ago
Lioncash
3a22c12704
kernel/svc: Implement 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.
7 years ago
Lioncash
a331973720
kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()
Disambiguates and makes the name a little more consistent with
TotalPhysicalMemoryUsed.
7 years ago
Lioncash
9f62c69fca
kernel/svc: Remove duplicate enum entry in svcGetInfo()
7 years ago
Zach Hilman
bf2e779efb
constants: Extract backup JPEG used by account services
7 years ago
Zach Hilman
ae00309771
kernel_executable: Optimize BLZ decompression
7 years ago
Lioncash
783b996dcd
service/ns: Add missing override specifiers
7 years ago
Lioncash
c23f162111
kernel/process: Remove unused boost header include
Boost headers typically include a lot of other headers, so removing this
can prevent a bit of unnecessary compiler churn when building.
7 years ago
Zach Hilman
5f6dba8ece
game_list: Accept *.kip as a file extension of executables
7 years ago
Zach Hilman
fd67e22b25
loader: Add recognition for KIP file type
7 years ago
Zach Hilman
ef42e591df
loader: Add KIP and INI file parser-specific errors
7 years ago
Zach Hilman
6fb2fa51eb
loader: Add AppLoader_KIP for KIP files
7 years ago
Zach Hilman
04a69eb6c7
program_metadata: Add function to load meta from raw parameters
Needed for KIP loading as KIPs do not have an NPDM but do have the essential parts of the data within.
7 years ago
Zach Hilman
8662c6d579
partition_data_manager: Remove KIP processing and use FileSys
Previously, this TU contained the necessary headers to parse KIP/INI but now it should just use the FileSys class.
7 years ago
Zach Hilman
48bb330ad1
file_sys: Add classes to parse KIP1 and INI1 files
7 years ago
Lioncash
debd00b300
core/core_timing_util: Amend casing of cyclesTo* functions
Makes the casing consistent with all of our general function naming
conventions.
7 years ago
Lioncash
97882b84a8
core/core_timing_util: Use std::chrono types for specifying time units
Makes the interface more type-safe and consistent in terms of return
values.
7 years ago
Lioncash
c5d6bd7f15
core/core_timing_utils: Simplify overload set
Removes unused overloads, simplifying the overall interface,
deduplicating some code.
7 years ago