forked from libretro/libretro-fceumm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathppu.h
39 lines (31 loc) · 755 Bytes
/
ppu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef _FCEU_PPU_H
#define _FCEU_PPU_H
void FCEUPPU_Init(void);
void FCEUPPU_Reset(void);
void FCEUPPU_Power(void);
int FCEUPPU_Loop(int skip);
void FCEUPPU_LineUpdate(void);
void FCEUPPU_SetVideoSystem(int w);
extern void (*GameHBIRQHook)(void), (*GameHBIRQHook2)(void);
extern void FP_FASTAPASS(1) (*PPU_hook)(uint32 A);
/* For cart.c and banksw.h, mostly */
extern uint8 NTARAM[0x800], *vnapage[4];
extern uint8 PPUNTARAM;
extern uint8 PPUCHRRAM;
void FCEUPPU_SaveState(void);
void FCEUPPU_LoadState(int version);
extern int scanline;
extern uint8 PPU[4];
DECLFR(A200x);
DECLFR(A2002);
DECLFR(A2007);
DECLFW(B2000);
DECLFW(B2001);
DECLFW(B2002);
DECLFW(B2003);
DECLFW(B2004);
DECLFW(B2005);
DECLFW(B2006);
DECLFW(B2007);
DECLFW(B4014);
#endif