mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-29 23:50:59 -06:00
GfxPack: Add version (8) for new features
This commit is contained in:
parent
c1965c3d89
commit
1a5546e4ad
@ -26,6 +26,7 @@ public:
|
||||
GFXPACK_VERSION_5 = 5,
|
||||
GFXPACK_VERSION_6 = 6, // added memory extensions
|
||||
GFXPACK_VERSION_7 = 7, // added fine-grained origin control in patch format (no more forced 4 byte alignment), .string directive (an alias to .byte) and support for more than one constant per data directive
|
||||
GFXPACK_VERSION_8 = 8, // (Cemu 2.7) added: titleId and rpx hash wildcards (*), added .callback entry <symbol> to call a function when the main entrypoint is reached
|
||||
};
|
||||
|
||||
struct TextureRule
|
||||
|
||||
@ -131,7 +131,7 @@ void GraphicPacksWindow2::FillGraphicPackList() const
|
||||
auto tmp_text = m_graphic_pack_tree->GetItemText(node);
|
||||
m_graphic_pack_tree->SetItemText(node, tmp_text + " (may not be compatible with Vulkan)");
|
||||
}
|
||||
else if (p->GetVersion() != 3 && p->GetVersion() != 4 && p->GetVersion() != 5 && p->GetVersion() != 6 && p->GetVersion() != GraphicPack2::GFXPACK_VERSION_7)
|
||||
else if (p->GetVersion() != 3 && p->GetVersion() != 4 && p->GetVersion() != 5 && p->GetVersion() != 6 && p->GetVersion() != GraphicPack2::GFXPACK_VERSION_7 && p->GetVersion() != GraphicPack2::GFXPACK_VERSION_8)
|
||||
{
|
||||
auto tmp_text = m_graphic_pack_tree->GetItemText(node);
|
||||
m_graphic_pack_tree->SetItemText(node, tmp_text + " (Unsupported version)");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user