From beabe9c6ee3c99afab18b337a9e9af3dca154fc5 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 15 Oct 2023 03:58:29 +0900 Subject: [PATCH] internal/ui: bug fix: compile failure with -tags=nintendosdk --- internal/ui/ui_nintendosdk.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/ui/ui_nintendosdk.go b/internal/ui/ui_nintendosdk.go index 8b6316604..810a3bf44 100644 --- a/internal/ui/ui_nintendosdk.go +++ b/internal/ui/ui_nintendosdk.go @@ -74,6 +74,10 @@ type userInterfaceImpl struct { m sync.Mutex } +func (u *UserInterface) init() error { + return nil +} + func (u *UserInterface) Run(game Game, options *RunOptions) error { u.context = newContext(game) g, err := newGraphicsDriver(&graphicsDriverCreatorImpl{}, options.GraphicsLibrary)