mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Fix more style issues, and abstract most of the init code from MemMap.cpp.
This commit is contained in:
1 parent
7ade9f6ceb
commit
695f7eeec5
6 files changed
+25
-27
No files matched your search
+9
-2
@@ -42,11 +42,18 @@
|
||||
|
||||
#include "Core/MemMap.h"
|
||||
|
||||
// TODO: Come up with a better name for this thing
|
||||
// We gather the game info before actually loading/booting the ISO
|
||||
// to determine if the emulator should enable extra memory and
|
||||
// double-sized texture coordinates.
|
||||
void InitGameISO(std::string fileToStart) {
|
||||
void InitMemoryForGameISO(std::string fileToStart) {
|
||||
// Default memory settings
|
||||
// Seems to be the safest place currently..
|
||||
Memory::g_MemoryEnd = 0x0A000000;
|
||||
Memory::g_MemorySize = 0x2000000;
|
||||
g_RemasterMode = false;
|
||||
g_DoubleTextureCoordinates = false;
|
||||
Memory::g_MemoryMask = Memory::g_MemorySize - 1;
|
||||
|
||||
ISOFileSystem *umd2 = new ISOFileSystem(&pspFileSystem, constructBlockDevice(fileToStart.c_str()));
|
||||
|
||||
// Parse PARAM.SFO
|
||||
|
||||
Reference in new issue
Block a user