OpenTrespasser / JurassicParkTrespasser

A git-based fork of the Jurassic Park: Trespasser source code.
101 stars 25 forks source link

CMake: Linker flag for self-modifying assembly code #60

Closed meekee7 closed 4 years ago

meekee7 commented 4 years ago

A linker flag is added to the DLL and EXE projects, required by the self-modifying assembly code in ScreenRenderDWI. It needs to be applied globally because ScreenRenderDWI is a static library and it must be added to the "final" DLL/EXE projects. The code will successfully compile and link without this flag, but crash upon execution of the renderer.