summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-05-30 11:26:26 +0200
committerJosJuice <josjuice@gmail.com>2026-05-30 11:51:14 +0200
commit3abadcd5071ea1acbc5748deb57f21b03c7c5536 (patch)
tree6696951807dfafaaba0e6ee2ecec5ff18661d5aa /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h
parent9e7d340f22dd1c82b1efa6d0dbbf88632d5ac63c (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/ControllerInterface.h')
0 files changed, 0 insertions, 0 deletions