summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/window.c b/tests/window.c
index d334d36..e13f1fa 100644
--- a/tests/window.c
+++ b/tests/window.c
@@ -279,7 +279,9 @@ s32 window_system_main(u32 argc, str *argv, void *extra)
s32 main(s32 argc, char *argv[])
{
- if (!nn_common_init() || !stl_global_init(false)) {
+ if (!nn_common_init("Stella_main")) return EXIT_FAILURE;
+ if (!stl_global_init(false)) {
+ nn_common_close();
return EXIT_FAILURE;
}