mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
8d119f3928
commit
3ff7f2f191
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue