Fix function name to not cause linker problems due to symbol truncation issues

This commit is contained in:
plutooo 2018-09-15 08:42:32 +02:00
parent 7279ef0415
commit 4a13ee3e62
2 changed files with 7 additions and 3 deletions

View File

@ -845,10 +845,9 @@ Result svcContinueDebugEvent(Handle debug, u32 flags, u64* tid_list, u32 num_tid
* @return Result code. * @return Result code.
* @note Syscall number 0x64. * @note Syscall number 0x64.
* @warning This is a privileged syscall. Use \ref envIsSyscallHinted to check if it is available. * @warning This is a privileged syscall. Use \ref envIsSyscallHinted to check if it is available.
* @warning Only exists on 1.0.0-2.3.0. For older versions use \ref svcContinueDebugEvent. * @warning Only exists on 1.0.0-2.3.0. For newer versions use \ref svcContinueDebugEvent.
*/ */
static Result (*const svcContinueDebugEventPre300)(Handle debug, u32 flags, u64 threadID) Result svcLegacyContinueDebugEvent(Handle debug, u32 flags, u64 threadID);
= (Result (*)(Handle, u32, u64)) &svcContinueDebugEvent;
/** /**
* @brief Gets the context of a thread in a debugging session. * @brief Gets the context of a thread in a debugging session.

View File

@ -446,6 +446,11 @@ SVC_BEGIN svcGetDebugEvent
ret ret
SVC_END SVC_END
SVC_BEGIN svcLegacyContinueDebugEvent
svc 0x64
ret
SVC_END
SVC_BEGIN svcContinueDebugEvent SVC_BEGIN svcContinueDebugEvent
svc 0x64 svc 0x64
ret ret