Previous 199869 Revisions Next

r31592 Sunday 10th August, 2014 at 14:23:46 UTC by Phil Bennett
05637: gauntdl, gauntdl24: Emulation hangs after initialization [Phil Bennett]

This reverts r31185 (oliverst: more passing of attotime as const references). flush_fifos() is the problem here. If anybody knows why, I'd love to know. -nw-
[src/emu/video]voodoo.c

trunk/src/emu/video/voodoo.c
r31591r31592
205205static void init_tmu(voodoo_state *v, tmu_state *t, voodoo_reg *reg, void *memory, int tmem);
206206static void soft_reset(voodoo_state *v);
207207static void recompute_video_memory(voodoo_state *v);
208static void check_stalled_cpu(voodoo_state *v, const attotime &current_time);
209static void flush_fifos(voodoo_state *v, const attotime &current_time);
208static void check_stalled_cpu(voodoo_state *v, attotime current_time);
209static void flush_fifos(voodoo_state *v, attotime current_time);
210210static TIMER_CALLBACK( stall_cpu_callback );
211static void stall_cpu(voodoo_state *v, int state, const attotime &current_time);
211static void stall_cpu(voodoo_state *v, int state, attotime current_time);
212212static TIMER_CALLBACK( vblank_callback );
213213static INT32 register_w(voodoo_state *v, offs_t offset, UINT32 data);
214214static INT32 lfb_w(voodoo_state *v, offs_t offset, UINT32 data, UINT32 mem_mask, int forcefront);
r31591r31592
21082108}
21092109
21102110
2111static void check_stalled_cpu(voodoo_state *v, const attotime &current_time)
2111static void check_stalled_cpu(voodoo_state *v, attotime current_time)
21122112{
21132113   int resume = FALSE;
21142114
r31591r31592
21622162}
21632163
21642164
2165static void stall_cpu(voodoo_state *v, int state, const attotime &current_time)
2165static void stall_cpu(voodoo_state *v, int state, attotime current_time)
21662166{
21672167   /* sanity check */
21682168   if (!v->pci.op_pending) fatalerror("FIFOs not empty, no op pending!\n");
r31591r31592
34213421 *
34223422 *************************************/
34233423
3424static void flush_fifos(voodoo_state *v, const attotime &current_time)
3424static void flush_fifos(voodoo_state *v, attotime current_time)
34253425{
34263426   static UINT8 in_flush;
34273427

Previous 199869 Revisions Next


© 1997-2024 The MAME Team