mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
revive pandora and win32 builds, rm gp2x dep for linux, lots of refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@842 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
a96477bb5e
commit
d2f29611d1
24 changed files with 722 additions and 1039 deletions
|
@ -13,15 +13,17 @@
|
|||
#include "../linux/sndout_oss.h"
|
||||
#include "../common/arm_linux.h"
|
||||
#include "../common/emu.h"
|
||||
#include "pandora.h"
|
||||
|
||||
static int fbdev = -1;
|
||||
|
||||
#define SCREEN_MAP_SIZE (800*480*2)
|
||||
static void *screen = MAP_FAILED;
|
||||
|
||||
/* common */
|
||||
void pnd_init(void)
|
||||
void plat_early_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
void plat_init(void)
|
||||
{
|
||||
printf("entering init()\n"); fflush(stdout);
|
||||
|
||||
|
@ -47,7 +49,7 @@ void pnd_init(void)
|
|||
printf("exitting init()\n"); fflush(stdout);
|
||||
}
|
||||
|
||||
void pnd_exit(void)
|
||||
void plat_finish(void)
|
||||
{
|
||||
if (screen != MAP_FAILED)
|
||||
munmap(screen, SCREEN_MAP_SIZE);
|
||||
|
@ -69,13 +71,3 @@ void lprintf(const char *fmt, ...)
|
|||
va_end(vl);
|
||||
}
|
||||
|
||||
|
||||
/* fake GP2X */
|
||||
/*
|
||||
void set_gamma(int g100, int A_SNs_curve) {}
|
||||
void set_FCLK(unsigned MHZ) {}
|
||||
void set_LCD_custom_rate(int rate) {}
|
||||
void unset_LCD_custom_rate(void) {}
|
||||
void Pause940(int yes) {}
|
||||
void Reset940(int yes, int bank) {}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue