0x00431E32
| 10 | { |
| 11 | // 0x00431E32 |
| 12 | static uint32_t togglePause(uint8_t flags) |
| 13 | { |
| 14 | if ((flags & Flags::apply) == 0) |
| 15 | { |
| 16 | return 0; |
| 17 | } |
| 18 | |
| 19 | Ui::WindowManager::invalidate(Ui::WindowType::timeToolbar); |
| 20 | |
| 21 | if ((SceneManager::getPauseFlags() & PauseFlags::player) != PauseFlags::none) |
| 22 | { |
| 23 | SceneManager::unsetPauseFlag(PauseFlags::player); |
| 24 | } |
| 25 | else |
| 26 | { |
| 27 | SceneManager::setPauseFlag(PauseFlags::player); |
| 28 | } |
| 29 | |
| 30 | return 0; |
| 31 | } |
| 32 | |
| 33 | void togglePause(registers& regs) |
| 34 | { |
no test coverage detected