Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779 |
||
|---|---|---|
| .. | ||
| accelerated_swizzle.cpp | ||
| accelerated_swizzle.h | ||
| decode_bc4.cpp | ||
| decode_bc4.h | ||
| descriptor_table.h | ||
| format_lookup_table.cpp | ||
| format_lookup_table.h | ||
| formatter.cpp | ||
| formatter.h | ||
| image_base.cpp | ||
| image_base.h | ||
| image_info.cpp | ||
| image_info.h | ||
| image_view_base.cpp | ||
| image_view_base.h | ||
| image_view_info.cpp | ||
| image_view_info.h | ||
| render_targets.h | ||
| samples_helper.h | ||
| slot_vector.h | ||
| texture_cache.h | ||
| texture_cache_base.h | ||
| types.h | ||
| util.cpp | ||
| util.h | ||