mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
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:
parent
b6d7ac7090
commit
2aa27095f2
18 changed files with 67 additions and 378 deletions
|
@ -31,12 +31,10 @@ int (*PicoMCDcloseTray)(void) = NULL;
|
|||
}
|
||||
|
||||
|
||||
PICO_INTERNAL int PicoInitMCD(void)
|
||||
PICO_INTERNAL void PicoInitMCD(void)
|
||||
{
|
||||
SekInitS68k();
|
||||
Init_CD_Driver();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -264,14 +262,12 @@ static __inline void getSamples(int y)
|
|||
#include "../PicoFrameHints.c"
|
||||
|
||||
|
||||
PICO_INTERNAL int PicoFrameMCD(void)
|
||||
PICO_INTERNAL void PicoFrameMCD(void)
|
||||
{
|
||||
if (!(PicoOpt&POPT_ALT_RENDERER))
|
||||
PicoFrameStart();
|
||||
|
||||
PicoFrameHints();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ static void SekIntAckFS68k(unsigned level)
|
|||
#endif
|
||||
|
||||
|
||||
PICO_INTERNAL int SekInitS68k()
|
||||
PICO_INTERNAL void SekInitS68k(void)
|
||||
{
|
||||
#ifdef EMU_C68K
|
||||
// CycloneInit();
|
||||
|
@ -125,12 +125,10 @@ PICO_INTERNAL int SekInitS68k()
|
|||
g_m68kcontext = oldcontext;
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Reset the 68000:
|
||||
PICO_INTERNAL int SekResetS68k()
|
||||
PICO_INTERNAL int SekResetS68k(void)
|
||||
{
|
||||
if (Pico.rom==NULL) return 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue