mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
default_window: fix missing weak declarations
This commit is contained in:
parent
dca4fb772a
commit
8b2de63bab
@ -17,7 +17,7 @@ NWindow* nwindowGetDefault(void)
|
|||||||
return &g_defaultWin;
|
return &g_defaultWin;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __nx_win_init(void)
|
void __attribute__((weak)) __nx_win_init(void)
|
||||||
{
|
{
|
||||||
Result rc;
|
Result rc;
|
||||||
rc = viInitialize(ViServiceType_Default);
|
rc = viInitialize(ViServiceType_Default);
|
||||||
@ -45,7 +45,7 @@ void __nx_win_init(void)
|
|||||||
diagAbortWithResult(MAKERESULT(Module_Libnx, LibnxError_BadGfxInit));
|
diagAbortWithResult(MAKERESULT(Module_Libnx, LibnxError_BadGfxInit));
|
||||||
}
|
}
|
||||||
|
|
||||||
void __nx_win_exit(void)
|
void __attribute__((weak)) __nx_win_exit(void)
|
||||||
{
|
{
|
||||||
nwindowClose(&g_defaultWin);
|
nwindowClose(&g_defaultWin);
|
||||||
viCloseLayer(&g_viLayer);
|
viCloseLayer(&g_viLayer);
|
||||||
|
Loading…
Reference in New Issue
Block a user