MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / getRAMTotalSize

Method getRAMTotalSize

Source/DolphinProcess/DolphinAccessor.cpp:179–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179size_t DolphinAccessor::getRAMTotalSize()
180{
181 if (isMEM2Present())
182 {
183 return Common::GetMEM1SizeReal() + Common::GetMEM2SizeReal();
184 }
185 if (isARAMAccessible())
186 {
187 return Common::GetMEM1SizeReal() + Common::ARAM_SIZE;
188 }
189
190 return Common::GetMEM1SizeReal();
191}
192
193const std::string& DolphinAccessor::getGameID()
194{

Callers

nothing calls this directly

Calls 2

GetMEM1SizeRealFunction · 0.85
GetMEM2SizeRealFunction · 0.85

Tested by

no test coverage detected