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 |
||
|---|---|---|
| .. | ||
| buffer_cache | ||
| command_classes | ||
| engines | ||
| host_shaders | ||
| macro | ||
| renderer_opengl | ||
| renderer_vulkan | ||
| texture_cache | ||
| textures | ||
| vulkan_common | ||
| cdma_pusher.cpp | ||
| cdma_pusher.h | ||
| CMakeLists.txt | ||
| compatible_formats.cpp | ||
| compatible_formats.h | ||
| delayed_destruction_ring.h | ||
| dirty_flags.cpp | ||
| dirty_flags.h | ||
| dma_pusher.cpp | ||
| dma_pusher.h | ||
| fence_manager.h | ||
| framebuffer_config.h | ||
| gpu.cpp | ||
| gpu.h | ||
| gpu_thread.cpp | ||
| gpu_thread.h | ||
| memory_manager.cpp | ||
| memory_manager.h | ||
| query_cache.h | ||
| rasterizer_accelerated.cpp | ||
| rasterizer_accelerated.h | ||
| rasterizer_interface.h | ||
| renderer_base.cpp | ||
| renderer_base.h | ||
| shader_cache.cpp | ||
| shader_cache.h | ||
| shader_environment.cpp | ||
| shader_environment.h | ||
| shader_notify.cpp | ||
| shader_notify.h | ||
| surface.cpp | ||
| surface.h | ||
| transform_feedback.cpp | ||
| transform_feedback.h | ||
| video_core.cpp | ||
| video_core.h | ||