audio fixed
This commit is contained in:
parent
2088ffb8d9
commit
facfbbcf73
@ -51,6 +51,11 @@ public class UStoicGoose : MonoBehaviour
|
|||||||
|
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
|
//关闭垂直同步
|
||||||
|
QualitySettings.vSyncCount = 0;
|
||||||
|
//设为60帧
|
||||||
|
Application.targetFrameRate = 60;
|
||||||
|
|
||||||
instance = this;
|
instance = this;
|
||||||
loggerHandler = new SGLogger();
|
loggerHandler = new SGLogger();
|
||||||
graphicsHandler = this.gameObject.GetComponent<SGVideoPlayer>();
|
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);
|
LoadBootstrap(emulatorHandler.Machine is WonderSwan ? Program.Configuration.General.BootstrapFile : Program.Configuration.General.BootstrapFileWSC);
|
||||||
LoadInternalEeprom();
|
LoadInternalEeprom();
|
||||||
|
|
||||||
|
//初始化音频
|
||||||
|
soundHandler.Initialize();
|
||||||
|
|
||||||
emulatorHandler.Startup();
|
emulatorHandler.Startup();
|
||||||
|
|
||||||
SizeAndPositionWindow();
|
SizeAndPositionWindow();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user