further prep for Wiz port. Cleanups, rm cpuctrl mmuhack; add warm

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@704 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-07-15 22:08:09 +00:00
parent 4217134398
commit 0d9bf4fcda
24 changed files with 679 additions and 948 deletions

View file

@ -1,4 +1,5 @@
/* faked 940 code just uses local copy of ym2612 */
/* TODO: rm this */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -9,7 +10,7 @@
#include <errno.h>
#include "../../pico/sound/ym2612.h"
#include "../gp2x/gp2x.h"
//#include "../gp2x/gp2x.h"
#include "../gp2x/emu.h"
#include "../gp2x/code940/940shared.h"
#include "../common/helix/pub/mp3dec.h"

View file

@ -13,7 +13,7 @@
#include <errno.h>
#include "../gp2x/emu.h"
#include "../gp2x/gp2x.h"
//#include "../gp2x/gp2x.h"
#include "../gp2x/version.h"
#include "../common/emu.h"
#include "sndout_oss.h"
@ -333,56 +333,22 @@ void reset940(int yes, int bank)
{
}
/* faking gp2x cpuctrl.c */
void cpuctrl_init(void)
{
}
void cpuctrl_deinit(void)
{
}
void set_FCLK(unsigned MHZ)
{
}
void Disable_940(void)
{
}
void gp2x_video_wait_vsync(void)
{
}
void set_RAM_Timings(int tRC, int tRAS, int tWR, int tMRD, int tRFC, int tRP, int tRCD)
{
}
void set_gamma(int g100, int A_SNs_curve)
{
}
void set_LCD_custom_rate(int rate)
void set_lcd_custom_rate(int rate)
{
}
void unset_LCD_custom_rate(void)
void unset_lcd_custom_rate(void)
{
}
/* squidgehack.c */
int mmuhack(void)
{
return 0;
}
int mmuunhack(void)
{
return 0;
}
/* misc */
void spend_cycles(int c)
{