24 lines
No EOL
591 B
C++
24 lines
No EOL
591 B
C++
#if 0
|
|
// Removed, this decoding system through IniValueGet has been replaced by the card info unpacking system
|
|
|
|
#include "ws_decoder.h"
|
|
|
|
|
|
WSDecodeCCMEntry::WSDecodeCCMEntry(char **parent, char **variable, char **value, bool useDecoder)
|
|
{
|
|
if (!useDecoder)
|
|
return;
|
|
std::string varStr = std::string(*variable);
|
|
std::string::size_type p = varStr.rfind('.');
|
|
if (p == std::string::npos)
|
|
return;
|
|
++p;
|
|
varStr = varStr.substr(p);
|
|
if (varStr == "thumbnail")
|
|
{
|
|
_Buffer = std::string("./Disguises/Thumb/") + std::string(*value);
|
|
*value = const_cast<char*>(_Buffer.c_str());
|
|
}
|
|
}
|
|
|
|
#endif
|