()
| 375 | } |
| 376 | |
| 377 | private void removeOldestState() { |
| 378 | if (alphaState == null) { |
| 379 | return; |
| 380 | } |
| 381 | if (alphaState.nextState == null) { |
| 382 | alphaState = null; |
| 383 | } else { |
| 384 | alphaState = alphaState.deleteNext(); |
| 385 | } |
| 386 | } |
| 387 | // Don't capture for the first few seconds of emulation. This is sort of a |
| 388 | // hack but is also a very elegant way to help the emulator avoid wasting |
| 389 | // time at start since the emulator state changes a lot at first. |
no test coverage detected