Skip to content

Commit

Permalink
Merge pull request #9 from friedkeenan/master
Browse files Browse the repository at this point in the history
Exit if on <9.0.0 (again)
  • Loading branch information
WerWolv authored May 5, 2020
2 parents 03aeb09 + 147af2e commit 02a00f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ void loadNro(void)
}

int main(int argc, char **argv)
{
{
if (hosversionBefore(9,0,0))
exit(1);

memcpy(g_savedTls, (u8*)armGetTls() + 0x100, 0x100);

setupHbHeap();
Expand Down

0 comments on commit 02a00f1

Please # to comment.