libretro: Allow ROMs that are max size for Stella (instead of requiring 1 byte less).

This commit is contained in:
Stephen Anthony 2020-05-25 14:14:57 -02:30
parent 43662449c1
commit 6869582d5a
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ bool retro_load_game(const struct retro_game_info *info)
{ 0, 0, 0, 0, NULL }, { 0, 0, 0, 0, NULL },
}; };
if(!info || info->size >= stella.getROMMax()) return false; if(!info || info->size > stella.getROMMax()) return false;
environ_cb(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc); environ_cb(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc);