mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
strat: TitleId -> ProgramId, titles->contents
This commit is contained in:
parent
1636668762
commit
ea3ebbaa7d
86 changed files with 1138 additions and 1140 deletions
|
@ -34,7 +34,7 @@ namespace ams {
|
|||
|
||||
}
|
||||
|
||||
extern ncm::TitleId CurrentTitleId;
|
||||
extern ncm::ProgramId CurrentProgramId;
|
||||
|
||||
void WEAK ExceptionHandler(FatalErrorContext *ctx) {
|
||||
R_ASSERT(amsBpcInitialize());
|
||||
|
@ -49,7 +49,7 @@ namespace ams {
|
|||
{
|
||||
ams_ctx.magic = FatalErrorContext::Magic;
|
||||
ams_ctx.error_desc = ctx->error_desc;
|
||||
ams_ctx.title_id = static_cast<u64>(CurrentTitleId);
|
||||
ams_ctx.program_id = static_cast<u64>(CurrentProgramId);
|
||||
for (size_t i = 0; i < FatalErrorContext::NumGprs; i++) {
|
||||
ams_ctx.gprs[i] = ctx->cpu_gprs[i].x;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue