summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManager.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-05-09 16:34:25 +0200
committerLéo Lam <leo@leolam.fr>2020-05-09 16:47:45 +0200
commit47ee5ac284c2feb5671384f250bbf0036ca2e423 (patch)
treec0f3143d413d96efbc3b49ae136f5c5408dc4dc1 /Source/Core/VideoCommon/FramebufferManager.cpp
parent236ffd5e0ee98e9eba310ef07b41ffc191770915 (diff)
WiiRoot: Fix empty files being created when source is missing
CopyNandFile must not create empty files on the destination filesystem if the source file doesn't exist. Otherwise, this can lead to an empty Mii database being created in the session Wii root if there's no database in the configured Wii root and netplay or Movie is used -- that database would then be copied back to the configured root, which causes games like MKW to complain about corrupted Mii data even when the player has stopped using netplay. This commit also simplifies CreateFullPath usage. There's no need to manually extract the directory from the path, FS::CreateFullPath does it automatically just like File::CreateFullPath
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.cpp')
0 files changed, 0 insertions, 0 deletions