Documentation ¶
Overview ¶
Package core takes care of instanciating the libretro core, setting the input, audio, video, environment callbacks needed to play the games.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options *options.Options
Options holds the settings for the current core
Functions ¶
func Init ¶
func Init(v *video.Video, m MenuInterface)
Init is there mainly for dependency injection. Call Init before calling other functions of this package.
Types ¶
type MenuInterface ¶
type MenuInterface interface {
ContextReset()
}
MenuInterface allows passing a *menu.Menu to the core package while avoiding cyclic dependencies.
Click to show internal directories.
Click to hide internal directories.