77 |
|
#else |
78 |
|
# define ROM_IS_WRITE_PROTECTED 1 |
79 |
|
#endif |
80 |
+ |
// Configure PowerPC emulator |
81 |
+ |
#define PPC_CHECK_INTERRUPTS (ASYNC_IRQ ? 0 : 1) |
82 |
+ |
#define PPC_DECODE_CACHE 1 |
83 |
+ |
#define PPC_FLIGHT_RECORDER 1 |
84 |
|
#else |
85 |
|
// Mac ROM is write protected |
86 |
|
#define ROM_IS_WRITE_PROTECTED 1 |
288 |
|
#define HAVE_SPINLOCKS 1 |
289 |
|
typedef int spinlock_t; |
290 |
|
|
291 |
< |
const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
291 |
> |
static const spinlock_t SPIN_LOCK_UNLOCKED = 0; |
292 |
|
|
293 |
|
static inline void spin_lock(spinlock_t *lock) |
294 |
|
{ |