mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-17 16:50:31 +00:00
Add contra
This commit is contained in:
parent
1718af5ba4
commit
af36b0b755
2 changed files with 1 additions and 4 deletions
2
main.go
2
main.go
|
|
@ -18,7 +18,7 @@ import (
|
|||
// var webRTC *webrtc.WebRTC
|
||||
var width = 256
|
||||
var height = 240
|
||||
var gameName = "Legend of Pokemon.nes"
|
||||
var gameName = "Contra.nes"
|
||||
|
||||
// var FPS = 60
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,6 @@ const (
|
|||
)
|
||||
|
||||
func init() {
|
||||
// we need a parallel OS thread to avoid audio stuttering
|
||||
runtime.GOMAXPROCS(2)
|
||||
|
||||
// we need to keep OpenGL calls on a single thread
|
||||
runtime.LockOSThread()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue