mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-16 16:14:25 -04:00
stratosphere: fix svcExitThread usage
This commit is contained in:
parent
4e95397ed5
commit
b4b1208222
5 changed files with 10 additions and 5 deletions
|
@ -112,6 +112,15 @@ Result ShowFatalTask::PrepareScreenForDrawing() {
|
|||
return rc;
|
||||
}
|
||||
|
||||
{
|
||||
u64 layer_z = 0xCAFEBABE;
|
||||
if (R_SUCCEEDED((rc = viGetDisplayMaximumZ(&this->display, &layer_z)))) {
|
||||
FILE *f_dumb = fopen("layerz.txt", "w");
|
||||
fprintf(f_dumb, "%016lx\n", layer_z);
|
||||
fclose(f_dumb);
|
||||
}
|
||||
}
|
||||
|
||||
/* Reset the display magnification to its default value. */
|
||||
u32 display_width, display_height;
|
||||
if (R_FAILED((rc = viGetDisplayLogicalResolution(&this->display, &display_width, &display_height)))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue