i previously had a bad habit of using double underscores in include
guard macro names, which are implementation-reserved per
the C++98 standard (see 17.4.3.1.2 Global names).
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* before __register_global_object
* JKRThread::sThreadList, JKRHeap::sSystemHeap, etc.
* cleanup and started on JKRDvdArchive
* before changing JKRCompression
* more JKRDvdArchive, abs, and memset
* fixed JKRArchive::setExpandSize split
* JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors
* problems
* merge fixes and formatting
* updated clang version in clang-format-all to version 10
* Added OSPhysicalToCached and struct for global memory
* remove useless __attribute__
* changed from defines and macros to const variable and function
* changed FLAG_HAS to FLAG_ON
* JKRAram, linking problems
* fix JKRAram
* remove nonmatching stuff
* renamed static data
* more static class members
* JKRAramStream OK
* formatting
Co-authored-by: Julgodis <>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* Z2Calc OK
* inline definitions in random.h and format
* set -enum int compiler flag and fix enum hacks
* note for get_ufloat_1 inline
* PR suggestions and UB note
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* move OS function decls to their own header, os.h
* os.h: OSReport (+related), OSMutex, OSThread; fixup uses
* os.h: OS{Mutex,Thread}{Link,Queue}, OSCond
* os.h: OSxx typedefs, OSMessageQueue
* os.h: fix time function decls
* os.h: retype misc sched fns, create u32 OSSoundMode enum (and fixup use)
* os.h: more retyping
* merge os.h into os/OS.h
@Julgodis did this in parallel to me and added some functions beyond
what was in functions.h, so I merged our versions together
* os.h: retype the rest of the (currently decl'd) thread functions
* d_save: move OS import
Co-authored-by: Pheenoh <pheenoh@gmail.com>