Search
lxdream.org :: lxdream/src/bios.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/bios.c
changeset 430:467519b050f4
prev422:61a0598e07ff
next502:c4ecae2b1b5e
author nkeynes
date Mon Oct 08 12:09:06 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/bios.c Sat Oct 06 09:03:24 2007 +0000
1.2 +++ b/src/bios.c Mon Oct 08 12:09:06 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: bios.c,v 1.3 2007-10-06 08:59:42 nkeynes Exp $
1.6 + * $Id: bios.c,v 1.4 2007-10-08 12:06:01 nkeynes Exp $
1.7 *
1.8 * "Fake" BIOS functions, for operation without the actual BIOS.
1.9 *
1.10 @@ -151,7 +151,7 @@
1.11 sh4r.r[0] = cmd->status;
1.12 if( cmd->status == GD_CMD_STATUS_ERROR &&
1.13 sh4r.r[5] != 0 ) {
1.14 - mem_copy_to_sh4( sh4r.r[5], (char *)&cmd->result, sizeof(cmd->result) );
1.15 + mem_copy_to_sh4( sh4r.r[5], (unsigned char *)&cmd->result, sizeof(cmd->result) );
1.16 }
1.17 }
1.18 break;
1.19 @@ -163,7 +163,7 @@
1.20 break;
1.21 case 4: /* Drive status */
1.22 if( sh4r.r[4] != 0 ) {
1.23 - mem_copy_to_sh4( sh4r.r[4], (char *)&bios_gdrom_status,
1.24 + mem_copy_to_sh4( sh4r.r[4], (unsigned char *)&bios_gdrom_status,
1.25 sizeof(bios_gdrom_status) );
1.26 }
1.27 sh4r.r[0] = 0;
.