Only in w077: cfg Only in w077: extra Only in w077: hdcomp.exe Only in w077: ini diff -cr mame077/makefile w077/makefile *** mame077/makefile Mon Oct 27 01:52:14 2003 --- w077/makefile Thu Nov 13 22:02:38 2003 *************** *** 14,20 **** USE_CUSTOM_BUTTON=1 USE_INP_CAPTION=1 USE_AUTO_PAUSE_PLAYBACK=1 ! USE_NEOGEO_HACKS=1 # USE_UPX=1 # LAMER=1 --- 14,20 ---- USE_CUSTOM_BUTTON=1 USE_INP_CAPTION=1 USE_AUTO_PAUSE_PLAYBACK=1 ! #USE_NEOGEO_HACKS=1 # USE_UPX=1 # LAMER=1 Only in w077: mame.ini Only in w077: obj Only in w077: romcmp.exe diff -cr mame077/src/drivers/polyplay.c w077/src/drivers/polyplay.c *** mame077/src/drivers/polyplay.c Thu May 15 11:55:40 2003 --- w077/src/drivers/polyplay.c Thu Nov 13 20:49:58 2003 *************** *** 81,86 **** --- 81,87 ---- #include "driver.h" #include "vidhrdw/generic.h" #include "cpu/z80/z80.h" + #include "machine/random.h" /* video hardware access */ extern unsigned char *polyplay_characterram; *************** *** 268,274 **** static READ_HANDLER( polyplay_random_read ) { ! return rand() & 0xff; } /* graphic structures */ --- 269,275 ---- static READ_HANDLER( polyplay_random_read ) { ! return mame_rand() & 0xff; } /* graphic structures */ diff -cr mame077/src/drivers/psikyo.c w077/src/drivers/psikyo.c *** mame077/src/drivers/psikyo.c Thu May 15 11:55:46 2003 --- w077/src/drivers/psikyo.c Thu Nov 13 20:49:58 2003 *************** *** 1496,1502 **** /* basic machine hardware */ MDRV_CPU_ADD(M68EC020, 16000000) MDRV_CPU_MEMORY(psikyo_readmem,psikyo_writemem) ! MDRV_CPU_VBLANK_INT(irq1_line_hold,1) MDRV_CPU_ADD(Z80, 4000000) /* ! LZ8420M (Z80 core) ! */ MDRV_CPU_FLAGS(CPU_AUDIO_CPU) --- 1496,1502 ---- /* basic machine hardware */ MDRV_CPU_ADD(M68EC020, 16000000) MDRV_CPU_MEMORY(psikyo_readmem,psikyo_writemem) ! MDRV_CPU_VBLANK_INT(irq1_line_hold,2) MDRV_CPU_ADD(Z80, 4000000) /* ! LZ8420M (Z80 core) ! */ MDRV_CPU_FLAGS(CPU_AUDIO_CPU) diff -cr mame077/src/drivers/rohga.c w077/src/drivers/rohga.c *** mame077/src/drivers/rohga.c Fri Oct 17 07:25:30 2003 --- w077/src/drivers/rohga.c Thu Nov 13 20:49:58 2003 *************** *** 308,314 **** PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED ) ! PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_PLAYER2 ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_PLAYER2 ) PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_PLAYER2 ) --- 308,314 ---- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED ) ! PORT_BIT_IMPULSE( 0x0080, IP_ACTIVE_LOW, IPT_START1, 1 ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_PLAYER2 ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_PLAYER2 ) PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_PLAYER2 ) *************** *** 316,322 **** PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 ) PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 ) PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED ) ! PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START2 ) PORT_START PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) --- 316,322 ---- PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 ) PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 ) PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED ) ! PORT_BIT_IMPULSE( 0x8000, IP_ACTIVE_LOW, IPT_START2, 1 ) PORT_START PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) diff -cr mame077/src/inptport.c w077/src/inptport.c *** mame077/src/inptport.c Sun Nov 9 21:49:32 2003 --- w077/src/inptport.c Tue Nov 18 20:20:30 2003 *************** *** 39,44 **** --- 39,55 ---- extern void *playback; static int pback; + // W: game speed storage + extern unsigned short framer; + static unsigned short hold; + + // W: Average speed calculation + double speed_total; + unsigned int speed_counter; + + // W: For regular INP usage + int isnotwolf; + extern unsigned int dispensed_tickets; extern unsigned int coins[COIN_COUNTERS]; extern unsigned int lastcoin[COIN_COUNTERS]; *************** *** 2812,2824 **** if (playback && pback) { int i; ib=0; in = Machine->input_ports; in++; for (i = 0; i < MAX_INPUT_PORTS; i ++) { ! if(readword(playback,&input_port_value[i])) { pback = 0; usrintf_showmessage(_("End of playback")); #ifdef AUTO_PAUSE_PLAYBACK --- 2823,2836 ---- if (playback && pback) { int i; + short buf[MAX_INPUT_PORTS+1]; /* W: Buffer to read data into */ ib=0; in = Machine->input_ports; in++; for (i = 0; i < MAX_INPUT_PORTS; i ++) { ! if(readword(playback,&buf[i])) { pback = 0; usrintf_showmessage(_("End of playback")); #ifdef AUTO_PAUSE_PLAYBACK *************** *** 2827,2832 **** --- 2839,2848 ---- #endif /* AUTO_PAUSE_PLAYBACK */ break; } + else + { + input_port_value[i] = buf[i]; + } /* check if the input port includes an IPF_RESETCPU bit and reset the CPU on first "press", no need to check *************** *** 2848,2853 **** --- 2864,2883 ---- if (in->type == IPT_PORT) in++; } + // W: Read frame speed + if(isnotwolf == 0) + { + readword(playback,&buf[MAX_INPUT_PORTS]); + framer = buf[MAX_INPUT_PORTS]; + } + + // For average speed calculations + if(!mame_feof(playback)) + { + speed_counter++; + speed_total += (framer - 0x823e); + } + in = Machine->input_ports; in++; port = 0; *************** *** 2867,2882 **** } } ! #ifdef MESS ! inputx_update(input_port_value); ! #endif ! ! if (record) { int i; for (i = 0; i < MAX_INPUT_PORTS; i ++) writeword(record,input_port_value[i]); } #ifdef MAME_NET if ( net_active() && (default_player != NET_SPECTATOR) ) --- 2897,2911 ---- } } ! else if (record) { int i; for (i = 0; i < MAX_INPUT_PORTS; i ++) writeword(record,input_port_value[i]); + hold = 0x823e + framer; + writeword(record,hold); + } #ifdef MAME_NET if ( net_active() && (default_player != NET_SPECTATOR) ) Only in w077/src: inptport.c.orig diff -cr mame077/src/mame.c w077/src/mame.c *** mame077/src/mame.c Fri Oct 17 07:25:30 2003 --- w077/src/mame.c Thu Nov 13 20:49:58 2003 *************** *** 577,583 **** /* load the NVRAM now */ if (Machine->drv->nvram_handler) { ! if (record || playback) (*Machine->drv->nvram_handler)(0,0); else { --- 577,583 ---- /* load the NVRAM now */ if (Machine->drv->nvram_handler) { ! if ((record || playback) && !options.allownvram) (*Machine->drv->nvram_handler)(0,0); else { diff -cr mame077/src/mame.h w077/src/mame.h *** mame077/src/mame.h Sun Oct 26 21:54:14 2003 --- w077/src/mame.h Thu Nov 13 20:49:58 2003 *************** *** 270,275 **** --- 270,276 ---- #ifdef AUTO_PAUSE_PLAYBACK int auto_pause_playback; /* automatic pause after playback is finished */ #endif /* AUTO_PAUSE_PLAYBACK */ + int allownvram; /* allows NVRAM to be used when recording or playing INPs */ }; Only in w077/src: mame.h.orig diff -cr mame077/src/osdepend.h w077/src/osdepend.h *** mame077/src/osdepend.h Sat Aug 9 01:53:02 2003 --- w077/src/osdepend.h Thu Nov 13 20:49:58 2003 *************** *** 274,280 **** { char name[9]; /* 8 bytes for game->name + NUL */ char version[3]; /* byte[0] = 0, byte[1] = version byte[2] = beta_version */ ! char reserved[20]; /* for future use, possible store game options? */ } INP_HEADER; --- 274,286 ---- { char name[9]; /* 8 bytes for game->name + NUL */ char version[3]; /* byte[0] = 0, byte[1] = version byte[2] = beta_version */ ! char options; /* Store some options */ ! char fskip; /* Store fskip value */ ! char reserved[2]; /* for future use, possible store game options? */ ! INT64 spd; /* recorded clock speed */ ! long timestamp; /* date/time INP was started */ ! char reserved2[2]; ! unsigned short check; /* checksum */ } INP_HEADER; diff -cr mame077/src/usrintrf.c w077/src/usrintrf.c *** mame077/src/usrintrf.c Wed Nov 12 10:56:04 2003 --- w077/src/usrintrf.c Thu Nov 13 20:53:32 2003 *************** *** 28,34 **** #include "sound/logwave.h" #endif /* LOGWAVE */ ! /*************************************************************************** --- 28,36 ---- #include "sound/logwave.h" #endif /* LOGWAVE */ ! // W: for speed storage ! extern void* record; ! extern unsigned short framer; /*************************************************************************** *************** *** 5434,5440 **** "Press Select key/button to quit,\n" "Cancel key/button to continue."; ! if (!options.confirm_quit) return 1; while (1) --- 5436,5442 ---- "Press Select key/button to quit,\n" "Cancel key/button to continue."; ! if (!options.confirm_quit || record) return 1; while (1) *************** *** 5611,5624 **** if (input_ui_pressed(IPT_UI_RESET_MACHINE)) machine_reset(); ! if (input_ui_pressed(IPT_UI_SAVE_STATE)) do_loadsave(bitmap, LOADSAVE_SAVE); ! if (input_ui_pressed(IPT_UI_LOAD_STATE)) do_loadsave(bitmap, LOADSAVE_LOAD); #ifndef MESS ! if (auto_pause || single_step || input_ui_pressed(IPT_UI_PAUSE)) /* pause the game */ { #else if (setup_selected) --- 5613,5626 ---- if (input_ui_pressed(IPT_UI_RESET_MACHINE)) machine_reset(); ! if (input_ui_pressed(IPT_UI_SAVE_STATE) && !record) do_loadsave(bitmap, LOADSAVE_SAVE); ! if (input_ui_pressed(IPT_UI_LOAD_STATE) && !record) do_loadsave(bitmap, LOADSAVE_LOAD); #ifndef MESS ! if ((auto_pause || single_step || input_ui_pressed(IPT_UI_PAUSE)) && !record) /* pause the game */ { #else if (setup_selected) *************** *** 5694,5707 **** } } ! if (input_ui_pressed(IPT_UI_SAVE_STATE)) do_loadsave(bitmap, LOADSAVE_SAVE); ! if (input_ui_pressed(IPT_UI_LOAD_STATE)) do_loadsave(bitmap, LOADSAVE_LOAD); /* if the user pressed F4, show the character set */ ! if (input_ui_pressed(IPT_UI_SHOW_GFX)) showcharset(bitmap); if (setup_selected == 0 && input_ui_pressed(IPT_UI_CANCEL)) --- 5696,5709 ---- } } ! if (input_ui_pressed(IPT_UI_SAVE_STATE) && !record) do_loadsave(bitmap, LOADSAVE_SAVE); ! if (input_ui_pressed(IPT_UI_LOAD_STATE) && !record) do_loadsave(bitmap, LOADSAVE_LOAD); /* if the user pressed F4, show the character set */ ! if (input_ui_pressed(IPT_UI_SHOW_GFX) && !record) showcharset(bitmap); if (setup_selected == 0 && input_ui_pressed(IPT_UI_CANCEL)) *************** *** 5837,5842 **** --- 5839,5851 ---- if (show_profiler) profiler_show(bitmap); + /* W: Store speed */ + if(record) + { + const struct performance_info *performance = mame_get_performance_info(); + + framer = (int)(performance->game_speed_percent + 0.5); + } /* show FPS display? */ if (input_ui_pressed(IPT_UI_SHOW_FPS)) *************** *** 5847,5853 **** /* if the user pressed F4, show the character set */ ! if (input_ui_pressed(IPT_UI_SHOW_GFX)) { osd_sound_enable(0); --- 5856,5862 ---- /* if the user pressed F4, show the character set */ ! if (input_ui_pressed(IPT_UI_SHOW_GFX) && !record) { osd_sound_enable(0); *************** *** 5856,5862 **** osd_sound_enable(1); } ! if (input_ui_pressed(IPT_UI_TOGGLE_AUTOFIRE)) { extern void toggle_autofire(void); --- 5865,5871 ---- osd_sound_enable(1); } ! if (input_ui_pressed(IPT_UI_TOGGLE_AUTOFIRE) && !record) { extern void toggle_autofire(void); Only in w077/src: usrintrf.c.orig Only in w077/src: usrintrf.c.rej diff -cr mame077/src/windows/config.c w077/src/windows/config.c *** mame077/src/windows/config.c Sun Oct 26 15:31:52 2003 --- w077/src/windows/config.c Tue Nov 18 22:15:34 2003 *************** *** 35,40 **** --- 35,41 ---- #include "video.h" #include "fileio.h" #include "ui_lang.h" + #include extern struct rc_option frontend_opts[]; extern struct rc_option fileio_opts[]; *************** *** 52,57 **** --- 53,62 ---- extern int frontend_help(char *gamename); static int config_handle_arg(char *arg); + cycles_t get_cycles(void); + extern int win_high_priority; + extern int frameskip; + static FILE *logfile; static int maxlogsize; static int curlogsize; *************** *** 103,108 **** --- 108,116 ---- static char *langname; + // W: for regular INP usage + extern int isnotwolf; + static int video_set_beam(struct rc_option *option, const char *arg, int priority) { options.beam = (int)(f_beam * 0x00010000); *************** *** 239,245 **** { "use_bezels", "bezel", rc_bool, &use_bezels, "1", 0, 0, NULL, "use bezel artwork" }, { "artwork_crop", "artcrop", rc_bool, &options.artwork_crop, "0", 0, 0, NULL, "crop artwork to " GAMENOUN " screen only" }, { "artwork_resolution", "artres", rc_int, &options.artwork_res, "0", 0, 0, NULL, "artwork resolution (0 for auto)" }, ! { "cheat", "c", rc_bool, &options.cheat, "1", 0, 0, NULL, "enable/disable cheat subsystem" }, { "debug", "d", rc_bool, &options.mame_debug, "0", 0, 0, NULL, "enable/disable debugger (only if available)" }, { "playback", "pb", rc_string, &playbackname, NULL, 0, 0, NULL, "playback an input file" }, { "record", "rec", rc_string, &recordname, NULL, 0, 0, NULL, "record an input file" }, --- 247,253 ---- { "use_bezels", "bezel", rc_bool, &use_bezels, "1", 0, 0, NULL, "use bezel artwork" }, { "artwork_crop", "artcrop", rc_bool, &options.artwork_crop, "0", 0, 0, NULL, "crop artwork to " GAMENOUN " screen only" }, { "artwork_resolution", "artres", rc_int, &options.artwork_res, "0", 0, 0, NULL, "artwork resolution (0 for auto)" }, ! { "cheat", "c", rc_bool, &options.cheat, "0", 0, 0, NULL, "enable/disable cheat subsystem" }, { "debug", "d", rc_bool, &options.mame_debug, "0", 0, 0, NULL, "enable/disable debugger (only if available)" }, { "playback", "pb", rc_string, &playbackname, NULL, 0, 0, NULL, "playback an input file" }, { "record", "rec", rc_string, &recordname, NULL, 0, 0, NULL, "record an input file" }, *************** *** 264,272 **** #endif /* TRANS_UI */ //ks hcmame s switch m68k core #if (HAS_M68000 || HAS_M68010 || HAS_M68EC020 || HAS_M68020) ! { "m68k_c_core", "m68c", rc_bool, &options.m68k_c_core, "0", 0, 0, NULL, "change m68000 & m68010 core" }, #endif /* (HAS_M68000 || HAS_M68010 || HAS_M68EC020 || HAS_M68020) */ //ks hcmame e switch m68k core #ifdef UI_COLOR_DISPLAY /* palette */ { NULL, NULL, rc_link, palette_opts, NULL, 0, 0, NULL, NULL }, --- 272,281 ---- #endif /* TRANS_UI */ //ks hcmame s switch m68k core #if (HAS_M68000 || HAS_M68010 || HAS_M68EC020 || HAS_M68020) ! { "m68k_c_core", "m68c", rc_bool, &options.m68k_c_core, "1", 0, 0, NULL, "change m68000 & m68010 core" }, #endif /* (HAS_M68000 || HAS_M68010 || HAS_M68EC020 || HAS_M68020) */ //ks hcmame e switch m68k core + { "allownvram", "allownv", rc_bool, &options.allownvram, "0", 0, 0, NULL, "Allow the use of NVRAM when recording or playing back INPs" }, #ifdef UI_COLOR_DISPLAY /* palette */ { NULL, NULL, rc_link, palette_opts, NULL, 0, 0, NULL, NULL }, *************** *** 567,576 **** --- 576,627 ---- if (options.playback) { INP_HEADER inp_header; + int a; + unsigned short chk = 0; + short* ptr; /* read playback header */ + isnotwolf = 0; mame_fread(options.playback, &inp_header, sizeof(INP_HEADER)); + if (inp_header.version[0] != 'W' || inp_header.version[1] < 72) + { + fprintf(stderr,"Not a WolfMAME Plus 0.72 or later INP file\n"); + isnotwolf = 1; + } + if(isnotwolf == 0) + { + if(inp_header.version[2] != 0) + printf(_WINDOWS("Recorded in WolfMAME 0.%iu%i\n"),inp_header.version[1],inp_header.version[2]); + else + printf(_WINDOWS("Recorded in WolfMAME 0.%i\n"),inp_header.version[1]); + + printf(_WINDOWS("Recorded system's speed = ~%I64iMHz\n"),(inp_header.spd / 1000000)); + + if(inp_header.options & 0x02) + { + printf(_WINDOWS("This recording was made with the C 68k core enabled\n")); + options.m68k_c_core = 1; + } + else + { + printf(_WINDOWS("This recording was made with the ASM 68k core enabled\n")); + options.m68k_c_core = 0; + } + + if(inp_header.options & 0x01) + printf(_WINDOWS("This recording has cheats enabled\n")); + printf("Start date of recording: %s\n",ctime(&inp_header.timestamp)); + + (INP_HEADER*)ptr = &inp_header; + for(a=0;a<14;a++) + chk+=(short)*(ptr+a); + if(inp_header.check != chk) + printf(_WINDOWS("Check failed. Expected %04x, found %04x\n"),chk,inp_header.check); + else + printf(_WINDOWS("Checks out OK. [%04x]\n"),chk); + } + if (!isalnum(inp_header.name[0])) /* If first byte is not alpha-numeric */ mame_fseek(options.playback, 0, SEEK_SET); /* old .inp file - no header */ else *************** *** 698,703 **** --- 749,758 ---- if (options.record) { INP_HEADER inp_header; + cycles_t a,b; + int start,end,priority; + unsigned short chk = 0; + short* ptr; memset(&inp_header, '\0', sizeof(INP_HEADER)); strcpy(inp_header.name, drivers[game_index]->name); *************** *** 710,715 **** --- 765,812 ---- inp_header.version[1] = VERSION; inp_header.version[2] = BETA_VERSION; */ + inp_header.version[0] = 'W'; + inp_header.version[1] = 77; + inp_header.version[2] = 0; + + inp_header.options = 0; + inp_header.options += options.cheat; + inp_header.options += options.m68k_c_core*2; + inp_header.fskip = frameskip; + + // temporarily set our priority higher + priority = GetThreadPriority(GetCurrentThread()); + SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL); + + // wait for an edge on the timeGetTime call + start = timeGetTime(); + do + { + end = timeGetTime(); + } while (start == end); + + a = get_cycles(); + // now wait for 1/4 second total + do + { + start = timeGetTime(); + } while (start - end < 250); + b = get_cycles(); + + // restore our priority + // raise it if the config option is set and the debugger is not active + if (win_high_priority && !options.mame_debug && priority == THREAD_PRIORITY_NORMAL) + priority = THREAD_PRIORITY_ABOVE_NORMAL; + SetThreadPriority(GetCurrentThread(), priority); + + inp_header.spd = (b - a)* 4; + inp_header.timestamp = (long)time(NULL); + + (INP_HEADER*)ptr = &inp_header; + for(a=0;a<14;a++) + chk+=(short)*(ptr+a); + inp_header.check = chk; + mame_fwrite(options.record, &inp_header, sizeof(INP_HEADER)); } *************** *** 1002,1004 **** --- 1099,1115 ---- return newname; } + + // copied for use here. + cycles_t get_cycles(void) + { + INT64 result; + + // use RDTSC + __asm__ __volatile__ ( + "rdtsc" + : "=A" (result) + ); + + return result; + } Only in w077/src/windows: config.c.orig diff -cr mame077/src/windows/video.c w077/src/windows/video.c *** mame077/src/windows/video.c Thu Oct 16 23:25:34 2003 --- w077/src/windows/video.c Tue Nov 18 21:54:28 2003 *************** *** 41,46 **** --- 41,54 ---- // from wind3dfx.c extern struct rc_option win_d3d_opts[]; + // W: From window.c + extern unsigned short framer; + extern void* record; + extern void* playback; + extern double speed_total; + extern unsigned int speed_counter; + + extern int isnotwolf; //============================================================ *************** *** 572,577 **** --- 580,587 ---- { cycles_t cps = osd_cycles_per_second(); printf(_WINDOWS("Average FPS: %f (%d frames)\n"), (double)cps / (end_time - start_time) * frames_displayed, frames_displayed); + if(playback && isnotwolf == 0) + printf(_WINDOWS("Average recorded speed: %f%% (%d total frames)\n"),speed_total / speed_counter, speed_counter); } } *************** *** 619,624 **** --- 629,638 ---- { dest += sprintf(dest, "\n %d partial updates", performance->partial_updates_this_frame); } + if(playback && !mame_feof(playback) && isnotwolf == 0) + { + dest += sprintf(dest, "\n Recorded speed: %4u%%",framer - 0x823e); + } /* return a pointer to the static buffer */ return buffer; *************** *** 686,692 **** } // toggle throttle? ! if (input_ui_pressed(IPT_UI_THROTTLE)) { throttle ^= 1; --- 700,706 ---- } // toggle throttle? ! if (input_ui_pressed(IPT_UI_THROTTLE) && !record) { throttle ^= 1; diff -cr mame077/src/windows/window.c w077/src/windows/window.c *** mame077/src/windows/window.c Sun Nov 2 22:23:24 2003 --- w077/src/windows/window.c Thu Nov 13 20:50:00 2003 *************** *** 132,137 **** --- 132,139 ---- int win_physical_width; int win_physical_height; + // W: speed storage + unsigned short framer; //============================================================ diff -cr mame077/src/windows/windows.mak w077/src/windows/windows.mak *** mame077/src/windows/windows.mak Sun Oct 26 14:35:04 2003 --- w077/src/windows/windows.mak Thu Nov 13 22:06:26 2003 *************** *** 105,111 **** # add our prefix files to the mix (we need -Wno-strict-aliasing for DirectX) ifdef USE_GCC CFLAGS += -mwindows -include src/$(MAMEOS)/winprefix.h ! CFLAGSOSDEPEND += -Wno-strict-aliasing CFLAGS += -include src/$(MAMEOS)/winprefix.h else CFLAGS += /FI"windows/winprefix.h" --- 105,111 ---- # add our prefix files to the mix (we need -Wno-strict-aliasing for DirectX) ifdef USE_GCC CFLAGS += -mwindows -include src/$(MAMEOS)/winprefix.h ! # CFLAGSOSDEPEND += -Wno-strict-aliasing CFLAGS += -include src/$(MAMEOS)/winprefix.h else CFLAGS += /FI"windows/winprefix.h" Only in w077: unicows.dll Only in w077: wolfmameplus-077-2.zip Only in w077: wolfmameplus-077.zip Only in w077: wolfmameplus.txt Only in w077: wolfpatch.diff Only in w077: xml2info.exe