stratosphere: fix svcExitThread usage

This commit is contained in:
Michael Scire 2019-03-05 07:50:27 -08:00
parent 4e95397ed5
commit b4b1208222
5 changed files with 10 additions and 5 deletions

View file

@ -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)))) {