There's an error in the r_drawflush.inl file in the SVN
version for AMR processors, where a int cast produce a
structure unaligment, generating a SIGBUS.
Patch for the r_drawflush.inl file
Logged In: YES
The whole point of this is to use int instead of bytes to get faster writing. But the
bus error shows that we can get unaligned writes, which aren't fatal on other
processors, but hurt performance. I will look into rewriting this in a way which
should lead to better performance on most processors and fixes the bus error
on those where unalign access is forbidden. Thanks for bringing this up.
I hopefully fixed this for PrBoom 2.4.6. Please open a bug if it still happens.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.