From af36b0b7550a8a32918896a077ae77121370f9e7 Mon Sep 17 00:00:00 2001 From: giongto35 Date: Sat, 6 Apr 2019 00:27:16 +0800 Subject: [PATCH] Add contra --- main.go | 2 +- ui/run.go | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/main.go b/main.go index b3e95402..16a87b74 100644 --- a/main.go +++ b/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 diff --git a/ui/run.go b/ui/run.go index 87bea59b..047edf25 100644 --- a/ui/run.go +++ b/ui/run.go @@ -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() }