hex007 / freej2me

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

Image.createImage() exception throwing improvements and a tiny fix #116

Closed Nokia64 closed 2 years ago

Nokia64 commented 2 years ago

Improved the exception throwing done by the javax.microedition.lcdui.Image.createImage() methods for better compilance with the MIDP standard, fixes #89

Also, the "image from sub-image" createImage() method wasn't using the proper PlatformImage constructor leading to blank images or crashes instead Before/after 9fa8df2 (Cannonball by Bluette/wait4u) Cannonball-pre Cannonball-post

recompileorg commented 2 years ago

Nicely done. This should improve a lot of games.