mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
gfx_cd finished, bugfixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@76 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
d9a189437a
commit
8f1b51efbc
2 changed files with 5 additions and 2 deletions
|
@ -20,6 +20,7 @@
|
|||
extern volatile unsigned short *gp2x_memregs; /* from minimal library rlyeh */
|
||||
extern volatile unsigned long *gp2x_memregl;
|
||||
|
||||
extern int reset_timing;
|
||||
static unsigned char *shared_mem = 0;
|
||||
static _940_data_t *shared_data = 0;
|
||||
_940_ctl_t *shared_ctl = 0;
|
||||
|
@ -589,6 +590,7 @@ void mp3_start_play(FILE *f, int pos) // pos is 0-1023
|
|||
if (CHECK_BUSY(JOB940_MP3DECODE)) wait_busy_940(JOB940_MP3DECODE);
|
||||
add_job_940(JOB940_INVALIDATE_DCACHE);
|
||||
}
|
||||
reset_timing = 1;
|
||||
}
|
||||
|
||||
// seek..
|
||||
|
|
|
@ -54,13 +54,14 @@ extern int crashed_940;
|
|||
static short sndBuffer[2*44100/50];
|
||||
static char noticeMsg[64]; // notice msg to draw
|
||||
static struct timeval noticeMsgTime = { 0, 0 }; // when started showing
|
||||
static int reset_timing, osd_fps_x;
|
||||
static int osd_fps_x;
|
||||
static int combo_keys = 0, combo_acts = 0; // keys and actions which need button combos
|
||||
static int gp2x_old_gamma = 100;
|
||||
static unsigned char *movie_data = NULL;
|
||||
static int movie_size = 0;
|
||||
unsigned char *framebuff = 0; // temporary buffer for alt renderer
|
||||
int state_slot = 0;
|
||||
int reset_timing = 0;
|
||||
|
||||
/*
|
||||
// tmp
|
||||
|
@ -1191,7 +1192,7 @@ void emu_Loop(void)
|
|||
continue;
|
||||
}
|
||||
updateKeys();
|
||||
SkipFrame(tval.tv_usec < lim_time+target_frametime); frames_done++;
|
||||
SkipFrame(tval.tv_usec < lim_time+target_frametime*2); frames_done++;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue