diff --git a/Assets/Script/AppMain/Emulator/UStoicGoose.cs b/Assets/Script/AppMain/Emulator/UStoicGoose.cs index 523b650..5d34bd9 100644 --- a/Assets/Script/AppMain/Emulator/UStoicGoose.cs +++ b/Assets/Script/AppMain/Emulator/UStoicGoose.cs @@ -51,6 +51,11 @@ public class UStoicGoose : MonoBehaviour void Awake() { + //关闭垂直同步 + QualitySettings.vSyncCount = 0; + //设为60帧 + Application.targetFrameRate = 60; + instance = this; loggerHandler = new SGLogger(); graphicsHandler = this.gameObject.GetComponent(); @@ -365,6 +370,9 @@ public class UStoicGoose : MonoBehaviour LoadBootstrap(emulatorHandler.Machine is WonderSwan ? Program.Configuration.General.BootstrapFile : Program.Configuration.General.BootstrapFileWSC); LoadInternalEeprom(); + //初始化音频 + soundHandler.Initialize(); + emulatorHandler.Startup(); SizeAndPositionWindow();