Closed phobos2077 closed 1 month ago
Sometimes after sfall rebuild, it doesn't happen. But it should reproduce with this build from my drag skip branch: https://drive.google.com/file/d/12Q1IV9UeTHxlZhir48_8q5H-QRjAL6tm/view?usp=sharing
A fresh rebuild from the exact same source shows 1 byte diff from that dll with the bug. I've no idea what that is.
This is insane, but I think it's a bug with Visual Studio. I tracked down the 1 byte diff to JG (7F) vs JNE (75) instructions in one of the hooks. I tested it by changing jg to jne, compiling the dll and seeing no change in binary comparison vs other build (with Beyond Compare).
Did a "clean build" and fresh rebuild - the dll diff got huge. Seems like VS doesn't "see" some changes in ASM code when doing incremental build.
This clean rebuild doesn't trigger the issue. So it seems it was on my end after all. Closing.
Caused by this commit: https://github.com/sfall-team/sfall/commit/6d432163ca8f5f7586093c31e712814b4ed85952.
To reproduce
Expected result
The log shows:
Actual result:
The log shows: