Open PatrickvL opened 6 years ago
Cause of regress is commit https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/commit/82de4aff003cddfa6c7ced077325db25de7848b4. By restoring it, it is not making any regressions for Lego Star Wars 1 & 2 titles.
Oh wow, good find! From what I remember, that change was done because it fixed the missing vertices in the cartoon XDK sample (a bug I had spend ages on to find). So it's unfortunate that the same change turns out to have caused this Lego issue... (Luke also had an issue with it a while ago, but couldn't remember what it was, so we decided to restore the correct behaviour).
Reading this code, it currently returns a value closer to what you'd expect, than when the correction is disabled. So we should investigate (perhaps by writing tests) how this API should really behave, document it, and implement it, ignoring any fallout (which will have to be attributed to other factors).
From @BenNottelling on August 4, 2017 18:49
Description
Lego StarWars demo used to be able to get past the main menu and almost ingame, but it now crashes before the menu
Game info
[XBE Dump, KrnlDebug, HLE Cache, Ect] BeforeKrnlDebug.txt KrnlDebug.txt Xbe.txt b7400f0et.txt
Status
Previous behavior: [Before regression] Menu, intro video and ALMOST in-game (works with hack)
Current behavior: [On the latest build] Crashes during logos before the menu
Screenshots [Errors, Graphics, Glitches, ECT]
Current build:
Before:
![capture3](https://user-images.githubusercontent.com/17304943/28982372-6958e500-790a-11e7-9887-01c990757ce1.PNG)
And it could even go in-game if I stopped the error from showing![capture4](https://user-images.githubusercontent.com/17304943/28982389-795b6054-790a-11e7-84c2-650d2408c611.PNG)
Copied from original issue: Cxbx-Reloaded/Cxbx-Reloaded#600