Memmap: Remove unused IO size field
This existed in the initial megacommit (though I don't know why) as IO_SIZE. It was used in Memmap's Init() to compute totalMemSize, but I don't know if it actually did anything then. That use was removed in2d0f714546
, but the constant persisted untilcc858c63b8
, when it became a static variable.
This commit is contained in:
parent
6e3d140283
commit
be65e96991
|
@ -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.
|
||||
|
@ -111,10 +110,6 @@ u32 GetL1CacheMask()
|
|||
{
|
||||
return s_L1_cache_mask;
|
||||
}
|
||||
u32 GetIOSize()
|
||||
{
|
||||
return s_io_size;
|
||||
}
|
||||
u32 GetExRamSizeReal()
|
||||
{
|
||||
return s_exram_size_real;
|
||||
|
@ -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;
|
||||
|
|
|
@ -45,7 +45,6 @@ u32 GetFakeVMemSize();
|
|||
u32 GetFakeVMemMask();
|
||||
u32 GetL1CacheSize();
|
||||
u32 GetL1CacheMask();
|
||||
u32 GetIOSize();
|
||||
u32 GetExRamSizeReal();
|
||||
u32 GetExRamSize();
|
||||
u32 GetExRamMask();
|
||||
|
|
Loading…
Reference in New Issue