mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Make the IRJit core selectable in developer tools
This commit is contained in:
1 parent
09969c0156
commit
ce8aae5ed1
17 files changed
+84
-45
No files matched your search
@@ -207,11 +207,11 @@ int main(int argc, const char* argv[])
|
||||
#endif
|
||||
|
||||
bool fullLog = false;
|
||||
bool useJit = true;
|
||||
bool autoCompare = false;
|
||||
bool verbose = false;
|
||||
const char *stateToLoad = 0;
|
||||
GPUCore gpuCore = GPUCORE_NULL;
|
||||
CPUCore cpuCore = CPU_CORE_JIT;
|
||||
|
||||
std::vector<std::string> testFilenames;
|
||||
const char *mountIso = 0;
|
||||
@@ -236,9 +236,11 @@ int main(int argc, const char* argv[])
|
||||
else if (!strcmp(argv[i], "-l") || !strcmp(argv[i], "--log"))
|
||||
fullLog = true;
|
||||
else if (!strcmp(argv[i], "-i"))
|
||||
useJit = false;
|
||||
cpuCore = CPU_CORE_INTERPRETER;
|
||||
else if (!strcmp(argv[i], "-j"))
|
||||
useJit = true;
|
||||
cpuCore = CPU_CORE_JIT;
|
||||
else if (!strcmp(argv[i], "-ir"))
|
||||
cpuCore = CPU_CORE_IRJIT;
|
||||
else if (!strcmp(argv[i], "-c") || !strcmp(argv[i], "--compare"))
|
||||
autoCompare = true;
|
||||
else if (!strcmp(argv[i], "-v") || !strcmp(argv[i], "--verbose"))
|
||||
@@ -311,7 +313,7 @@ int main(int argc, const char* argv[])
|
||||
}
|
||||
|
||||
CoreParameter coreParameter;
|
||||
coreParameter.cpuCore = useJit ? CPU_JIT : CPU_INTERPRETER;
|
||||
coreParameter.cpuCore = cpuCore;
|
||||
coreParameter.gpuCore = glWorking ? gpuCore : GPUCORE_NULL;
|
||||
coreParameter.graphicsContext = graphicsContext;
|
||||
coreParameter.enableSound = false;
|
||||
|
||||
Reference in new issue
Block a user