nonacc mode removal, function return value audit

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@510 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-07-01 14:32:09 +00:00
parent b6d7ac7090
commit 2aa27095f2
18 changed files with 67 additions and 378 deletions

View file

@ -89,10 +89,9 @@ PICO_INTERNAL u32 PicoCheckPc(u32 pc)
}
PICO_INTERNAL int PicoInitPc(u32 pc)
PICO_INTERNAL void PicoInitPc(u32 pc)
{
PicoCheckPc(pc);
return 0;
}
#ifndef _ASM_MEMORY_C
@ -689,8 +688,6 @@ static void m68k_mem_setup(void)
// -----------------------------------------------------------------
extern const unsigned short vcounts[];
static int get_scanline(int is_from_z80)
{
if (is_from_z80) {
@ -700,10 +697,7 @@ static int get_scanline(int is_from_z80)
return z80_scanline;
}
if (Pico.m.scanline != -1)
return Pico.m.scanline;
return vcounts[SekCyclesDone()>>8];
return Pico.m.scanline;
}
/* probably not should be in this file, but it's near related code here */