Various minor logging improvements

Also changed the default connection state, because chances are, that
you're connected to Internet.
This commit is contained in:
Raul Tambre 2016-01-04 11:04:58 +02:00
parent 9d1208bf95
commit 8f937bda0f
4 changed files with 12 additions and 8 deletions

View file

@ -194,6 +194,7 @@ s32 cellSysmoduleIsLoaded(u16 id)
if (!Emu.GetModuleManager().CheckModuleId(id))
{
cellSysmodule.Error("cellSysmoduleIsLoaded(): unknown module (id=0x%04x)", id);
return CELL_SYSMODULE_ERROR_UNKNOWN;
}
@ -201,7 +202,7 @@ s32 cellSysmoduleIsLoaded(u16 id)
{
if (!m->IsLoaded())
{
cellSysmodule.Error("cellSysmoduleIsLoaded() failed: module not loaded (id=0x%04x)", id);
cellSysmodule.Warning("cellSysmoduleIsLoaded(): module not loaded (id=0x%04x)", id);
return CELL_SYSMODULE_ERROR_UNLOADED;
}
}