refresh 4

This commit is contained in:
n64
2019-12-01 21:52:53 -05:00
parent a7c423cb43
commit 04732af90b
729 changed files with 21400 additions and 37110 deletions

View File

@@ -217,7 +217,7 @@ typedef struct {
typedef union {
Awords words;
#if !defined(__x86_64__) && !defined(__i386__)
#if IS_BIG_ENDIAN && !IS_64_BIT
Aadpcm adpcm;
Apolef polef;
Aclearbuff clearbuff;

View File

@@ -297,19 +297,19 @@
* G_MTX: parameter flags
*/
#ifdef F3DEX_GBI_2
# define G_MTX_MODELVIEW 0x00 /* matrix types */
# define G_MTX_PROJECTION 0x04
# define G_MTX_MUL 0x00 /* concat or load */
# define G_MTX_LOAD 0x02
# define G_MTX_NOPUSH 0x00 /* push or not */
# define G_MTX_PUSH 0x01
# define G_MTX_MODELVIEW 0x00 /* matrix types */
# define G_MTX_PROJECTION 0x04
# define G_MTX_MUL 0x00 /* concat or load */
# define G_MTX_LOAD 0x02
# define G_MTX_NOPUSH 0x00 /* push or not */
# define G_MTX_PUSH 0x01
#else /* F3DEX_GBI_2 */
# define G_MTX_MODELVIEW 0x00 /* matrix types */
# define G_MTX_PROJECTION 0x01
# define G_MTX_MUL 0x00 /* concat or load */
# define G_MTX_LOAD 0x02
# define G_MTX_NOPUSH 0x00 /* push or not */
# define G_MTX_PUSH 0x04
# define G_MTX_MODELVIEW 0x00 /* matrix types */
# define G_MTX_PROJECTION 0x01
# define G_MTX_MUL 0x00 /* concat or load */
# define G_MTX_LOAD 0x02
# define G_MTX_NOPUSH 0x00 /* push or not */
# define G_MTX_PUSH 0x04
#endif /* F3DEX_GBI_2 */
/*
@@ -1719,7 +1719,7 @@ typedef struct {
*/
typedef union {
Gwords words;
#if !defined(F3D_OLD) && !defined(__x86_64__) && !defined(__i386__)
#if !defined(F3D_OLD) && IS_BIG_ENDIAN && !IS_64_BIT
Gdma dma;
Gtri tri;
Gline3D line;
@@ -1738,7 +1738,7 @@ typedef union {
Gsettilesize settilesize;
Gloadtlut loadtlut;
#endif
long long int force_structure_alignment;
long long int force_structure_alignment;
} Gfx;
/*

View File

@@ -1,6 +1,8 @@
#ifndef _MBI_H_
#define _MBI_H_
#include "platform_info.h"
/**************************************************************************
* *
* Copyright (C) 1994, Silicon Graphics, Inc. *

View File

@@ -29,18 +29,14 @@ typedef volatile s64 vs64;
typedef float f32;
typedef double f64;
#ifdef __x86_64__
typedef u64 size_t;
typedef s64 ssize_t;
typedef u64 uintptr_t;
typedef s64 intptr_t;
typedef s64 ptrdiff_t;
#else
#ifdef TARGET_N64
typedef u32 size_t;
typedef s32 ssize_t;
typedef u32 uintptr_t;
typedef s32 intptr_t;
typedef s32 ptrdiff_t;
#else
#include <stddef.h>
#endif
#endif