strat: use TitleId defs instead of magics.
This commit is contained in:
@@ -61,7 +61,7 @@ Result ThrowFatalImpl(u32 error, u64 pid, FatalType policy, FatalCpuContext *cpu
|
||||
/* Get title id. On failure, it'll be zero. */
|
||||
u64 title_id = 0;
|
||||
pminfoGetTitleId(&title_id, pid);
|
||||
ctx.is_creport = title_id == 0x0100000000000036;
|
||||
ctx.is_creport = title_id == TitleId_Creport;
|
||||
|
||||
/* Support for ams creport. TODO: Make this its own command? */
|
||||
if (ctx.is_creport && !cpu_ctx->is_aarch32 && cpu_ctx->aarch64_ctx.afsr0 != 0) {
|
||||
|
||||
Reference in New Issue
Block a user