예제 #1
0
파일: SPU.cs 프로젝트: Inviction/PS3Tools
 public void buildLocalStorageCommands()
 {
     LoadingScreen ls = new LoadingScreen();
     ls.progressBar1.Maximum = LocalStorage.Length;
     ls.progressBar1.Value = 0;
     ls.label1.Text = "Building SPU Commands out of LocalStorage...";
     ls.Show();
     for (int i = 0; i < LocalStorage.Length - 3; i += 4)
     {
         LocalStorageCommands[i >> 2] = new SPUCommand(LocalStorage, i);
         if ((i & 0xFF) == 0)
         {
             ls.progressBar1.Value = i;
             ls.Refresh();
         }
     }
     ls.Hide();
 }
예제 #2
0
        public void buildLocalStorageCommands()
        {
            LoadingScreen ls = new LoadingScreen();

            ls.progressBar1.Maximum = LocalStorage.Length;
            ls.progressBar1.Value   = 0;
            ls.label1.Text          = "Building SPU Commands out of LocalStorage...";
            ls.Show();
            for (int i = 0; i < LocalStorage.Length - 3; i += 4)
            {
                LocalStorageCommands[i >> 2] = new SPUCommand(LocalStorage, i);
                if ((i & 0xFF) == 0)
                {
                    ls.progressBar1.Value = i;
                    ls.Refresh();
                }
            }
            ls.Hide();
        }