[D3D12] Shared memory typo fix and improvements

This commit is contained in:
Triang3l
2018-08-01 01:09:33 +03:00
parent 8fadd7a242
commit db625892ea
5 changed files with 31 additions and 31 deletions

View File

@@ -328,12 +328,14 @@ class Memory {
// Protects a physical memory range without adding a watch, primarily for use
// with the global physical access watch.
void ProtectPhysicalMemory(uint32_t physical_address, uint32_t length,
cpu::MMIOHandler::WatchType type);
cpu::MMIOHandler::WatchType type,
bool protect_host_access);
// Unprotects a physical memory range previously protected using
// ProtectPhysicalMemory, primarily for use with the global physical access
// watch.
void UnprotectPhysicalMemory(uint32_t physical_address, uint32_t length);
void UnprotectPhysicalMemory(uint32_t physical_address, uint32_t length,
bool unprotect_host_access);
// Allocates virtual memory from the 'system' heap.
// System memory is kept separate from game memory but is still accessible