Tweaked the forceinlines a bit, more speed :)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@612 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
ramapcsx2 2009-01-20 21:24:28 +00:00 committed by Gregory Hainaut
parent d2129c63ae
commit d0a7068f2e
2 changed files with 14 additions and 14 deletions

View File

@ -297,7 +297,7 @@ __forceinline u32 hwRead32(u32 mem) {
return ret;
}
__forceinline u64 hwRead64(u32 mem) {
u64 hwRead64(u32 mem) {
u64 ret;
if ((mem>=0x10002000) && (mem<0x10003000)) {
@ -317,7 +317,7 @@ __forceinline u64 hwRead64(u32 mem) {
return ret;
}
__forceinline void hwRead128(u32 mem, u64 *out) {
void hwRead128(u32 mem, u64 *out) {
if (mem >= 0x10004000 && mem < 0x10008000) {
ReadFIFO(mem, out); return;
}
@ -366,7 +366,7 @@ static void DmaExec( void (*func)(), u32 mem, u32 value )
char sio_buffer[1024];
int sio_count;
__forceinline void hwWrite8(u32 mem, u8 value) {
void hwWrite8(u32 mem, u8 value) {
#ifdef PCSX2_DEVBUILD
if( mem >= 0x10000000 && mem < 0x10008000 )
@ -497,7 +497,7 @@ __forceinline void hwWrite8(u32 mem, u8 value) {
}
}
__forceinline void hwWrite16(u32 mem, u16 value)
void hwWrite16(u32 mem, u16 value)
{
#ifdef PCSX2_DEVBUILD
if( mem >= 0x10000000 && mem < 0x10008000 )
@ -714,7 +714,7 @@ __forceinline void hwWrite16(u32 mem, u16 value)
}
__forceinline void hwWrite32(u32 mem, u32 value) {
void hwWrite32(u32 mem, u32 value) {
if ((mem>=0x10002000) && (mem<0x10003000)) { //IPU regs
ipuWrite32(mem,value);
@ -985,7 +985,7 @@ __forceinline void hwWrite32(u32 mem, u32 value) {
}
}
__forceinline void hwWrite64(u32 mem, u64 value) {
void hwWrite64(u32 mem, u64 value) {
u32 val32;
int i;
@ -1090,7 +1090,7 @@ __forceinline void hwWrite64(u32 mem, u64 value) {
}
}
__forceinline void hwWrite128(u32 mem, const u64 *value) {
void hwWrite128(u32 mem, const u64 *value) {
if (mem >= 0x10004000 && mem < 0x10008000) {
WriteFIFO(mem, value); return;
}

View File

@ -370,26 +370,26 @@ int hwConstRead16(u32 x86reg, u32 mem, u32 sign);
extern u32 hwRead32(u32 mem);
int hwConstRead32(u32 x86reg, u32 mem);
extern u64 hwRead64(u32 mem);
u64 hwRead64(u32 mem);
void hwConstRead64(u32 mem, int mmreg);
extern void hwRead128(u32 mem, u64 *out);
void hwRead128(u32 mem, u64 *out);
void hwConstRead128(u32 mem, int xmmreg);
// hw write functions
extern void hwWrite8 (u32 mem, u8 value);
void hwWrite8 (u32 mem, u8 value);
void hwConstWrite8 (u32 mem, int mmreg);
extern void hwWrite16(u32 mem, u16 value);
void hwWrite16(u32 mem, u16 value);
void hwConstWrite16(u32 mem, int mmreg);
extern void hwWrite32(u32 mem, u32 value);
void hwWrite32(u32 mem, u32 value);
void hwConstWrite32(u32 mem, int mmreg);
extern void hwWrite64(u32 mem, u64 value);
void hwWrite64(u32 mem, u64 value);
void hwConstWrite64(u32 mem, int mmreg);
extern void hwWrite128(u32 mem, const u64 *value);
void hwWrite128(u32 mem, const u64 *value);
void hwConstWrite128(u32 mem, int xmmreg);
void hwIntcIrq(int n);