Thu, 17 Apr 2014 01:58:05 -0600
disabled seek delay on WD2010 (Unix seems to work fine without it)
src/wd2010.c | file | annotate | diff | revisions |
1.1 --- a/src/wd2010.c Thu Apr 17 01:50:41 2014 -0600 1.2 +++ b/src/wd2010.c Thu Apr 17 01:58:05 2014 -0600 1.3 @@ -390,7 +390,8 @@ 1.4 1.5 ctx->status = 0; 1.6 ctx->status |= (ctx->data_pos < ctx->data_len) ? SR_DRQ | SR_COMMAND_IN_PROGRESS | SR_BUSY : 0x00; 1.7 - SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx); 1.8 + /*SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx);*/ 1.9 + ctx->drq = true; 1.10 1.11 break; 1.12 case CMD_WRITE_FORMAT: 1.13 @@ -432,7 +433,8 @@ 1.14 1.15 ctx->status = 0; 1.16 ctx->status |= (ctx->data_pos < ctx->data_len) ? SR_DRQ | SR_COMMAND_IN_PROGRESS | SR_BUSY : 0x00; 1.17 - SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx); 1.18 + /*SDL_AddTimer(WD2010_SEEK_DELAY, (SDL_NewTimerCallback)transfer_seek_complete, ctx);*/ 1.19 + ctx->drq = true; 1.20 1.21 break; 1.22 default: