aboutsummaryrefslogtreecommitdiff
path: root/src/common/android/multiplayer/multiplayer.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-04-12 16:15:51 +1000
committerMrPurple666 <antoniosacramento666usa@gmail.com>2025-04-12 23:42:24 -0300
commit34693001aa6e86bb543e5b8b18b3c9dc919ddde7 (patch)
tree7922910b70085858b30ca084db6d75a79db476a6 /src/common/android/multiplayer/multiplayer.cpp
parent9615e910f90ea0af0c616eed5329b176d4700d7f (diff)
Add Windows support to Hybrid Memory Manager
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>
Diffstat (limited to 'src/common/android/multiplayer/multiplayer.cpp')
0 files changed, 0 insertions, 0 deletions