mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-04-18 21:50:46 +00:00

Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr.