mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-24 18:21:50 +01:00
allow ROMs smaller than 96K. 32K is now the lower limit.
This commit is contained in:
parent
647097b356
commit
c685dfceb9
@ -346,8 +346,8 @@ int FileSortCallback(const void *f1, const void *f2)
|
||||
***************************************************************************/
|
||||
static bool IsValidROM()
|
||||
{
|
||||
// file size should be between 96K and 8MB
|
||||
if(browserList[browser.selIndex].length < (1024*96) ||
|
||||
// file size should be between 32K and 8MB
|
||||
if(browserList[browser.selIndex].length < (1024*32) ||
|
||||
browserList[browser.selIndex].length > Memory.MAX_ROM_SIZE)
|
||||
{
|
||||
ErrorPrompt("Invalid file size!");
|
||||
|
Loading…
Reference in New Issue
Block a user