mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 02:19:31 +08:00
avoid incrementing the counter beyond the DLC count
This commit is contained in:
parent
205d88b204
commit
85c98a5933
@ -88,7 +88,7 @@ Auth_Data Auth_Manager::getTicketData( void *pTicket, int cbMaxTicket, uint32 *p
|
|||||||
ticket_data.Ticket.Licenses.push_back(0);
|
ticket_data.Ticket.Licenses.push_back(0);
|
||||||
unsigned int dlcCount = settings->DLCCount();
|
unsigned int dlcCount = settings->DLCCount();
|
||||||
ticket_data.Ticket.DLCs.resize(0); //currently set to 0
|
ticket_data.Ticket.DLCs.resize(0); //currently set to 0
|
||||||
for (int i = 0; i <= dlcCount; ++i)
|
for (int i = 0; i < dlcCount; ++i)
|
||||||
{
|
{
|
||||||
DLC dlc;
|
DLC dlc;
|
||||||
AppId_t appid;
|
AppId_t appid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user