[android] make YUZU_LEGACY a compile def; add legacy as a build flavor
All checks were successful
eden-license / license-header (pull_request) Successful in 21s

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-10-02 23:31:44 -04:00
parent 15b4d6fca9
commit 351c8fe478
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
9 changed files with 76 additions and 43 deletions

View file

@ -204,8 +204,10 @@ private:
std::unique_ptr<Common::FlatAllocator<u32, 0, 32>> allocator;
FrameQueue frame_queue;
std::unordered_map<s32, std::unique_ptr<CDmaPusher>> devices;
#ifdef YUZU_LEGACY
std::once_flag nvdec_first_init;
std::once_flag vic_first_init;
#endif
};
} // namespace Tegra::Host1x