diff options
author | David Guillen Fandos | 2021-02-23 20:27:59 +0100 |
---|---|---|
committer | David Guillen Fandos | 2021-02-23 20:27:59 +0100 |
commit | 349e47f0b251b42c7a3d7e2d8072ce976a55b54c (patch) | |
tree | fd76187fc7def92e5ed31f7e28611f916a2d8f70 /libco/libco.c | |
parent | 300d0c0028e400eabd81dc718ee8cd8c6459b256 (diff) | |
download | picogpsp-349e47f0b251b42c7a3d7e2d8072ce976a55b54c.tar.gz picogpsp-349e47f0b251b42c7a3d7e2d8072ce976a55b54c.tar.bz2 picogpsp-349e47f0b251b42c7a3d7e2d8072ce976a55b54c.zip |
Small fixes to division by zero
This causes crashes in PSP quite often in many games. Other CPUs might
(depending on the processor state) silently return zero or some
undefined value.
The fix is borrowed from ReGBA's codebase
Diffstat (limited to 'libco/libco.c')
0 files changed, 0 insertions, 0 deletions