AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
246 stars 61 forks source link

Metajo 1 crashes when you gain control of a character #160

Open Svipur opened 1 year ago

Svipur commented 1 year ago

Tested in RetroArch 1.13 with the np2kai 0.86 core.

Steps to reproduce:

  1. Run Metajo.
  2. Start a new game.
  3. Agree to go through the tutorial.
  4. When the star pops up on the ground, the game will hang before you get to see the action selection menu.

Curiously, if you make a save state in RetroArch at any point before gaining control of the character, and immediately load the same save state, the game will let you play just fine.

amuramatsu commented 1 year ago

This bug is caused by bug around FP exception flags. I wrote a patch for fix it. If you cannot use patch, workaround is exist.

Workaround

Write FPU_TYPE=2 (or FPU_TYPE=1) into configuration file. (Using dosbox based floating point routine instead of softfloat)

Svipur commented 1 year ago

@amuramatsu thank you, these seem to work like a charm.