mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-22 03:30:50 +02:00
This commit adds Windows-specific implementation of the fault-managed memory system, providing similar functionality to the existing Linux/Android implementation. Key changes: - Added Windows-specific memory management using VirtualAlloc/VirtualFree - Implemented Windows vectored exception handler for page fault handling - Added proper memory protection and page fault handling on Windows - Updated memory snapshot functionality to work on Windows - Added proper cleanup of Windows-specific resources - Fixed type conversion issues in memory management code - Added proper error handling for Windows memory operations - Fixed VRAM Memory Layout Mode to allow up to 12Gb The implementation uses Windows-specific APIs: - VirtualAlloc/VirtualFree for memory management - AddVectoredExceptionHandler for page fault handling - VirtualProtect for memory protection management This change maintains feature parity with the Linux/Android implementation while using Windows-native APIs for better performance and reliability. Signed-off-by: Zephyron <zephyron@citron-emu.org> |
||
|---|---|---|
| .. | ||
| buffer_cache | ||
| control | ||
| engines | ||
| host1x | ||
| host_shaders | ||
| macro | ||
| query_cache | ||
| renderer_null | ||
| renderer_opengl | ||
| renderer_vulkan | ||
| texture_cache | ||
| textures | ||
| vulkan_common | ||
| cache_types.h | ||
| capture.h | ||
| 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.cpp | ||
| framebuffer_config.h | ||
| fsr.cpp | ||
| fsr.h | ||
| gpu.cpp | ||
| gpu.h | ||
| gpu_thread.cpp | ||
| gpu_thread.h | ||
| guest_memory.h | ||
| invalidation_accumulator.h | ||
| memory_manager.cpp | ||
| memory_manager.h | ||
| precompiled_headers.h | ||
| present.h | ||
| pte_kind.h | ||
| query_cache.h | ||
| rasterizer_download_area.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 | ||
| smaa_area_tex.h | ||
| smaa_search_tex.h | ||
| surface.cpp | ||
| surface.h | ||
| transform_feedback.cpp | ||
| transform_feedback.h | ||
| video_core.cpp | ||
| video_core.h | ||