viciious / d32xr

A modern port of Doom for the Sega 32X
Other
161 stars 12 forks source link

For demos that don't end in death, don't read past demo data. #97

Closed SSNTails closed 5 months ago

SSNTails commented 5 months ago

Demos that don't end in death will continue to read the demo_p pointer, reading past the demo lump data to humorous and undesirable effect.

https://github.com/viciious/d32xr/assets/159929665/cd8497f1-28e7-4b9b-a514-dad47b49dfef

The use of ga_exitdemo here appears to be not utilized correctly, and the use of BT_PAUSE to end a demo was not being handled the right way. This has been corrected so the attract mode will continue to function as expected.

viciious commented 5 months ago

Thanks!