audio fixed
This commit is contained in:
parent
2088ffb8d9
commit
facfbbcf73
@ -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<SGVideoPlayer>();
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user