master #60

Merged
sin365 merged 13 commits from Alienjack/AxibugEmuOnline_old:master into master 2024-12-06 18:10:49 +08:00
3 changed files with 5 additions and 2 deletions
Showing only changes of commit 14f5621827 - Show all commits

View File

@ -27,6 +27,7 @@ namespace AxibugEmuOnline.Client
int step = channels;
if (NesEmu == null || NesEmu.NesCore == null) return;
if (NesEmu.IsPause) return;
ProcessSound(NesEmu.NesCore, (uint)(data.Length / channels));

View File

@ -21,7 +21,9 @@ namespace AxibugEmuOnline.Client
//音频驱动这里是Unity接收模拟器音频数据的并播放出来的实现
public AudioProvider AudioProvider;
//是否暂停
public bool m_bPause;
private bool m_bPause;
/// <summary> 是否暂停 </summary>
public bool IsPause => m_bPause;
private void Start()
{

View File

@ -10,5 +10,5 @@
"autoReferenced": false,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
"noEngineReferences": true
}