Search
lxdream.org :: lxdream :: r912:c5606ea44232
lxdream 0.9.1
released Jun 29
Download Now
changeset912:c5606ea44232
parent911:2f6ba75b84d1
child913:edc494bde24b
authornkeynes
dateFri Oct 31 03:24:49 2008 +0000 (11 years ago)
Remove FASTCALL from mem_copy_*, not really helping atm (and sometimes hurting)
src/mem.h
src/sh4/sh4mem.c
1.1 --- a/src/mem.h Fri Oct 31 02:57:59 2008 +0000
1.2 +++ b/src/mem.h Fri Oct 31 03:24:49 2008 +0000
1.3 @@ -66,8 +66,8 @@
1.4 void mem_set_trace( const gchar *tracelist, int flag );
1.5 void mem_init( void );
1.6 void mem_reset( void );
1.7 -void FASTCALL mem_copy_from_sh4( sh4ptr_t dest, sh4addr_t src, size_t count );
1.8 -void FASTCALL mem_copy_to_sh4( sh4addr_t dest, sh4ptr_t src, size_t count );
1.9 +void mem_copy_from_sh4( sh4ptr_t dest, sh4addr_t src, size_t count );
1.10 +void mem_copy_to_sh4( sh4addr_t dest, sh4ptr_t src, size_t count );
1.11
1.12 /**
1.13 * Write a long value directly to SH4-addressable memory.
2.1 --- a/src/sh4/sh4mem.c Fri Oct 31 02:57:59 2008 +0000
2.2 +++ b/src/sh4/sh4mem.c Fri Oct 31 03:24:49 2008 +0000
2.3 @@ -400,7 +400,7 @@
2.4 /* FIXME: Handle all the many special cases when the range doesn't fall cleanly
2.5 * into the same memory block
2.6 */
2.7 -void FASTCALL mem_copy_from_sh4( sh4ptr_t dest, sh4addr_t srcaddr, size_t count ) {
2.8 +void mem_copy_from_sh4( sh4ptr_t dest, sh4addr_t srcaddr, size_t count ) {
2.9 if( srcaddr >= 0x04000000 && srcaddr < 0x05000000 ) {
2.10 pvr2_vram64_read( dest, srcaddr, count );
2.11 } else {
2.12 @@ -413,7 +413,7 @@
2.13 }
2.14 }
2.15
2.16 -void FASTCALL mem_copy_to_sh4( sh4addr_t destaddr, sh4ptr_t src, size_t count ) {
2.17 +void mem_copy_to_sh4( sh4addr_t destaddr, sh4ptr_t src, size_t count ) {
2.18 if( destaddr >= 0x10000000 && destaddr < 0x14000000 ) {
2.19 pvr2_dma_write( destaddr, src, count );
2.20 return;
.