diff --git a/projects/mtg/Makefile b/projects/mtg/Makefile index 5d3c277da..b1e0bd7e1 100644 --- a/projects/mtg/Makefile +++ b/projects/mtg/Makefile @@ -26,7 +26,7 @@ DEFAULT_RULE = 3xx TARGET_ARCHITECTURE = psp PSP_FW_VERSION=371 BUILD_PRX = 1 -#SIGN_PRX = 1 +SIGN_PRX = 1 LIBS = -ljge300 -lhgetools -lfreetype -ljpeg -lgif -lpng -lz -lm -lmikmod -lpsppower -lpspmpeg -lpspaudiocodec -lpspaudiolib -lpspaudio -lpspmp3 -lpspgum -lpspgu -lpsprtc -lstdc++ -lpspfpu EXTRA_TARGETS = EBOOT.PBP diff --git a/projects/mtg/bin/Res.txt b/projects/mtg/bin/Res.txt index af6beddc8..74d0b00d2 100644 --- a/projects/mtg/bin/Res.txt +++ b/projects/mtg/bin/Res.txt @@ -1,3 +1,4 @@ +./Res/ ms0:/PSP/wagic_res/ ms0:/wagic_res/ ../../wagic_res/ diff --git a/projects/mtg/src/Rules.cpp b/projects/mtg/src/Rules.cpp index 0c831de29..8f8e47c81 100644 --- a/projects/mtg/src/Rules.cpp +++ b/projects/mtg/src/Rules.cpp @@ -133,7 +133,7 @@ void RulesState::parsePlayerState(int playerId, string s) size_t limiter = s.find("="); if (limiter == string::npos) limiter = s.find(":"); string areaS; - int area; + int area = -1; if (limiter != string::npos) { areaS = s.substr(0, limiter);