[Dev branch] Advmame in 480p - Crashes Advmame

Hey, it throws up an error if you set Advmame to native video resolution 480p, the device_video_modeline in Advmame.rc gets properly updated but it crashes during load with:

  GNU nano 4.3                      emuelec.log                                 
EmuELEC Run Log
##############################################
#                 EmuELEC                    #
#     Retro emulation for Amlogic Devices    #
#             Based on CoreELEC              #
##############################################
EmuELEC (Community - EmuELEC is FREE! NOT FOR SALE!): 4.2 (Amlogic-ng.aarch64)
PLATFORM: mame
ROM NAME: /storage/roms/mame/pwrinst2.zip
BASE ROM NAME: pwrinst2.zip
USING CONFIG: /storage/.config/retroarch/retroarch.cfg
1st Argument: /storage/roms/mame/pwrinst2.zip
2nd Argument: -Pmame
3rd Argument: --core=AdvanceMame
4th Argument: --emulator=AdvanceMame
Full arguments: /storage/roms/mame/pwrinst2.zip -Pmame --core=AdvanceMame --emu>
Run Command is:
/usr/bin/bash advmame.sh /storage/roms/mame/pwrinst2.zip
Emulator Output is:
ALSA lib /home/joslan/Documents/EmuELEC-Langerz82/build.EmuELEC-Amlogic-ng.aarc>
No video modes available for the current game.
Failed to initialize the video
exit 1

Doesn’t make a huge diff to me running in 720p but I thought some lower spec devices may run a smoother FPS with 480p option working.

I have never tried 480p, but the error seems logical here:

No video modes available for the current game.
Failed to initialize the video

so its either the modeline uses on advmame.rc or the game not supporting 480p?

I just use 640x480 native video and it works ok. We need to add 480p video modeline to the advmame.rc for it to work but no point really cause 640x480 works fine.