mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-06 21:40:59 +01:00
FS: Fix directory listing
Previously, the host directory iterator stopped advancing at the last listed entry (instead of right after it).
This commit is contained in:
parent
c62e9c16f0
commit
c65c3c7192
1 changed files with 3 additions and 2 deletions
|
@ -533,8 +533,9 @@ public:
|
|||
|
||||
// auto it = iter;
|
||||
uint32_t actual_entries = 0;
|
||||
for (auto& entry : iter) {
|
||||
// TODO: Merge with Entry defined by platform
|
||||
while (iter != std::filesystem::directory_iterator{}) {
|
||||
auto entry = *iter++;
|
||||
// TODO: Merge with Entry defined by platform
|
||||
struct Entry {
|
||||
uint16_t name_utf16[0x20c / 2];
|
||||
uint8_t short_name[0xa]; // short 8.3 filename without extension
|
||||
|
|
Loading…
Reference in a new issue