mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-29 04:10:48 +00:00
a05e9c62be
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2894 96395faa-99c1-11dd-bbfe-3dabce05a288
24 lines
449 B
C
24 lines
449 B
C
#ifndef ZERODMA_H_INCLUDED
|
|
#define ZERODMA_H_INCLUDED
|
|
|
|
#include <stdio.h>
|
|
|
|
#define SPU2defs
|
|
#include "PS2Edefs.h"
|
|
|
|
#include "reg.h"
|
|
#include "misc.h"
|
|
|
|
static __forceinline bool irq_test1(u32 ch, u32 addr)
|
|
{
|
|
return ((addr + 0x2400) <= C_IRQA(ch) && (addr + 0x2500) >= C_IRQA(ch));
|
|
}
|
|
|
|
static __forceinline bool irq_test2(u32 ch, u32 addr)
|
|
{
|
|
return ((addr + 0x2600) <= C_IRQA(ch) && (addr + 0x2700) >= C_IRQA(ch));
|
|
}
|
|
|
|
|
|
#endif // ZERODMA_H_INCLUDED
|