Skip to content

Commit 0ef0a6e

Browse files
authored
dcload: Fix wrong command sent for dcload_lseek (KallistiOS#1241)
1 parent 6216f5e commit 0ef0a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/arch/dreamcast/hardware/dcload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int dcload_chmod(const char *path, mode_t mode) {
7373
}
7474

7575
off_t dcload_lseek(uint32_t hnd, off_t offset, int whence) {
76-
return (off_t)dcload_syscall(DCLOAD_READ, (void *)hnd, (void *)offset, (void *)whence);
76+
return (off_t)dcload_syscall(DCLOAD_LSEEK, (void *)hnd, (void *)offset, (void *)whence);
7777
}
7878

7979
int dcload_fstat(int fildes, dcload_stat_t *buf) {

0 commit comments

Comments
 (0)