添加忽略,添加PatternViewer的性能開關,当ROMDB转换了一个Mapper时,写日志
This commit is contained in:
parent
e4da00136d
commit
66f0cc5bd7
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user