MCPcopy Create free account
hub / github.com/aldostools/webMAN-MOD / save_settings

Function save_settings

include/setup.h:1178–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1176}
1177
1178static int save_settings(void)
1179{
1180 #ifdef COBRA_ONLY
1181 apply_remaps(); // update remaps on startup / save settngs
1182 #endif
1183
1184 #ifdef MUTE_SND0
1185 mute_snd0(webman_config->nosnd0 != prev_nosnd0);
1186 #endif
1187
1188 #ifdef PHOTO_GUI
1189 photo_gui = !webman_config->launchpad_xml;
1190 if(photo_gui) { system_call_3(SC_COBRA_SYSCALL8, SYSCALL8_OPCODE_PS3MAPI, PS3MAPI_OPCODE_PHOTO_GUI, (u64)photo_gui); }
1191 #endif
1192
1193 #ifdef USE_NTFS
1194 root_check = true;
1195 #endif
1196
1197 return save_file(WM_CONFIG_FILE, (char*)wmconfig, sizeof(WebmanCfg));
1198}
1199
1200static void read_settings(void)
1201{

Callers 10

cpu_rsx_statsFunction · 0.85
read_settingsFunction · 0.85
www_profile.hFile · 0.85
fix_gameFunction · 0.85
map_vsh_resourceFunction · 0.85
restart.hFile · 0.85
setup.hFile · 0.85
refresh_xmlFunction · 0.85
combos.hFile · 0.85
enable_fan_controlFunction · 0.85

Calls 3

apply_remapsFunction · 0.85
mute_snd0Function · 0.85
save_fileFunction · 0.85

Tested by

no test coverage detected