mame/src
Aaron Giles 2ca316ec14 From: Pugsy [pugsy@gmx.net]
Sent: Thursday, September 10, 2009 7:10 AM
To: submit@mamedev.org
Cc: upstephh_wip@yahoo.com
Subject: Quick fix for the F6 toggle

Hi

My last diff got altered before getting included, I appreciate this would likely get done (and many
thanks for doing it) but it did lose the F6 functionality when a cheat was selected. Eg. if you have
the cursor bar over Infinite Time then F6 will not work. My original solution using numbered calls
was not ideal but it did work, I'd spent ages trying to find the appropriate routine to call without
joy. Annoyingly I just tried again with 0.134 and it took less than 5 minutes to fix it
properly....DOH!!!

Anyway I've attached a simple one-line diff for 0.134 to hook up F6 wherever the cursor bar is on
the cheat menu screens.

It just changes this in uimenu.c.:-

-       if (exclusive_input_pressed(menu, IPT_UI_TOGGLE_CHEAT, 0))
+       if (ui_input_pressed_repeat(menu->machine, IPT_UI_TOGGLE_CHEAT, 0))


Martin 'Pugsy' Pugh
2009-09-21 08:45:59 +00:00
..
build Added casts to ensure proper values are passed to the ctype.h functions. 2009-06-25 08:04:39 +00:00
emu From: Pugsy [pugsy@gmx.net] 2009-09-21 08:45:59 +00:00
ldplayer > -----Original Message----- 2009-08-13 04:55:32 +00:00
lib Cleanups and version bump. 2009-09-10 08:39:42 +00:00
mame zaccaria.c 2009-09-20 23:37:43 +00:00
osd Rename osd_profiling_ticks() to get_profile_ticks(). Moved implemention into 2009-09-06 23:30:26 +00:00
tools > From: Atari Ace [mailto:atari_ace@verizon.net] 2009-09-10 08:35:37 +00:00
version.c Cleanups and version bump. 2009-09-10 08:39:42 +00:00