Ejemplo n.º 1
0
 private void OnTimedEvent(object sender, ElapsedEventArgs e)
 {
     window.Text = " ProjectPSX | Cpu Speed " + (int)(((float)counter / (PSX_MHZ / 2)) * 100) + "%" + " | Fps " + window.getFPS();
     counter     = 0;
 }
Ejemplo n.º 2
0
 private void OnTimedEvent(object sender, ElapsedEventArgs e)
 {
     window.Text = "ProjectPSX | Cpu Speed " + (int)(((float)counter / (PSX_MHZ / MIPS_UNDERCLOCK)) * SYNC_CYCLES) + "%" + " | Fps " + window.getFPS();
     counter     = 0;
 }