mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-01-12 11:19:07 +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()
|
static bool IsValidROM()
|
||||||
{
|
{
|
||||||
// file size should be between 96K and 8MB
|
// file size should be between 32K and 8MB
|
||||||
if(browserList[browser.selIndex].length < (1024*96) ||
|
if(browserList[browser.selIndex].length < (1024*32) ||
|
||||||
browserList[browser.selIndex].length > Memory.MAX_ROM_SIZE)
|
browserList[browser.selIndex].length > Memory.MAX_ROM_SIZE)
|
||||||
{
|
{
|
||||||
ErrorPrompt("Invalid file size!");
|
ErrorPrompt("Invalid file size!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user