summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-11 09:42:30 +0100
committeraap <aap@papnet.eu>2020-11-11 09:42:30 +0100
commit546ed0ff07cad63cb07612d8aff8d63213f71ecd (patch)
tree3d17be9b2b3767a663d73046477fdf4da4e42dc8 /src/core/Streaming.cpp
parentFrontend: Scroll for All, some care for PS2-like menu (diff)
downloadre3-546ed0ff07cad63cb07612d8aff8d63213f71ecd.tar
re3-546ed0ff07cad63cb07612d8aff8d63213f71ecd.tar.gz
re3-546ed0ff07cad63cb07612d8aff8d63213f71ecd.tar.bz2
re3-546ed0ff07cad63cb07612d8aff8d63213f71ecd.tar.lz
re3-546ed0ff07cad63cb07612d8aff8d63213f71ecd.tar.xz
re3-546ed0ff07cad63cb07612d8aff8d63213f71ecd.tar.zst
re3-546ed0ff07cad63cb07612d8aff8d63213f71ecd.zip
Diffstat (limited to '')
-rw-r--r--src/core/Streaming.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp
index 3c5689fd..4f721f17 100644
--- a/src/core/Streaming.cpp
+++ b/src/core/Streaming.cpp
@@ -390,6 +390,7 @@ CStreaming::LoadCdDirectory(const char *dirname, int n)
assert(sizeof(direntry) == 32);
while(CFileMgr::Read(fd, (char*)&direntry, sizeof(direntry))){
dot = strchr(direntry.name, '.');
+ assert(dot);
if(dot) *dot = '\0';
if(direntry.size > (uint32)ms_streamingBufferSize)
ms_streamingBufferSize = direntry.size;