mirror of
https://github.com/libretro/Play-.git
synced 2025-01-10 10:31:05 +00:00
Trace SetTransCallback LIBSD call.
This commit is contained in:
parent
5c933d64bf
commit
94331bdfee
@ -19,6 +19,7 @@ using namespace Iop;
|
||||
#define FUNCTION_BLOCKTRANS "BlockTrans"
|
||||
#define FUNCTION_VOICETRANSSTATUS "VoiceTransStatus"
|
||||
#define FUNCTION_BLOCKTRANSSTATUS "BlockTransStatus"
|
||||
#define FUNCTION_SETTRANSCALLBACK "SetTransCallback"
|
||||
#define FUNCTION_SETTRANSINTRHANDLER "SetTransIntrHandler"
|
||||
#define FUNCTION_SETSPU2INTRHANDLER "SetSpu2IntrHandler"
|
||||
|
||||
@ -69,6 +70,9 @@ std::string CLibSd::GetFunctionName(unsigned int functionId) const
|
||||
case 20:
|
||||
return FUNCTION_BLOCKTRANSSTATUS;
|
||||
break;
|
||||
case 21:
|
||||
return FUNCTION_SETTRANSCALLBACK;
|
||||
break;
|
||||
case 26:
|
||||
return FUNCTION_SETTRANSINTRHANDLER;
|
||||
break;
|
||||
@ -161,6 +165,10 @@ void CLibSd::TraceCall(CMIPS& context, unsigned int functionId)
|
||||
CLog::GetInstance().Print(LOG_NAME, FUNCTION_BLOCKTRANSSTATUS "(channel = 0x%0.4X, flag = 0x%0.4X);\r\n",
|
||||
context.m_State.nGPR[CMIPS::A0].nV0, context.m_State.nGPR[CMIPS::A1].nV0);
|
||||
break;
|
||||
case 21:
|
||||
CLog::GetInstance().Print(LOG_NAME, FUNCTION_SETTRANSCALLBACK "(channel = 0x%0.4X, function = 0x%0.8X);\r\n",
|
||||
context.m_State.nGPR[CMIPS::A0].nV0, context.m_State.nGPR[CMIPS::A1].nV0);
|
||||
break;
|
||||
case 26:
|
||||
CLog::GetInstance().Print(LOG_NAME, FUNCTION_SETTRANSINTRHANDLER "(channel = 0x%0.4X, function = 0x%0.8X, arg = 0x%0.8X);\r\n",
|
||||
context.m_State.nGPR[CMIPS::A0].nV0, context.m_State.nGPR[CMIPS::A1].nV0,
|
||||
|
Loading…
Reference in New Issue
Block a user