diff options
| author | 2019-03-05 10:09:27 -0500 | |
|---|---|---|
| committer | 2019-03-05 10:09:36 -0500 | |
| commit | 52ac6419dafb84b10369226d3746b3b5b761d33b (patch) | |
| tree | 008c14ba2e019b86128e6168ad49a3a1eafa6ba8 /src/core/hle/kernel | |
| parent | core: Add support for registering and controlling ownership of CheatEngine (diff) | |
| download | yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar.gz yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.tar.xz yuzu-52ac6419dafb84b10369226d3746b3b5b761d33b.zip | |
vm_manager: Remove cheat-specific ranges from VMManager
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/vm_manager.cpp | 17 | ||||
| -rw-r--r-- | src/core/hle/kernel/vm_manager.h | 8 |
2 files changed, 0 insertions, 25 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp index 161a83660..10ad94aa6 100644 --- a/src/core/hle/kernel/vm_manager.cpp +++ b/src/core/hle/kernel/vm_manager.cpp | |||
| @@ -786,23 +786,6 @@ u64 VMManager::GetNewMapRegionSize() const { | |||
| 786 | return new_map_region_end - new_map_region_base; | 786 | return new_map_region_end - new_map_region_base; |
| 787 | } | 787 | } |
| 788 | 788 | ||
| 789 | void VMManager::SetMainCodeRegion(VAddr begin, VAddr end) { | ||
| 790 | main_code_region_base = begin; | ||
| 791 | main_code_region_end = end; | ||
| 792 | } | ||
| 793 | |||
| 794 | VAddr VMManager::GetMainCodeRegionBaseAddress() const { | ||
| 795 | return main_code_region_base; | ||
| 796 | } | ||
| 797 | |||
| 798 | VAddr VMManager::GetMainCodeRegionEndAddress() const { | ||
| 799 | return main_code_region_end; | ||
| 800 | } | ||
| 801 | |||
| 802 | u64 VMManager::GetMainCodeRegionSize() const { | ||
| 803 | return main_code_region_end - main_code_region_base; | ||
| 804 | } | ||
| 805 | |||
| 806 | VAddr VMManager::GetTLSIORegionBaseAddress() const { | 789 | VAddr VMManager::GetTLSIORegionBaseAddress() const { |
| 807 | return tls_io_region_base; | 790 | return tls_io_region_base; |
| 808 | } | 791 | } |
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h index 728318f4b..d83a63e07 100644 --- a/src/core/hle/kernel/vm_manager.h +++ b/src/core/hle/kernel/vm_manager.h | |||
| @@ -480,14 +480,6 @@ public: | |||
| 480 | /// Gets the total size of the new map region in bytes. | 480 | /// Gets the total size of the new map region in bytes. |
| 481 | u64 GetNewMapRegionSize() const; | 481 | u64 GetNewMapRegionSize() const; |
| 482 | 482 | ||
| 483 | void SetMainCodeRegion(VAddr begin, VAddr end); | ||
| 484 | |||
| 485 | VAddr GetMainCodeRegionBaseAddress() const; | ||
| 486 | |||
| 487 | VAddr GetMainCodeRegionEndAddress() const; | ||
| 488 | |||
| 489 | u64 GetMainCodeRegionSize() const; | ||
| 490 | |||
| 491 | /// Gets the base address of the TLS IO region. | 483 | /// Gets the base address of the TLS IO region. |
| 492 | VAddr GetTLSIORegionBaseAddress() const; | 484 | VAddr GetTLSIORegionBaseAddress() const; |
| 493 | 485 | ||