Okay so the value being read should be the
seeker value which is not valid
at all when RatufaCoat runs.
Okay so load pool is exactly the same as SummerCoat, same values and such.
Okay so, I think I saw something in the JAR minimizer. The BootRAM writes 7 fields while the non-boot JAR writes 8 fields. So this definitley might be why things are messing up. Need to see what is needed. Okay, only 7 fields are needed. Hopefully this does something?
I need a way to handle out of memory errors. But fixing the non-boot JAR error made RatufaCoat behave a bit different.
Wait a minute, perhaps in SummerCoat the names of the JARs are placed in the actual JARs, because it is just a ROM pointer.
Okay just checked and that is not the case. So not sure!
__initRamLinks() is being called with
Invoke 01dc2e54 (
1114112/00110000, 16777216/01000000). So this looks right.
Okay so the first init ram links read ended up being zero.
BootRAM is being initialized but it seems no values are being written to anywhere.
Okay so it seems the initial value is not being written to BootRAM at the given address?
I am stupid, I was not storing the read value in a register.
Okay so the boot library is not valid in either VM, so the value must be written wrong.
No, just the wrong offset in the ROM was being read for the main class.
Actually the original value is correct.
I just have to offset the value correctly I believe.
So the RetroArch engine does not need to be updated as much, I am going to put in ROM stuff that is built-in like an initial JAR program.
Okay so I do not want to copyrom anymore, but it just gives me invalid argument on init. So wonder what causes this.