Bakugo
c72ef5f405
file_sys/registered_cache: Improve missing metadata error
This can happen when installing NSPs too, not just XCIs.
7 years ago
Bakugo
9968c0883a
file_sys/submission_package: Don't warn about missing DeltaFragment NCAs
DeltaFragments are not useful to us and are often not included in patch NSPs.
7 years ago
Bakugo
79163fca80
file_sys/registered_cache: Ignore DeltaFragment NCAs during installation
DeltaFragments are only used to download and apply partial patches on a real console, and are not useful to us at all. Most patch NSPs do not include them, and when they do, it's a waste of space to install them.
7 years ago
Bakugo
306a24aad7
file_sys: Rename ContentRecordType::Patch to DeltaFragment
Avoids potential confusion, since patches and DeltaFragments are not the same thing. Actual full patches are listed under the Program type.
7 years ago
Zach Hilman
d10fc2d727
glue: Correct missing bytes in ApplicationLaunchParameter
7 years ago
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
jonsn0w
e78d069a81
Update content_archive.cpp
log clutter in debug logs when theres really no need
7 years ago
David Marcec
6ca20ad7ba
Addressed issues
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
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
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
9db119f8a2
kernel_executable: Optimize BLZ decompression
7 years ago
Zach Hilman
c417b4fe28
game_list: Accept *.kip as a file extension of executables
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
421c3e831a
file_sys: Add classes to parse KIP1 and INI1 files
7 years ago
Michael Scire
7dbf4c1ae5
Implement IApplicationFunctions::GetDesiredLanguage
7 years ago
Lioncash
37b23efece
file_sys/program_metadata: Remove obsolete TODOs
BitField has been trivially copyable since
e99a148628 , so we can eliminate these
TODO comments and use ReadObject() directly instead of memcpying the
data.
7 years ago
Lioncash
a1868286b0
file_sys/nca_metadata: Remove unnecessary comparison operators for TitleType
enum class elements from the same enum can already be compared against
one another without the need for explicitly defined comparison
operators.
7 years ago
Lioncash
28e36de56f
file_sys/fsmitm_romfsbuild: Utilize a string_view in romfs_calc_path_hash()
The given string instance doesn't need to be copied entirely, we can
just use a view instead.
7 years ago
Lioncash
c05c8a7a06
service/fsp_srv: Don't pass SaveDataDescriptor instances by value.
Passing around a 64 byte data struct by value is kind of wasteful,
instead pass a reference to the struct.
7 years ago
Lioncash
d9ee58a3b5
service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structs
I realized that I updated the documentation on SwitchBrew a while ago,
but never actually updated the structs within yuzu.
7 years ago
Lioncash
a973271b8c
file_sys/control_metadata: Amend naming of members
Quite a bit of these were out of sync with Switchbrew (and in some cases
entirely wrong). While we're at it, also expand the section of named
members. A segment within the control metadata is used to specify
maximum values for the user, device, and cache storage max sizes and
journal sizes.
These appear to be generally used by the am service (e.g. in
CreateCacheStorage, etc).
7 years ago
Zach Hilman
552d5071fa
patch_manager: Dump NSO name with build ID
7 years ago
Zach Hilman
60f39060c6
core: Port current uses of RegisteredCache to ContentProvider
7 years ago
Zach Hilman
a6c7ae6fe8
file_sys: Create ContentProvider interface and default implementations
7 years ago
Lioncash
b26481c94b
core/cheat_engine: Make MemoryReadImpl and MemoryWriteImpl internally linked
These don't need to be visible outside of the translation unit, so they
can be enclosed within an anonymous namespace.
7 years ago
Lioncash
733cf179b8
file_sys/cheat_engine: Silence truncation and sign-conversion warnings
7 years ago
Lioncash
540235bb05
file_sys/cheat_engine: Remove use of global system accessors
Instead, pass in the core timing instance and make the dependency
explicit in the interface.
7 years ago
Lioncash
1cf90f4570
file_sys/patch_manager: Deduplicate NSO header
This source file was utilizing its own version of the NSO header.
Instead of keeping this around, we can have the patch manager also use
the version of the header that we have defined in loader/nso.h
7 years ago
Lioncash
ee49e1fcb6
file_sys/patch_manager: Remove two magic values
These correspond to the NSOBuildHeader.
7 years ago
Lioncash
b8c7072206
file_sys/content_archive: Amend name of Data_Unknown5 enum entry
While we're at it, give each entry some documentation.
7 years ago
Zach Hilman
debc7442f2
set_sys: Use official nintendo version string
7 years ago
Zach Hilman
73f2ee5484
system_version: Correct sizes on VectorVfsFile construction
7 years ago
Zach Hilman
ed82bb968a
set_sys: Implement GetFirmwareVersion(2) for libnx hosversion
Uses the synthesized system archive 9 (SystemVersion) and reports v5.1.0-0.0
7 years ago
Zach Hilman
52ac6419da
vm_manager: Remove cheat-specific ranges from VMManager
7 years ago
Zach Hilman
769b346682
cheat_engine: Add parser and interpreter for game cheats
7 years ago
Zach Hilman
4495bf5706
patch_manager: Display cheats in game list add-ons
7 years ago
Zach Hilman
c5091bfe00
patch_manager: Add support for loading cheats lists
Uses load/<title_id>/<mod_name>/cheats as root dir, file name is all upper or lower hex first 8 bytes build ID.
7 years ago
Frederic L
517933adcb
file_sys/vfs_vector: Fix ignored offset on Write
7 years ago