diff --git a/nx/source/gfx/gfx.c b/nx/source/gfx/gfx.c index 6d90b2da..115d8089 100644 --- a/nx/source/gfx/gfx.c +++ b/nx/source/gfx/gfx.c @@ -26,7 +26,7 @@ static Result _gfxInit(viServiceType servicetype, const char *DisplayName, u32 L if (R_SUCCEEDED(rc)) g_gfxInitialized = 1; - return 0; + return rc; } void gfxInitDefault(void) { diff --git a/nx/source/services/vi.c b/nx/source/services/vi.c index a897327b..8a9cc908 100644 --- a/nx/source/services/vi.c +++ b/nx/source/services/vi.c @@ -241,6 +241,7 @@ Result viCloseDisplay(viDisplay *display) { return rc; } +//TODO: BROKEN static Result _viOpenLayer(u8 NativeWindow[0x100], u64 *NativeWindow_Size, const viDisplay *display, u64 LayerId, u64 AppletResourceUserId) { IpcCommand c; ipcInitialize(&c); @@ -287,6 +288,7 @@ static Result _viOpenLayer(u8 NativeWindow[0x100], u64 *NativeWindow_Size, const return rc; } +//TODO: BROKEN static Result _viCreateStrayLayer(u8 NativeWindow[0x100], u64 *NativeWindow_Size, const viDisplay *display, u32 LayerFlags, u64 *LayerId) { IpcCommand c; ipcInitialize(&c);