mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-04 14:45:32 +02:00
avoid incrementing the counter beyond the DLC count
This commit is contained in:
parent
205d88b204
commit
85c98a5933
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue