mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
some portability cleanups
This commit is contained in:
parent
7612bf90be
commit
bce144211c
4 changed files with 21 additions and 25 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <pico/pico_int.h>
|
||||
#include "cmn.h"
|
||||
|
||||
u8 __attribute__((aligned(4096))) tcache[DRC_TCACHE_SIZE];
|
||||
u8 ALIGNED(4096) tcache[DRC_TCACHE_SIZE];
|
||||
|
||||
|
||||
void drc_cmn_init(void)
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#ifndef __SH2_H__
|
||||
#define __SH2_H__
|
||||
|
||||
#if !defined(REGPARM) && defined(__i386__)
|
||||
#define REGPARM(x) __attribute__((regparm(x)))
|
||||
#else
|
||||
#define REGPARM(x)
|
||||
#endif
|
||||
#include "../../pico/pico_port.h"
|
||||
|
||||
// registers - matches structure order
|
||||
typedef enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue