more wip SVP code

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@318 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-12-22 20:53:09 +00:00
parent f53f286a8b
commit f8ef8ff710
13 changed files with 399 additions and 24 deletions

View file

@ -17,7 +17,8 @@ int PicoSkipFrame=0; // skip rendering frame?
int PicoRegionOverride = 0; // override the region detection 0: Auto, 1: Japan NTSC, 2: Japan PAL, 4: US, 8: Europe
int PicoAutoRgnOrder = 0;
int emustatus = 0; // rapid_ym2612, multi_ym_updates
void (*PicoWriteSound)(int len) = 0; // called once per frame at the best time to send sound buffer (PsndOut) to hardware
void (*PicoWriteSound)(int len) = NULL; // called at the best time to send sound buffer (PsndOut) to hardware
void (*PicoResetHook)(void) = NULL;
struct PicoSRAM SRam = {0,};
int z80startCycle, z80stopCycle; // in 68k cycles
@ -139,6 +140,8 @@ int PicoReset(int hard)
PsndReset(); // pal must be known here
if (PicoResetHook) PicoResetHook();
if (PicoMCD & 1) {
PicoResetMCD(hard);
return 0;