fixed some portability issues

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@337 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-01-27 23:04:56 +00:00
parent dca310c413
commit 10d84cb275
2 changed files with 13 additions and 2 deletions

View file

@ -33,7 +33,9 @@
#undef INLINE
#ifndef INLINE
#ifdef _MSC_VER
#define INLINE
#else
#define INLINE __inline__
#endif
@ -914,9 +916,10 @@ famec_Exec:
#endif
if (cycles_needed != 0)
{
u32 line;
m68kcontext.io_cycle_counter = cycles_needed;
cycles_needed = 0;
s32 line=interrupt_chk__();
line=interrupt_chk__();
if (line>0)
{
if (m68kcontext.iack_handler != NULL)