![]() |
![]() |
![]() |
![]() |
![]() |
Make 'Ys I & II Eternal Story' playable.
Posted on 2006-02-19 00:00:00 |
Made some more research to find the source of the problem, but I wasn't able to fix it today. I found out that there is some bounds checking done somewhere, but it is unfortunately done before the angle value is incremented to the fatidic value and before it goes in the routine that's supposed to process this angle.
I'm pretty sure this is related to the particle system renderer, because if I force the bounds check to happen, there won't be any particles when hitting an enemy and we'll be able to proceed with the game normally. In the program, a particle system object seems to be created with a constant maximum number of steps which often a peculiar number (37.058823 for example). This is the value on which the angle is tested against in the bounds checking code. The program crashes when the angle value exceeds this maximum. I'm not sure whether the wierdness of the number is the cause of this or not... If the number was 37, the bounds checking would be able to work properly... It could be the rounding mode too, but I don't think this is changeable on the EE FPU... I don't really know what it could be, but I'll keep investigating tomorrow. |