Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1728 from scribam/printf-fix
Browse files Browse the repository at this point in the history
reios: Remove extra printf argument
  • Loading branch information
skmp authored Aug 15, 2019
2 parents 6c440b5 + ebe6713 commit 4b1bbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libswirl/reios/gdrom_hle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,14 @@ void gdrom_hle_op()
case GDROM_RESET: printf("\nGDROM:\tHLE GDROM_RESET\n"); break;

case GDROM_CHECK_DRIVE: //
debugf("\nGDROM:\tHLE GDROM_CHECK_DRIVE r4:%X\n",r[4],r[5]);
debugf("\nGDROM:\tHLE GDROM_CHECK_DRIVE r4:%X\n",r[4]);
WriteMem32(r[4]+0,0x02); // STANDBY
WriteMem32(r[4]+4,libGDR_GetDiscType()); // CDROM | 0x80 for GDROM
r[0]=0; // RET SUCCESS
break;

case GDROM_ABORT_COMMAND: //
printf("\nGDROM:\tHLE GDROM_ABORT_COMMAND r4:%X\n",r[4],r[5]);
printf("\nGDROM:\tHLE GDROM_ABORT_COMMAND r4:%X\n",r[4]);
r[0]=-1; // RET FAILURE
break;

Expand Down

0 comments on commit 4b1bbe0

Please sign in to comment.