Skip to content

Commit

Permalink
warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Nov 2, 2023
1 parent 355afec commit 12fb05c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/burn/burn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ void BurnLocalisationSetNameEx(char* szName, TCHAR* szLongName, INT32 nNumGames)
char szShortNames[100] = { 0 };
sprintf(szShortNames, "%s[0x%02x]", pDriver[nBurnDrvActive]->szShortName, nBurnDrvSubActive);

for (UINT32 i = 0; i < nNumGames; i++) {
for (INT32 i = 0; i < nNumGames; i++) {
if (0 == strcmp(szName, szShortNames)) {
// pDriver[nBurnDrvActive]->szFullNameW = szLongName;
memset(pszFullName[nBurnDrvActive], '\0', MAX_PATH * sizeof(wchar_t));
Expand All @@ -521,7 +521,7 @@ extern "C" INT32 BurnDrvGetIndex(char* szName)
{
if (NULL == szName) return -1;

for (INT32 i = 0; i < nBurnDrvCount; i++) {
for (UINT32 i = 0; i < nBurnDrvCount; i++) {
if (0 == strcmp(szName, pDriver[i]->szShortName)) {
// nBurnDrvActive = i;
return i;
Expand Down
2 changes: 0 additions & 2 deletions src/burner/win32/neocdsel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,6 @@ static PNGRESOLUTION GetPNGResolution(TCHAR* szFile)
nResolution.nWidth = img.width;
nResolution.nHeight = img.height;

bprintf(0, _T("Png res [%s] %d, %d\n"), szFile, img.width, img.height);

fclose(fp);

return nResolution;
Expand Down

0 comments on commit 12fb05c

Please sign in to comment.