freej2me
freej2me copied to clipboard
Improvements to FreeJ2ME's game compatibility by adding some missing classes (redone)
Copying the PR message from the previous similarly-named one: More general improvements to the game compatibility, this time by adding some classes not available to them prior and working around a few weird behaviors that some games relied on, enabling many to go beyond the boot sequence and even reach near-perfect gameplay now. ~~The screen pointer on the libretro frontend was also fixed, since it wasn't pointing at the correct coordinates when the screen was rotated, which many Touchscreen games require.~~ - Moving this one into a separate commit, just like the "negative index" fix.
But this time, those new implementations and stubs are clean and based off of Java's ME JSR Community Process docs, since many can't be found on the main javadocs pages.
The docs: https://jcp.org/en/jsr/platform?listBy=1&listByType=platform
Edit: This one fixes #148, although the issue was created after this PR.
I've based my review on JSR 82: https://docs.oracle.com/javame/config/cldc/opt-pkgs/api/bluetooth/jsr082/javax/bluetooth/package-summary.html
Oh shoot, i forgot to mark this one as a draft. I'm really Sorry!
The reason they are abstract for now is because i just stubbed them as much as i could to test if they were already causing any effect. i¨ll be converting it to a draft shortly.
Hmm... after looking at all the files again, seems this PR is ready for review... at least to me.
Just gave it a shot on implementing the UUID (alongside many adjustments to the other files added in this PR). If there's anything else to be done, or the implementation is incorrect, please share. I'm not used to doing those manipulations used in the UUID.
Cleaned this PR up a bit. Now it only has those new files. The pointer, rms negative index and a few other minor fixes were moved into their own pull requests.