hex007 / freej2me

A free J2ME emulator with libretro, awt and sdl2 frontends.
Other
469 stars 72 forks source link

FreeJ2ME: Apply resolutions passed as commandline args. #166

Closed AShiningRay closed 1 year ago

AShiningRay commented 1 year ago

Previously FreeJ2ME wouldn't apply resolutions passed as arguments because it would init a config file with the default res of 240x320 and update the main app with this default res, completely overriding the arguments received. This commit solves that, and also makes it so that the received args also override the resolution set in the config file, since those arguments still wouldn't apply in case a config file was already saved from a given app that was run with FreeJ2ME previously at a different res.

Fixes #165

vadosnaprimer commented 1 year ago

Thanks, I remember having problems with this!