diff options
| author | JosJuice <josjuice@gmail.com> | 2026-05-30 11:26:26 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2026-05-30 11:51:14 +0200 |
| commit | 3abadcd5071ea1acbc5748deb57f21b03c7c5536 (patch) | |
| tree | 6696951807dfafaaba0e6ee2ecec5ff18661d5aa /Source/Core/InputCommon/ControllerInterface | |
| parent | 9e7d340f22dd1c82b1efa6d0dbbf88632d5ac63c (diff) | |
Rework NANDImporter::GetPath slash handling
GetPath has two special cases where it doesn't add a slash.
The first is for the root entry's special name "/". The next commit will
be neater if we can skip calling GetPath for the root entry, because '/'
is one of the characters that Common::EscapeFileName replaces with an
escape sequence. Let's check for entry number 0 instead.
The second is for parent paths that already end in a slash. There's no
actual need to check for this - double slashes are harmless, and for
comparison, NANDImporter::ExtractCertificates already appends slashes
without checking if there already is one. Let's remove this check.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions
