mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-26 01:35:34 +00:00
090fd3fefa
The original idea of returning pointers is that handles can be moved. The problem is that the implementation didn't take that in mind and made everything harder to work with. This commit drops pointer to handles and returns the handles themselves. While it is still true that handles can be invalidated, this way we get an old handle instead of a dangling pointer. This problem can be solved in the future with sparse buffers. |
||
---|---|---|
.. | ||
buffer_block.h | ||
buffer_cache.h | ||
map_interval.h |