X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2Ftengen.c;fp=boards%2Ftengen.c;h=510f9099a0dffbdd60a7165b67bb9896150a5a5a;hp=38816226fa3a9169ccfa0c3b418d517adb92ff13;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=386f5371eb984fb9c2860c83e740890a75cd45c1 diff --git a/boards/tengen.c b/boards/tengen.c index 3881622..510f909 100644 --- a/boards/tengen.c +++ b/boards/tengen.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "mapinc.h" @@ -36,10 +36,10 @@ static SFORMAT Rambo_StateRegs[]={ {0} }; -static void (*setchr1wrap)(unsigned int A, unsigned int V); +static void FP_FASTAPASS(2) (*setchr1wrap)(unsigned int A, unsigned int V); //static int nomirror; -static void RAMBO1_IRQHook(int a) +static void FP_FASTAPASS(1) RAMBO1_IRQHook(int a) { static int smallcount; if(!IRQmode) return; @@ -158,7 +158,7 @@ static void RAMBO1_init(void) AddExState(Rambo_StateRegs, ~0, 0, 0); } -static void CHRWrap(unsigned int A, unsigned int V) +static void FP_FASTAPASS(2) CHRWrap(unsigned int A, unsigned int V) { setchr1(A,V); } @@ -173,7 +173,7 @@ void Mapper64_init(void) static int MirCache[8]; static unsigned int PPUCHRBus; -static void MirWrap(unsigned int A, unsigned int V) +static void FP_FASTAPASS(2) MirWrap(unsigned int A, unsigned int V) { MirCache[A>>10]=(V>>7)&1; if(PPUCHRBus==(A>>10)) @@ -181,7 +181,7 @@ static void MirWrap(unsigned int A, unsigned int V) setchr1(A,V); } -static void MirrorFear(uint32 A) +static void FP_FASTAPASS(1) MirrorFear(uint32 A) { A&=0x1FFF; A>>=10; @@ -197,4 +197,3 @@ void Mapper158_init(void) RAMBO1_init(); } */ -