Run the retroLabs backend and add the Roku tuner
This commit is contained in:
12
roku/source/main.brs
Normal file
12
roku/source/main.brs
Normal file
@@ -0,0 +1,12 @@
|
||||
sub Main()
|
||||
port = CreateObject("roMessagePort")
|
||||
screen = CreateObject("roSGScreen")
|
||||
screen.SetMessagePort(port)
|
||||
screen.CreateScene("RetroScene")
|
||||
screen.Show()
|
||||
|
||||
while true
|
||||
event = Wait(0, port)
|
||||
if Type(event) = "roSGScreenEvent" and event.IsScreenClosed() then return
|
||||
end while
|
||||
end sub
|
||||
Reference in New Issue
Block a user