mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
refactoring for Wiz port; random cleanups
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@703 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
9c0d458840
commit
d572cbad98
18 changed files with 531 additions and 492 deletions
21
gp2x/soc.h
Normal file
21
gp2x/soc.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
typedef enum {
|
||||
SOCID_MMSP2 = 1,
|
||||
SOCID_POLLUX,
|
||||
} gp2x_soc_t;
|
||||
|
||||
extern gp2x_soc_t gp2x_soc;
|
||||
|
||||
gp2x_soc_t soc_detect(void);
|
||||
|
||||
void mmsp2_init(void);
|
||||
void mmsp2_finish(void);
|
||||
|
||||
void pollux_init(void);
|
||||
void pollux_finish(void);
|
||||
|
||||
void gp2x_video_flip(void);
|
||||
void gp2x_video_flip2(void);
|
||||
void gp2x_video_changemode_ll(int bpp);
|
||||
void gp2x_video_setpalette(int *pal, int len);
|
||||
void gp2x_video_RGB_setscaling(int ln_offs, int W, int H);
|
||||
void gp2x_video_wait_vsync(void);
|
Loading…
Add table
Add a link
Reference in a new issue