mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-05-02 10:59:36 +02:00
core, structural cleanup, fixes and improvements for type issues #2
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
;@ For commercial use, separate licencing terms must be obtained.
|
||||
|
||||
#include "../../pico/arm_features.h"
|
||||
#include <pico/arm_features.h>
|
||||
|
||||
.data
|
||||
.align 4
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../pico/pico_int.h"
|
||||
#include <pico/pico_int.h>
|
||||
#include "debug.h"
|
||||
|
||||
static char pdb_pending_cmds[128];
|
||||
|
||||
@@ -60,6 +60,8 @@
|
||||
#define FAMEC_EXTRA_INLINE INLINE
|
||||
#endif
|
||||
|
||||
#include <pico/pico_types.h>
|
||||
/*
|
||||
#ifdef u8
|
||||
#undef u8
|
||||
#endif
|
||||
@@ -95,6 +97,7 @@
|
||||
#define u32 unsigned int
|
||||
#define s32 signed int
|
||||
#define uptr uintptr_t
|
||||
*/
|
||||
|
||||
/*
|
||||
typedef unsigned char u8;
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "../../pico/pico_int.h"
|
||||
#include "../../pico/arm_features.h"
|
||||
#include <pico/pico_int.h>
|
||||
#include <pico/arm_features.h>
|
||||
#include "sh2.h"
|
||||
#include "compiler.h"
|
||||
#include "../drc/cmn.h"
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
// MAME types
|
||||
#ifndef INT8
|
||||
typedef signed char INT8;
|
||||
typedef signed short INT16;
|
||||
typedef signed int INT32;
|
||||
typedef unsigned int UINT32;
|
||||
typedef unsigned short UINT16;
|
||||
typedef unsigned char UINT8;
|
||||
typedef s8 INT8;
|
||||
typedef s16 INT16;
|
||||
typedef s32 INT32;
|
||||
typedef u32 UINT32;
|
||||
typedef u16 UINT16;
|
||||
typedef u8 UINT8;
|
||||
#endif
|
||||
|
||||
#ifdef DRC_SH2
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#ifndef __SH2_H__
|
||||
#define __SH2_H__
|
||||
|
||||
#include "../../pico/pico_types.h"
|
||||
#include "../../pico/pico_port.h"
|
||||
#include <pico/pico_types.h>
|
||||
#include <pico/pico_port.h>
|
||||
|
||||
// registers - matches structure order
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user