Zach Hilman
db2e5e5fa6
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
a468273221
patch_manager: Add getter for title version
7 years ago
David Marcec
e49ae3bf92
Implemented INotificationService
7 years ago
Thomas May
334e6370f9
Update reporter.cpp
7 years ago
Lioncash
82cd87f6c2
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
4111971cbd
freezer: Update documentation
7 years ago
Zach Hilman
ed82fa3a91
core: Move Freezer class to tools namespace
7 years ago
Zach Hilman
c9983ad9a7
freezer: Add documentation for methods
7 years ago
Zach Hilman
1b7d619914
memory: Add class to manage and enforce memory freezing
7 years ago
Fernando Sahmkow
26fcdf087d
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
e78d069a81
Update content_archive.cpp
log clutter in debug logs when theres really no need
7 years ago
Lioncash
61d2498f00
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
5799404b78
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
6ca20ad7ba
Addressed issues
7 years ago
Fernando Sahmkow
90792cdb6e
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
50e3269f3b
Signalled accumulated_suspended_tick_changed_event on creation based on RE
7 years ago
David Marcec
5fb6781c61
Cleanup
7 years ago
David Marcec
335127af69
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
18c1d91920
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
a62088539e
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
c7daddb715
file_sys/card_image: Remove obsolete TODO
We already support Rev 1+.
7 years ago
Lioncash
0af3b4d9f4
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
a602bcaaf8
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
7bdef6106e
file_sys/card_image: Deduplicate casts within AddNCAFromPartition()
Makes for nicer reading.
7 years ago
Lioncash
81d361d9f8
file_sys/card_image: Make bracing consistent
Makes for more consistent reading.
7 years ago
Lioncash
e34368249f
file_sys/card_image: Assign collapsed NCA contents directly to ncas member
Same thing, significantly less noisy.
7 years ago
Lioncash
288d027e89
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
825ffd7b1f
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
bf35138d1d
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
7 years ago
Zach Hilman
fc0bf91a96
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
b957a4862f
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
1c75945dc4
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
Zach Hilman
425cdf946c
arm_dynarmic: Check if jit is nullptr when preparing reschedule
Prevents crash with multiprocess loading.
7 years ago
Lioncash
fea6568955
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
3f87664d8f
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
c1a8f684df
kernel/svc: Amend naming for TotalMemoryUsage in svcGetInfo()
Disambiguates and makes the name a little more consistent with
TotalPhysicalMemoryUsed.
7 years ago
Lioncash
81b1102090
kernel/svc: Remove duplicate enum entry in svcGetInfo()
7 years ago
Zach Hilman
11f2f0f45c
constants: Extract backup JPEG used by account services
7 years ago
Zach Hilman
9db119f8a2
kernel_executable: Optimize BLZ decompression
7 years ago
Lioncash
8304aaf282
service/ns: Add missing override specifiers
7 years ago
Lioncash
19dcb50692
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
c417b4fe28
game_list: Accept *.kip as a file extension of executables
7 years ago
Zach Hilman
ce9f7ac4f2
loader: Add recognition for KIP file type
7 years ago
Zach Hilman
a76bd49268
loader: Add KIP and INI file parser-specific errors
7 years ago
Zach Hilman
c3548967b1
loader: Add AppLoader_KIP for KIP files
7 years ago
Zach Hilman
b550a01f74
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
0f37096820
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
421c3e831a
file_sys: Add classes to parse KIP1 and INI1 files
7 years ago
Lioncash
2548661c08
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
42f5fd0ab3
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