mirror of
https://github.com/libretro/desmume.git
synced 2024-11-23 08:10:03 +00:00
DeSmuME is a Nintendo DS emulator
35e834ff2c
- After years of testing, no one has reported running into the assert in gfx3d_ysort_compare() so I think we should be safe in reverting std::stable_sort() back to std::sort(). - For the sorting function, use gfx3d_ysort_compare_orig() since this function compiles down to fewer instructions than gfx3d_ysort_compare_kalven() does, resulting in better sorting performance. - Of note, I'm pretty sure that SF commit r5132 is what fixed the original bug (see SF#1461 for more details) by getting rid of the NaN comparisons that were tripping up std::sort(). In the future, we should research why we're dividing by 0 in the first place, since r5132 is clearly a hack of a fix. |
||
---|---|---|
desmume | ||
tools | ||
.gitignore | ||
license.txt | ||
README.md |