[CPU/CPU_FLAGS] - Display known PVR values to user in config

- Add known PVR values to config.toml
This commit is contained in:
The-Little-Wolf 2025-01-17 12:12:18 -08:00 committed by Radosław Gliński
parent 00c94f28a1
commit 3f196f4b62
1 changed files with 7 additions and 0 deletions

View File

@ -33,8 +33,15 @@ DEFINE_bool(trace_function_data, false,
DEFINE_bool(validate_hir, false,
"Perform validation checks on the HIR during compilation.", "CPU");
// https://github.com/bitsh1ft3r/Xenon/blob/091e8cd4dc4a7c697b4979eb200be7c9dee3590b/Xenon/Core/XCPU/PPU/PowerPC.h#L370
DEFINE_uint64(
pvr, 0x710700,
"Known PVR's.\n"
" 0x710200 = Used by Zephyr \n"
" 0x710300 = Used by Zephyr\n"
" 0x710500 = Used by Jasper\n"
" 0x710700 = Default\n"
" 0x710800 = Used by Corona V1 & V2\n"
"Processor version and revision number.\nBits 0 to 15 are the version "
"number.\nBits 16 to 31 are the revision number.\nNote: Some XEXs (such as "
"mfgbootlauncher.xex) may check for a value that's less than 0x710700.",