Commit Graph

1056 Commits

Author SHA1 Message Date
OskarSigvardsson
2b2c668d4f Use proper filter instead of prefix to filter file lists
Added a new argument to ScanDirectory, a "filter" parameter. If it exists, it
will filter items regardless of where in the filename the filter appears (not
just in the beginning, as with the prefix). So if you type "ADV" as the filter,
both "Advance Wars" as well as "Ace Combat Advance" will pass through
2020-07-02 23:41:38 +08:00
OskarSigvardsson
6bac0b2eeb Implemented type-to-filter functionality in long game lists
Previously, when you started typing the name of a game in the long list of
games, it would jump to each successive letter you typed. So if you wanted to
play "Crash Bandicoot" on the GBA, and you started typing "CRA" on the keyboard,
the menu would first jump to C, then R, then A. This is almost certainly not
what you want, and not standard UX for these kinds of long lists.

This commit changes the behaviour to filter the list based on what you've typed.
So if you type "CRA", it will only show games beginning with "CRA". If you wish
to clear the filter, you can do so with backspace. Also: if you don't type for a
little bit (currently 2000 ms), it will also clear the prefix the next time you
start typing.

The functionality is implemented using the "prefix" argument to ScanDirectory.
2020-07-02 07:14:53 +08:00
sorgelig
e1f2c7879e minimig: fix zip handling in shared folder. 2020-07-02 03:05:22 +08:00
Sergey Dvodnenko
cd06931a9b pcecd: read 256 sectors when length is 0 (Kabuki Itouryodan). 2020-07-01 23:50:51 +08:00
sorgelig
4102c97ac9 Release 20200701. 2020-07-01 17:38:01 +08:00
sorgelig
a610b13afd mininig: fix path handling in shared folder. 2020-07-01 16:30:43 +08:00
sorgelig
00950c2232 Some updates in OSD. 2020-07-01 16:29:02 +08:00
sorgelig
b21b4fa526 input: some cleanup. 2020-07-01 05:10:45 +08:00
sorgelig
e0a2e55341 input: use both phys and uniq fields fro ID. 2020-07-01 01:26:31 +08:00
sorgelig
576a1292d9 input: improve map show cases. 2020-07-01 01:08:10 +08:00
sorgelig
dcdc879a61 input: better ID handling for prohibited to merge devices. 2020-07-01 00:04:39 +08:00
sorgelig
2687d3e6f3 input: better unique identification to preserve the player assignment. 2020-06-30 21:49:24 +08:00
sorgelig
5642ca5613 minimig: mouse wheel support. 2020-06-30 08:18:46 +08:00
sorgelig
7b2e25404a input: support skip in keyboard definition (for pseudo-keyboard devices). 2020-06-30 03:59:18 +08:00
sorgelig
4bfd1378a3 input: assign joystick to player only when button 'A' is pressed. 2020-06-30 02:27:21 +08:00
sorgelig
ef791f0a54 Release 20200629. 2020-06-29 23:59:16 +08:00
sorgelig
1f9935d080 minimig: support for shared folder. 2020-06-29 08:19:25 +08:00
sorgelig
4b6a27750e file_io: fixes and tweaks. 2020-06-29 08:15:38 +08:00
sorgelig
6c844a9584 atarist: move core-specific defines to core support code. 2020-06-29 08:11:34 +08:00
sorgelig
4297706e61 input: do not display map if empty. 2020-06-23 14:26:10 +08:00
sorgelig
467744346b OSD: fix items bellow the DIP if it's absent. 2020-06-23 12:16:24 +08:00
sorgelig
eb8690f7f0 OSD: prevent tricgger back button after unmounting key combo. 2020-06-23 03:50:47 +08:00
sorgelig
65df9187a4 atarist: enable recent menu for floppy/hdd/cart. 2020-06-23 03:49:46 +08:00
sorgelig
e8b8e87543 megacd: support subfolders with cd_bios.rom per folder. 2020-06-23 02:54:36 +08:00
sorgelig
a7f472e1af input: KEY_102ND - 0x61 2020-06-23 00:04:23 +08:00
sorgelig
87c574bec2 Release 20200622. 2020-06-22 17:23:28 +08:00
sorgelig
910842524f Reboot option for Menu core. 2020-06-22 17:10:32 +08:00
sorgelig
03d824a6b3 input: restore player gamepad after input devices re-enumeration. 2020-06-22 16:57:16 +08:00
sorgelig
fed7cae7a3 atarist: unmount floppies on cold reboot. 2020-06-22 13:30:38 +08:00
sorgelig
e426de98f4 OSD: support increase/decrease options where possible. 2020-06-21 06:16:12 +08:00
sorgelig
d70dc9de5d OSD: remember last opened settings page. 2020-06-20 20:29:13 +08:00
sorgelig
9c96ed8205 OSD: fill th header while waiting for USB. 2020-06-20 18:56:28 +08:00
sorgelig
29605b28f8 OSD: option for config switch. access misc.option from Menu core. 2020-06-20 18:15:27 +08:00
sorgelig
191a051270 Add audio filter samples. 2020-06-18 20:59:16 +08:00
sorgelig
eaa34ee99e Release 20200618. 2020-06-18 20:51:29 +08:00
sorgelig
19cf3890d5 INI option to disable logo in Menu core. 2020-06-18 10:54:38 +08:00
sorgelig
176369ab1f audio: use filter (if available) for per-core attenuation. 2020-06-17 23:57:39 +08:00
sorgelig
0e19e58ef0 Support for custom audio filters. 2020-06-13 22:33:54 +08:00
sorgelig
76577e6b29 Release 20200608. 2020-06-08 22:30:00 +08:00
sorgelig
6d4ea9983a input: merge jammasd and jpac/ipac into a common option. 2020-06-08 22:28:18 +08:00
bdlou
ee0f873081 Add J-PAC/I-PAC support
* Update cfg.cpp

* Update cfg.h

* Update input.cpp

Add support for J-PAC/I-PAC

* Update MiSTer.ini

Added J-PAC/I-PAC VID/PIDs to ini
2020-06-08 21:49:31 +08:00
sorgelig
4b3c057abd Fix expanded view in Menu core, don't scroll in expanded view if less than 3 lines. 2020-06-08 19:25:20 +08:00
sorgelig
0d4150617e Per-core volume attenuation. 2020-06-08 17:59:50 +08:00
sorgelig
cb9882203d Fix and tweak bootcore feature. 2020-06-08 07:22:05 +08:00
sorgelig
5d82b8e7d1 megacd: don't reset the core and don't loose the save upon disks swap of the same game. 2020-06-08 04:26:41 +08:00
sorgelig
f40a245f95 minimig: use fast io for HDD transfer. 2020-06-08 02:26:53 +08:00
sorgelig
06b7641eab Release 20200606. 2020-06-06 03:14:50 +08:00
sorgelig
bcff26e588 pcecd: detect US BIOS even if not bitswapped. 2020-06-03 22:25:00 +08:00
sorgelig
6c95f84fea megacd: re-open browser on folder name instead of cue. 2020-06-03 00:46:43 +08:00
sorgelig
bd7b333fa8 Release 20200602. 2020-06-02 20:33:08 +08:00