diff --git a/output/Memory.xml b/output/Memory.xml index dbeb589b0..c9a2ec837 100755 --- a/output/Memory.xml +++ b/output/Memory.xml @@ -1975,6 +1975,25 @@ map_data_1b60_offset 0x1B9c fea3801a26538b1741f3cc9294139fca + +
0x92D00C0
BOGUS! + + Position and window dimensions + ============================== +
0x8b0d36c
BOGUS! +
0x8b0d370
BOGUS! +
0x8b0d374
BOGUS! +
0x8b0d36c
VERIFIED +
0x8b0d370
BOGUS! + GUI State + ========= +
0x92bf73c
VERIFIED + + Map data + ======== + WORLD + 0x52C60? +
0x9322d20
diff --git a/tools/playground/incrementalsearch.cpp b/tools/playground/incrementalsearch.cpp index 764c1d956..540d90194 100644 --- a/tools/playground/incrementalsearch.cpp +++ b/tools/playground/incrementalsearch.cpp @@ -208,19 +208,18 @@ bool Incremental ( vector &found, const char * what, T& output, } else { - stringstream ss (stringstream::in | stringstream::out); - ss << select; - ss >> hex >> output; - if(ss.fail()) + if( sscanf(select.c_str(),"0x%x", &output) == 1 ) { - ss >> dec >> output; - if(ss.fail()) - { - cout << "not a valid value for type: " << what << endl; - goto incremental_more; - } + cout << dec << output << endl; + return true; } - return true; + if( sscanf(select.c_str(),"%d", &output) == 1 ) + { + cout << dec << output << endl; + return true; + } + cout << "not a valid value for type: " << what << endl; + goto incremental_more; } }