Meaningless Commits Inc presents: Made jASSUME to be more scope-proof, and fixed a minor signed/unsigned warning in cdvd.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1240 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-05-23 01:11:28 +00:00
parent 8d119f3928
commit 3ff7f2f191
2 changed files with 3 additions and 3 deletions

View File

@ -50,12 +50,12 @@
# define jASSUME(exp) ((void) sizeof(exp))
# endif
# else
# if defined(_MSC_VER)
# ifdef _MSC_VER
# define jBREAKPOINT() do { __asm int 3 } while(0)
# else
# define jBREAKPOINT() ((void) *(volatile char *) 0)
# endif
# define jASSUME(exp) if(exp) ; else jBREAKPOINT()
# define jASSUME(exp) do { if(exp) ; else jBREAKPOINT() } while(0)
# endif
#endif

View File

@ -812,7 +812,7 @@ static uint cdvdStartSeek( uint newsector, CDVD_MODE_TYPE mode )
{
cdvd.SeekToSector = newsector;
uint delta = abs(cdvd.SeekToSector - cdvd.Sector);
uint delta = abs( (s32)(cdvd.SeekToSector - cdvd.Sector) );
uint seektime;
cdvd.Ready = CDVD_NOTREADY;