decrease min allowed filesize to 8KB

This commit is contained in:
dborth 2009-01-25 07:38:30 +00:00
parent aa565cc205
commit 3bb9236db0

View File

@ -267,8 +267,8 @@ int FileSortCallback(const void *f1, const void *f2)
bool IsValidROM(int method)
{
// file size should be between 10K and 3MB
if(browserList[browser.selIndex].length < (1024*10) ||
// file size should be between 8K and 3MB
if(browserList[browser.selIndex].length < (1024*8) ||
browserList[browser.selIndex].length > (1024*1024*3))
{
WaitPrompt("Invalid file size!");