darkduke606 / Insomnia-ProQuake-Engine

A modification of the ProQuake/Kurok Sony PSP engine focusing on hardware rendering optimization & mod support functionality
26 stars 9 forks source link

Fix halfword functions in network_psp #1

Closed TheMrIron2 closed 5 years ago

TheMrIron2 commented 5 years ago

Used a fix from Joel16's CM File Manager and its FTP functionality (with permission) to fix an out of scope error for the htons/htonl functions.

These functions appear to be broken in the PSP SDK itself, so I have defined them within the scope of the program to resolve it.

darkduke606 commented 5 years ago

Wait wait wait -- someone else is actually still developing on the PSP SDK / toolchain?!

TheMrIron2 commented 5 years ago

Yes! The N64 emulator DaedalusX64, the DS emulator DeSmuME PSP and a bunch of miscellaneous Quake projects that plan to use this engine are still active, as well as a program called CM File Manager from which I got this fix.