mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
decrease min allowed filesize to 8KB
This commit is contained in:
parent
aa565cc205
commit
3bb9236db0
@ -267,8 +267,8 @@ int FileSortCallback(const void *f1, const void *f2)
|
|||||||
|
|
||||||
bool IsValidROM(int method)
|
bool IsValidROM(int method)
|
||||||
{
|
{
|
||||||
// file size should be between 10K and 3MB
|
// file size should be between 8K and 3MB
|
||||||
if(browserList[browser.selIndex].length < (1024*10) ||
|
if(browserList[browser.selIndex].length < (1024*8) ||
|
||||||
browserList[browser.selIndex].length > (1024*1024*3))
|
browserList[browser.selIndex].length > (1024*1024*3))
|
||||||
{
|
{
|
||||||
WaitPrompt("Invalid file size!");
|
WaitPrompt("Invalid file size!");
|
||||||
|
Loading…
Reference in New Issue
Block a user