添加忽略,添加PatternViewer的性能開關,当ROMDB转换了一个Mapper时,写日志

This commit is contained in:
ALIENJACK\alien 2024-08-06 14:24:55 +08:00
parent e4da00136d
commit 66f0cc5bd7
3 changed files with 12 additions and 1 deletions

2
.gitignore vendored
View File

@ -16,4 +16,4 @@
/virtuanessrc097-master/save /virtuanessrc097-master/save
/virtuanessrc097-master/.vs /virtuanessrc097-master/.vs
/virtuanessrc097-master/Debug /virtuanessrc097-master/Debug
/virtuanessrc097-master/VirtualNES.ini /virtuanessrc097-master/VirtuaNES.ini

View File

@ -24,6 +24,16 @@ namespace AxibugEmuOnline.Client
Paint(); Paint();
} }
private void OnEnable()
{
img.gameObject.SetActive(true);
}
private void OnDisable()
{
img.gameObject.SetActive(false);
}
public void Paint() public void Paint()
{ {
img.texture = m_texture; img.texture = m_texture;

View File

@ -246,6 +246,7 @@ namespace VirtualNes.Core
if (Supporter.TryGetMapperNo(this, out int mapperNo)) if (Supporter.TryGetMapperNo(this, out int mapperNo))
{ {
Debuger.Log($"ROMDB Set Mapper #{mapper:000} to #{mapperNo:000}");
mapper = mapperNo; mapper = mapperNo;
} }