Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. total = total_audio + total_iso + total_vrcd;
  2.     sprintf(temp_char, "%s - [%lld MB of 700 MB (CD) / 4474 MB (DVD5) / 8140 MB (DVD9)]", what, total / 1024 / 1024);
  3.     fStatusBar->Reset();
  4.     fStatusBar->SetMaxValue(CDSIZE);
  5.     fStatusBar->Update((total / 1024 / 1024), temp_char);
  6.  
  7.     for (i = 0; i < nrtracks; i++) {
  8.         if (i == 0)
  9.             angles[i] = ((float)360 / (float)(total / 1024 / 1024)) * (float)angle_temp[i];
  10.         else
  11.             angles[i] = ((float)360 / (float)(total / 1024 / 1024)) * (float)angle_temp[i] + angles[i - 1];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement