1.45a Pico win32, code move

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@457 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-22 20:52:23 +00:00
parent 582890c000
commit 4609d0cdb8
9 changed files with 158 additions and 67 deletions

View file

@ -56,8 +56,9 @@ static void UpdateSound(int len)
static void PostProcess()
{
static int lock_to_1_1_prev = 0, is_40_prev = 0;
int is_40 = PicoGetStat(PS_40_CELL);
static int lock_to_1_1_prev = 0, is_40_prev = -1;
int is_40;
PicoGetInternal(PI_IS40_CELL, (pint_ret_t *)&is_40);
if (lock_to_1_1)
{
if (is_40 != is_40_prev || !lock_to_1_1_prev)