mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-27 13:31:21 -08: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 |