| 288 | { } |
| 289 | |
| 290 | void FileRequestAsync::SetGraphicFile(bool graphic) { |
| 291 | this->graphic = graphic; |
| 292 | // We need this flag in order to prevent show screen transitions |
| 293 | // from starting util all graphical assets are loaded. |
| 294 | // Also, the screen is erased, so you can't see any delays :) |
| 295 | if (Transition::instance().IsErasedNotActive()) { |
| 296 | SetImportantFile(true); |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | void FileRequestAsync::Start() { |
| 301 | if (file == CACHE_DEFAULT_BITMAP) { |
no test coverage detected