mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 03:08:36 +12:00
Small fixes in sceNpTrophy and cellSaveData
* Added cellSaveData.cpp to the project. * Fixed wrong cellSaveData structs. * Fixed compilation problem caused by the switch/case statements introduced in sceNpTrophy and TROPUSR.cpp in the last commit
This commit is contained in:
parent
f86ac251a8
commit
ad7ac17647
5 changed files with 138 additions and 112 deletions
|
@ -132,7 +132,7 @@ bool TROPUSRLoader::Generate(std::string& filepath, std::string& configpath)
|
|||
{
|
||||
u32 trophy_id = atoi(n->GetAttribute("id").mb_str());
|
||||
u32 trophy_grade;
|
||||
switch (n->GetAttribute("ttype").mb_str()[0])
|
||||
switch (((const char *)n->GetAttribute("ttype").mb_str())[0])
|
||||
{
|
||||
case 'B': trophy_grade = 4; break;
|
||||
case 'S': trophy_grade = 3; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue