1.1 --- a/src/modules.h Sun Dec 25 01:28:39 2005 +0000
1.2 +++ b/src/modules.h Sun Dec 25 08:24:11 2005 +0000
1.5 + * $Id: modules.h,v 1.5 2005-12-25 05:56:55 nkeynes Exp $
1.7 + * Internal dreamcast module structure definition and associated variables.
1.8 + * Included by all module implementations
1.10 + * Copyright (c) 2005 Nathan Keynes.
1.12 + * This program is free software; you can redistribute it and/or modify
1.13 + * it under the terms of the GNU General Public License as published by
1.14 + * the Free Software Foundation; either version 2 of the License, or
1.15 + * (at your option) any later version.
1.17 + * This program is distributed in the hope that it will be useful,
1.18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.20 + * GNU General Public License for more details.
1.23 #ifndef dreamcast_modules_H
1.24 #define dreamcast_modules_H 1
1.26 +#include <stdint.h>
1.33 * Execute one time-slice worth of operations, for the given number of
1.36 + * @return Number of nanoseconds actually executed
1.38 - int (*run_time_slice)( int microsecs );
1.39 + uint32_t (*run_time_slice)( uint32_t nanosecs );
1.41 * Set the module into a stopped state (may be NULL)