| 5 | namespace OpenLoco::GameCommands |
| 6 | { |
| 7 | static uint32_t setGameSpeed(const GameSpeed speed) |
| 8 | { |
| 9 | if (speed > GameSpeed::MAX) |
| 10 | { |
| 11 | return kFailure; |
| 12 | } |
| 13 | |
| 14 | SceneManager::setGameSpeed(speed); |
| 15 | return 0; |
| 16 | } |
| 17 | |
| 18 | void setGameSpeed(registers& regs) |
| 19 | { |
no outgoing calls
no test coverage detected