()
| 18 | |
| 19 | #[cfg(test)] |
| 20 | pub(crate) fn reset_for_tests() { |
| 21 | if let Ok(mut state) = state().lock() { |
| 22 | *state = SteamState::default(); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | pub fn init_from_config(enabled: bool, app_id: Option<u32>) -> Result<(), SteamError> { |
| 27 | init_from_config_with_input(enabled, app_id, SteamInputMode::Fallback) |