You've already forked Diddy-Kong-Racing
mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-03-10 11:36:09 -07:00
* Matched and documented a lot of functions in controller pak * Clean up warnings on controller pak funcs * Match func_80076A38 * Rename string_to_font_codes as I had it backwards * Rename func_80076A38 to it's proper name * Update and name some more funcs * Near match for tt_menu_loop * Remove M2C code, made SIDeviceStatus a type where possible, and reverted ghost header struct changes as I'm not happy with them * Fix typo Co-authored-by: AntonioCastelli <aatcastelli@gmail.com> * Better names for SIDeviceStatus enum UNK vals. Co-authored-by: AntonioCastelli <aatcastelli@gmail.com> * Implement further suggestions * Attempt to decompile func_80093D40, and got relatively close, identified some variables, but never got there yet * Identify a couple more variables * Match menu_boot_loop, it was *so* close, and just needed moving the s32 temp declaration. * New matches from David just being added to my PR. * Update return type of func_80087F14 to SIDeviceStatus, and make the #if 1 into a NON_EQUIVALENT for menu_character_loop for consistency * Update src/unknown_0ABDF0.c Co-authored-by: AntonioCastelli <aatcastelli@gmail.com> Co-authored-by: Ryan Myers <foldor@gmail.com> Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
55 lines
1.7 KiB
C
55 lines
1.7 KiB
C
#ifndef __ASSERT_H__
|
|
#define __ASSERT_H__
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
/**************************************************************************
|
|
* *
|
|
* Copyright (C) 1984, Silicon Graphics, Inc. *
|
|
* *
|
|
* These coded instructions, statements, and computer programs contain *
|
|
* unpublished proprietary information of Silicon Graphics, Inc., and *
|
|
* are protected by Federal copyright law. They may not be disclosed *
|
|
* to third parties or copied or duplicated in any form, in whole or *
|
|
* in part, without the prior written consent of Silicon Graphics, Inc. *
|
|
* *
|
|
**************************************************************************/
|
|
/* Copyright (c) 1984 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
//#ident "$Revision: 1.17 $"
|
|
|
|
/* ANSI C Notes:
|
|
*
|
|
* - THE IDENTIFIERS APPEARING OUTSIDE OF #ifdef __EXTENSIONS__ IN THIS
|
|
* standard header ARE SPECIFIED BY ANSI! CONFORMANCE WILL BE ALTERED
|
|
* IF ANY NEW IDENTIFIERS ARE ADDED TO THIS AREA UNLESS THEY ARE IN ANSI's
|
|
* RESERVED NAMESPACE. (i.e., unless they are prefixed by __[a-z] or
|
|
* _[A-Z]. For external objects, identifiers with the prefix _[a-z]
|
|
* are also reserved.)
|
|
*/
|
|
|
|
#ifdef NDEBUG
|
|
#undef assert
|
|
#define assert(EX) ((void)0)
|
|
|
|
#else
|
|
|
|
extern void __assert(const char *, const char *, int);
|
|
#ifdef __ANSI_CPP__
|
|
#define assert(EX) ((EX)?((void)0):__assert( # EX , __FILE__, __LINE__))
|
|
#else
|
|
#define assert(EX) ((EX)?((void)0):__assert("EX", __FILE__, __LINE__))
|
|
#endif
|
|
#endif /* NDEBUG */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* !__ASSERT_H__ */
|