From 8514a14cf4704feeed62955170ef5a6c29aa9805 Mon Sep 17 00:00:00 2001 From: elisha464 Date: Tue, 21 Jan 2014 20:29:16 +0200 Subject: [PATCH] small change to unmapping functions --- rpcs3/Emu/Memory/Memory.cpp | 14 ++++++++------ rpcs3/Emu/Memory/MemoryBlock.h | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/rpcs3/Emu/Memory/Memory.cpp b/rpcs3/Emu/Memory/Memory.cpp index 44b5fa408f..2f4c3dd4bf 100644 --- a/rpcs3/Emu/Memory/Memory.cpp +++ b/rpcs3/Emu/Memory/Memory.cpp @@ -576,32 +576,34 @@ u64 VirtualMemoryBlock::Map(u64 realaddr, u32 size, u64 addr) } } -bool VirtualMemoryBlock::UnmapRealAddress(u64 realaddr) +u32 VirtualMemoryBlock::UnmapRealAddress(u64 realaddr) { for(u32 i=0; i