From d9c9b01360f60dcddde4fb78bebd844446768894 Mon Sep 17 00:00:00 2001 From: Barry Harris <44396066+barry65536@users.noreply.github.com> Date: Sun, 22 Jan 2012 10:07:54 +0000 Subject: [PATCH] Fix for Rom scanning --- src/burner/win32/bzip.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/burner/win32/bzip.cpp b/src/burner/win32/bzip.cpp index 4d3706369..cdd17cd91 100644 --- a/src/burner/win32/bzip.cpp +++ b/src/burner/win32/bzip.cpp @@ -413,6 +413,7 @@ int BzipOpen(bool bootApp) } z++; + if (z >= BZIP_MAX) break; // Look further in the last ten paths specified, so you can put files with ROMs // used only by FB Alpha there without causing problems with dat files