Made ps1/exe work again.
committer: mfx <mfx> 1139776798 +0000
This commit is contained in:
+4
-4
@@ -1058,13 +1058,13 @@ void Packer::initLoader(const void *pdata, int plen, int pinfo, int small)
|
||||
|
||||
void __acc_cdecl_va Packer::addLoader(const char *s, ...)
|
||||
{
|
||||
const char *p;
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, s);
|
||||
linker->addSection(s);
|
||||
while((p = va_arg(ap, const char *)) != NULL)
|
||||
linker->addSection(p);
|
||||
do {
|
||||
if (*s)
|
||||
linker->addSection(s);
|
||||
} while ((s = va_arg(ap, const char *)) != NULL);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user