Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11134 from Pokechu22/memmap-remove-io-size
Memmap: Remove unused IO size field
  • Loading branch information
AdmiralCurtiss committed Oct 8, 2022
2 parents 934349a + be65e96 commit 1c2182d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions Source/Core/Core/HW/Memmap.cpp
Expand Up @@ -75,7 +75,6 @@ static u32 s_fakevmem_size;
static u32 s_fakevmem_mask;
static u32 s_L1_cache_size;
static u32 s_L1_cache_mask;
static u32 s_io_size;
// s_exram_size is the amount allocated by the emulator, whereas s_exram_size_real
// is what gets used by emulated software. If using retail IOS, it will
// always be set to 64MB.
Expand Down Expand Up @@ -111,10 +110,6 @@ u32 GetL1CacheMask()
{
return s_L1_cache_mask;
}
u32 GetIOSize()
{
return s_io_size;
}
u32 GetExRamSizeReal()
{
return s_exram_size_real;
Expand Down Expand Up @@ -247,7 +242,6 @@ void Init()
s_fakevmem_mask = GetFakeVMemSize() - 1;
s_L1_cache_size = 0x00040000;
s_L1_cache_mask = GetL1CacheSize() - 1;
s_io_size = 0x00010000;
s_exram_size_real = get_mem2_size();
s_exram_size = MathUtil::NextPowerOf2(GetExRamSizeReal());
s_exram_mask = GetExRamSize() - 1;
Expand Down
1 change: 0 additions & 1 deletion Source/Core/Core/HW/Memmap.h
Expand Up @@ -45,7 +45,6 @@ u32 GetFakeVMemSize();
u32 GetFakeVMemMask();
u32 GetL1CacheSize();
u32 GetL1CacheMask();
u32 GetIOSize();
u32 GetExRamSizeReal();
u32 GetExRamSize();
u32 GetExRamMask();
Expand Down

0 comments on commit 1c2182d

Please sign in to comment.