disable clock_nanosleep for mwait for now. Fixes dvd and vob playback

for me.
parent 7bb4a6ef
...@@ -231,7 +231,7 @@ mtime_t mdate( void ) ...@@ -231,7 +231,7 @@ mtime_t mdate( void )
*/ */
void mwait( mtime_t date ) void mwait( mtime_t date )
{ {
#if defined (HAVE_CLOCK_NANOSLEEP) #if 0 && defined (HAVE_CLOCK_NANOSLEEP)
lldiv_t d = lldiv( date, 1000000 ); lldiv_t d = lldiv( date, 1000000 );
struct timespec ts = { d.quot, d.rem * 1000 }; struct timespec ts = { d.quot, d.rem * 1000 };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment