mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Disable ignoreAddress on quick hash and inform the user about it.
This commit is contained in:
parent
3c1f62d691
commit
36d7933c24
1 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,11 @@ bool TextureReplacer::LoadIni() {
|
|||
options->Get("video", &allowVideo_, false);
|
||||
options->Get("ignoreAddress", &ignoreAddress_, false);
|
||||
|
||||
if (ignoreAddress_ && hash_ == ReplacedTextureHash::QUICK) {
|
||||
ignoreAddress_ = false;
|
||||
ERROR_LOG(G3D, "Texture Replacement: ignoreAddress option requires safer hash, use xxh32 or xxh64 instead.");
|
||||
}
|
||||
|
||||
int version = 0;
|
||||
if (options->Get("version", &version, 0) && version > VERSION) {
|
||||
ERROR_LOG(G3D, "Unsupported texture replacement version %d, trying anyway", version);
|
||||
|
|
Loading…
Add table
Reference in a new issue