Skip to content

Commit

Permalink
cdvdman: improve debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
rickgaiser committed Aug 6, 2021
1 parent 4d24d8f commit a600ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/iopcore/cdvdman/ioops.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ static int cdrom_read(iop_file_t *f, void *buf, int size)

WaitSema(cdrom_io_sema);

DPRINTF("cdrom_read size=%d file_position=%d\n", size, fh->position);
DPRINTF("cdrom_read size=%db (%ds) file_position=%d\n", size, size / 2048, fh->position);

if ((fh->position + size) > fh->filesize)
size = fh->filesize - fh->position;
Expand Down
2 changes: 1 addition & 1 deletion modules/iopcore/cdvdman/searchfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static struct dirTocEntry *cdvdman_locatefile(char *name, u32 tocLBA, int tocLen
struct dirTocEntry *tocEntryPointer;

lbl_startlocate:
DPRINTF("cdvdman_locatefile start locating, layer=%d\n", layer);
DPRINTF("cdvdman_locatefile start locating %s, layer=%d\n", name, layer);

while (*p == '/')
p++;
Expand Down

0 comments on commit a600ffe

Please sign in to comment.