()
| 41 | VideoSoftSwitch vss; |
| 42 | |
| 43 | @Override |
| 44 | public void tick() { |
| 45 | tickCounter += cpuPerClock; |
| 46 | boolean vblState = vss.getState(); |
| 47 | if (!vblState && lastVBLState) { |
| 48 | frameCounter++; |
| 49 | } |
| 50 | lastVBLState = vblState; |
| 51 | if (--checkCounter <= UPDATE_CHECK_FREQUENCY) { |
| 52 | updateIcon(); |
| 53 | checkCounter = UPDATE_CHECK_FREQUENCY; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | Label initLabel(Label l) { |
| 58 | l.setTextFill(Color.WHITE); |
nothing calls this directly
no test coverage detected