Some TARGET_PC fixes

This commit is contained in:
Luke Street
2026-02-28 13:16:02 -07:00
parent 3d97a07488
commit f501960314
11 changed files with 87 additions and 58 deletions
+2 -2
View File
@@ -209,9 +209,9 @@ void JUTException::setFPException(u32 fpscr_enable_bits) {
#define __signbit(x) ((*(unsigned char*)&(x)) & 0x80)
void JUTException::showFloatSub(int index, f32 value) {
if (isnan(value)) {
if (std::isnan(value)) {
sConsole->print_f("F%02d: Nan ", index);
} else if (isinf(value)) {
} else if (std::isinf(value)) {
if (__signbit(value)) {
sConsole->print_f("F%02d:+Inf ", index);
} else {