1.1 --- a/src/bios.c Mon Mar 13 12:38:39 2006 +0000
1.2 +++ b/src/bios.c Sun Oct 07 05:42:25 2007 +0000
1.5 - * $Id: bios.c,v 1.2 2006-03-13 12:38:34 nkeynes Exp $
1.6 + * $Id: bios.c,v 1.3 2007-10-06 08:59:42 nkeynes Exp $
1.8 * "Fake" BIOS functions, for operation without the actual BIOS.
1.13 #include "syscall.h"
1.14 +#include "dreamcast.h"
1.15 #include "sh4/sh4core.h"
1.17 #define COMMAND_QUEUE_LENGTH 16
1.19 sh4r.r[0] = cmd->status;
1.20 if( cmd->status == GD_CMD_STATUS_ERROR &&
1.22 - mem_copy_to_sh4( sh4r.r[5], &cmd->result, sizeof(cmd->result) );
1.23 + mem_copy_to_sh4( sh4r.r[5], (char *)&cmd->result, sizeof(cmd->result) );
1.29 case 4: /* Drive status */
1.30 if( sh4r.r[4] != 0 ) {
1.31 - mem_copy_to_sh4( sh4r.r[4], &bios_gdrom_status,
1.32 + mem_copy_to_sh4( sh4r.r[4], (char *)&bios_gdrom_status,
1.33 sizeof(bios_gdrom_status) );