Add THREADPROCESSORID_MAX on SVC::CreateThread

This change will fix the crash of MH4G when it was launching
This commit is contained in:
JamePeng 2016-03-04 16:11:14 +08:00
parent dc2ee9b338
commit 552db425b4

View File

@ -490,6 +490,7 @@ static ResultCode CreateThread(Handle* out_handle, s32 priority, u32 entry_point
case THREADPROCESSORID_DEFAULT:
case THREADPROCESSORID_0:
case THREADPROCESSORID_1:
case THREADPROCESSORID_MAX:
break;
default:
// TODO(bunnei): Implement support for other processor IDs