mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-13 09:18:58 +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> |
||
|---|---|---|
| .. | ||
| hybrid_memory.cpp | ||
| hybrid_memory.h | ||
| nsight_aftermath_tracker.cpp | ||
| nsight_aftermath_tracker.h | ||
| vk_enum_string_helper.h | ||
| vma.cpp | ||
| vma.h | ||
| vulkan.h | ||
| vulkan_debug_callback.cpp | ||
| vulkan_debug_callback.h | ||
| vulkan_device.cpp | ||
| vulkan_device.h | ||
| vulkan_instance.cpp | ||
| vulkan_instance.h | ||
| vulkan_library.cpp | ||
| vulkan_library.h | ||
| vulkan_memory_allocator.cpp | ||
| vulkan_memory_allocator.h | ||
| vulkan_surface.cpp | ||
| vulkan_surface.h | ||
| vulkan_wrapper.cpp | ||
| vulkan_wrapper.h | ||