Log the name of the save operation, not just #.
Makes it a lot easier to read...
This commit is contained in:
parent
743854afc8
commit
fe8ada4d7e
2 changed files with 29 additions and 1 deletions
|
@ -64,7 +64,9 @@ int PSPSaveDialog::Init(int paramAddr)
|
|||
|
||||
int retval = param.SetPspParam(&request);
|
||||
|
||||
INFO_LOG(SCEUTILITY,"sceUtilitySavedataInitStart(%08x) : Mode = %i", paramAddr, (SceUtilitySavedataType)(u32)param.GetPspParam()->mode);
|
||||
const u32 mode = (u32)param.GetPspParam()->mode;
|
||||
const char *modeName = mode < ARRAY_SIZE(utilitySavedataTypeNames) ? utilitySavedataTypeNames[mode] : "UNKNOWN";
|
||||
INFO_LOG(SCEUTILITY,"sceUtilitySavedataInitStart(%08x) - %s (%d)", paramAddr, modeName, mode);
|
||||
|
||||
yesnoChoice = 1;
|
||||
switch ((SceUtilitySavedataFocus)(u32)param.GetPspParam()->focus)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue