MCPcopy Create free account
hub / github.com/cemu-project/Cemu / save

Method save

src/input/InputManager.cpp:429–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429void InputManager::save() noexcept
430{
431 for (size_t i = 0; i < kMaxController; ++i)
432 {
433 try
434 {
435 save(i);
436 }
437 catch (const std::exception& ex)
438 {
439 cemuLog_log(LogType::Force, "can't save controller profile: {}", ex.what());
440 }
441 }
442}
443
444bool InputManager::save(size_t player_index, std::string_view filename)
445{

Callers 4

~InputSettings2Method · 0.45
on_profile_saveMethod · 0.45
migrate_configMethod · 0.45
StoreCacheFileMethod · 0.45

Calls 15

formatFunction · 0.85
_utf8ToPathFunction · 0.85
type_stringMethod · 0.80
has_profile_nameMethod · 0.80
lockMethod · 0.80
cemuLog_logFunction · 0.50
emptyMethod · 0.45
c_strMethod · 0.45
get_controllersMethod · 0.45
api_nameMethod · 0.45
get_settingsMethod · 0.45
has_motionMethod · 0.45

Tested by

no test coverage detected