notaz.gp2x.de
/
gpsp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another wARM update
[gpsp.git]
/
gp2x
/
gp2x.h
diff --git
a/gp2x/gp2x.h
b/gp2x/gp2x.h
index
df7d141
..
85cdac8
100644
(file)
--- a/
gp2x/gp2x.h
+++ b/
gp2x/gp2x.h
@@
-1,6
+1,8
@@
#ifndef GP2X_H
#define GP2X_H
#ifndef GP2X_H
#define GP2X_H
+#include "warm.h"
+
enum
{
GP2X_UP = 1 << 0,
enum
{
GP2X_UP = 1 << 0,
@@
-33,27
+35,18
@@
extern u32 gpsp_gp2x_dev;
void gp2x_sound_volume(u32 volume_up);
void gp2x_quit();
void gp2x_sound_volume(u32 volume_up);
void gp2x_quit();
-// call this at first
-void cpuctrl_init(void);
-void save_system_regs(void);
-void cpuctrl_deinit(void);
-void set_display_clock_div(unsigned div);
-
void set_FCLK(u32 MHZ);
void set_FCLK(u32 MHZ);
-// 0 to 7 divider (freq = FCLK / (1 + div))
-void set_920_Div(u16 div);
-void set_DCLK_Div(u16 div);
-void Disable_940(void);
-void gp2x_video_wait_vsync(void);
-unsigned short get_920_Div();
-void set_940_Div(u16 div);
-
-s32 gp2x_load_mmuhack();
+void upscale_aspect(u16 *dst, u16 *src);
/* wiz only */
extern void *gpsp_gp2x_screen;
void fb_use_buffers(int count);
void pollux_video_flip();
/* wiz only */
extern void *gpsp_gp2x_screen;
void fb_use_buffers(int count);
void pollux_video_flip();
+void wiz_lcd_set_portrait(int y);
+u32 wiz_load_gamepak(char *name);
+
+void do_rotated_blit(void *dst, void *linesx4, u32 y);
+void upscale_aspect_row(void *dst, void *linesx3, u32 row);
#endif
#endif