示例#1
0
文件: x6502.cpp 项目: ben401/OpenEmu
static ALWAYS_INLINE void WrMemHook(unsigned int A, uint8 V)
{
 if(X.WriteHook)
  X.WriteHook(&X,A,V);
 else if(!X.preexec)
  BWrite[A](A,V);
}
示例#2
0
文件: x6502.cpp 项目: ben401/OpenEmu
static ALWAYS_INLINE uint8 RdMemHook(unsigned int A)
{
 if(X.ReadHook)
  return(_DB = X.ReadHook(&X,A) );
 else
  return(_DB=ARead[A](A));
}
示例#3
0
static INLINE void WrMemHook(uint32 A, uint8 V) {
	if (X.WriteHook)
		X.WriteHook(&X, A, V);
	else
		BWrite[A](A, V);
}
示例#4
0
static INLINE uint8 RdMemHook(uint32 A) {
	if (X.ReadHook)
		return(_DB = X.ReadHook(&X, A));
	else
		return(_DB = ARead[A](A));
}