diff --git a/Source/Core/Core/IOS/Network/KD/VFF/VFFUtil.cpp b/Source/Core/Core/IOS/Network/KD/VFF/VFFUtil.cpp index a2805000ff..264088b2c2 100644 --- a/Source/Core/Core/IOS/Network/KD/VFF/VFFUtil.cpp +++ b/Source/Core/Core/IOS/Network/KD/VFF/VFFUtil.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include @@ -97,6 +98,10 @@ static DRESULT read_vff_header(IOS::HLE::FS::FileHandle* vff, FATFS* fs) fs->id = 0; fs->cdir = 0; + // invalidate window + fs->wflag = 0; + fs->winsect = std::numeric_limits::max(); + return RES_OK; }