Commit Graph

314 Commits

Author SHA1 Message Date
zakk4223
7f57504f92 Screenshot: don't squish video when it is rotated (#929) 2024-11-14 19:07:04 +08:00
paulb-nl
425780205a Minor: N64 fix include path. SNES load rom with index 0 only (#921) 2024-10-03 14:34:28 +08:00
deepthaw
03f62ded4c Change in handling overlapping button presses (fixes issue #824) (#907)
* Modifications to input handling to prevent held inputs from being
overridden by an alternate input mapped to the same button.
i.e. R-Type holding fire to charge special shot will not be
disrupted if a secondary fire button is pressed, autofire
or not.

* Modifications to input handling to prevent held inputs from being overridden by an alternate input mapped to the same button.
i.e. R-Type holding fire to charge special shot will not be
disrupted if a secondary fire button is pressed, autofire
or not.

* Prevent held inputs from being disrupted by alternate inputs.

i.e. in R-Type, if holding the fire button to charge a special shot,
tapping an alternately assigned fire button will not cause the charge
to stop.
2024-06-30 15:02:49 +08:00
Sorgelig
77b41d0c6a MGL/MRA: add same_dir attribute for setname. 2024-03-26 01:11:12 +08:00
Sorgelig
e61b111858 Add INI option Main for custom binary. 2024-03-25 23:36:19 +08:00
Sorgelig
9e27f4792f print analog/digital board type. 2024-03-25 19:25:31 +08:00
Zakk
9d7f739e34 PSX: match user_io buffer size to chd hunk size 2024-03-12 19:53:45 -04:00
Rikard Bengtsson
6ab4f0036f N64: Software cheats (#882)
* N64: Implement cheats

* Remove unused function

* Corrected byte mask condition (skip if 0xffffffff)

* Meow

* Final changes to make the parser compatible with gamehacking.org's cheat files.

* Revert back to old pointer convention.
2024-03-07 19:39:20 +08:00
Rikard Bengtsson
9ba9b7febd N64: Push transfer pak save data directly to GAMEBOY folder (#871)
* N64: Implement improved save handling for Transfer Pak games.
2024-02-03 23:47:53 +08:00
Sorgelig
0419387578 video: support for direct_video=2 mode (experimental). 2023-12-20 21:37:55 +08:00
Sorgelig
4483501011 user_io: don't waste time for crc32 if cheats aren't used. 2023-12-17 00:14:34 +08:00
Rikard Bengtsson
e9340593f4 N64 improvements, save files (#859)
N64 improvements. Split N64 save files into eep, sra, fla, mpk and tpk files.
Add "wide" tag detection to database, auto-switches to widescreen if found.
Prioritize N64-database_user.txt, so that people can override games already in the regular database file.
Honor order that rpak, cpak and tpak are written in database, for p1 controller.
2023-12-05 20:55:12 +08:00
Hans Larsen
626788a319 Fix: when extensions are less than 3 characters send NUL (#849)
* Fix: when extensions are less than 3 characters send NUL

Currently if the extension is less than 3 characters the last characters
of the filename will be sent to the FPGA. These are not consistent and
would not help the core establish what kind of file it is.

There are few ROMs with less than 3 characters, but they do exist (e.g.
.ws for WonderSwan). It is unclear reading the code how those are
handled outside of this specific function.

## Security considerations
This does not fix a buffer overflow as the code to get there would fail
if the complete filename would be less than 4 characters (e.g. the root
filesystem is read only).

## Testing
This has been tested with the happy path; the code at least works with
current files.

* Apply comment
2023-11-10 03:48:40 +08:00
Sorgelig
4fab9a5aa7 IDE support for Uneon core. 2023-10-24 22:36:22 +08:00
Sorgelig
203c8a92c4 user_io: improved persistent file loading. Don't load boot.rom if user choose specific persistent file. 2023-09-10 00:55:40 +08:00
Marcoen Hirschberg
aa76842194 N64 loading improvements (#804)
* add n64 type

* use a custom loader for N64

This loader:
- converts little-endian and byte-swapped ROMs
- auto-detects ROM properties, this requires a N64-database.txt file in
  the N64 games folder
2023-08-18 19:27:46 +08:00
Sorgelig
61611e0b55 Cleanup from unused code. 2023-08-17 00:05:44 +08:00
Sorgelig
97472bc5e9 ide_cdrom: fixes and tweaks. 2023-08-16 23:16:29 +08:00
zakk4223
b29ceebf20 ide: cd audio (#800)
Co-authored-by: Zakk <zakk@rsdio.com>
2023-08-16 03:08:35 +08:00
Callan Barrett
45e46704a8 Write original core name to tmp file RBFNAME (#798)
* Write original core name to tmp

* Use more appropriate function to get original core name
2023-08-14 06:11:32 +08:00
Sorgelig
70645f505c Display INI selection menu. 2023-07-07 23:01:06 +08:00
Sorgelig
2fb0d7b0c7 Switch to main INI if OSD button is pressed on boot. 2023-07-07 00:28:20 +08:00
paulb-nl
646f96c395 Add NeoGeo CD support (#767)
support/megacdd: add Play track command for Neo Geo

neocd: use separate index for audio
2023-04-06 23:27:39 +08:00
Sorgelig
b5ea246ffe Add v option to CONF_STR. 2023-03-08 01:57:51 +08:00
MikeS11
60c9f806ea Video: Y/C Update (#743)
Update Y/C Parser
- Added the Y/C tuned phase inc's into the yc.txt file.
- Fixed an issue with the parser handling spaces in the core name
Removed force SOG on CVBS / SVIDEO Modes
2023-02-19 04:22:32 +08:00
Erik Scheffers
52237c4d36 C128: Extend C64 disk routines to support 1571 drive (dual-sided disks and MFM formats) (#742)
* C128: add support for .d71 and .g71 disk images

* C128: add creating or resizing tracks in .g64/.g71 images

* C128: change "1571" flag from bit 8 of lba to bit 10

* C128: fix second side of d71 images

* C128: small fix for gcr track end position detection

* C128: set track speed to 8 for MFM tracks

* C128: provide detected disk image type to core

* C128: add bit to indicate disk image GCR support
2023-02-15 22:49:01 +08:00
Sorgelig
8d735d4e77 Add control for S-Video/CVBS module. Add vga_mode parameter into INI. 2023-02-08 10:22:50 +08:00
Sorgelig
f95046edaf Debug print of current config. 2022-11-24 20:52:05 +08:00
Aitor Gómez
f202336c36 pcxt: Overrides Win hotkey in the core (#708) 2022-11-14 00:45:25 +08:00
Sorgelig
434cce3a14 input: fix ALT/GUI sticky keys when OSD opened. 2022-11-13 08:33:36 +08:00
Sorgelig
9b64fb67f2 input: prevent key releases and F12 code from passing to core when OSD is opened. 2022-11-13 08:06:23 +08:00
Sorgelig
aee51e107d x86: some fixes and tweaks after merge. 2022-11-11 18:27:35 +08:00
Aitor Gómez
598e3d755f pcxt: HDD support, based on AO486 (#706) 2022-11-11 17:46:18 +08:00
Sorgelig
62375504aa atarist: update cartridge support. 2022-10-07 23:54:43 +08:00
Aitor Gómez
d0961588e1 pcxt: FDD support, based on AO486 (#700) 2022-10-06 14:39:33 +08:00
Martin Donlon
801a5ea0d2 If errors are detected in INI settings display an info message for 5 seconds at core startup. (#696)
Added `cfg_error` function for reporting errors in the ini.
Report errors when parsing video_mode information.
Report out of bounds settings.
Report unknown settings.
Detect numeric parse failures.
2022-09-25 04:32:39 +08:00
Martin Donlon
a845f8407f video: Add support for [arcade_vertical] section (#691) 2022-09-11 15:12:46 +08:00
Sorgelig
6df55ba7f9 Reset for is_pcxt_type. 2022-08-19 22:58:38 +08:00
Aitor Gómez
06818963db Add pcxt project (#679)
Initially, with serdrive as HDD/FDD image server, only active when starting the PCXT core, never on other cores.
2022-08-17 16:29:21 +08:00
Martin Donlon
ad695d0848 Video mode switching optimizations.
Reduce cost of setting video mode information when using
vsync_adjust=1/2 or vscale_mode=4/5 from 90ms to 5ms (worst case, most
instances are less than 1ms).

Split video initialization into video_init and video_set_mode.
video_init is called once, video_set_mode is called whenever the mode
changes.

Split hdmi_config into hdmi_config_init and hdmi_config_set_mode. Same
as video_, hdmi_config_init does the bulk of the initialization,
hdmi_config_set_mode is just for parameters that can change based on the
mode.

Load video filter data in loadScalerCfg and persist it.

Calculate a digest for scaler data and use that to determine whether new
data needs to be sent.

Only send gamma information if the filename has changed.

Offload fb module parameter writing to a separate thread via the new
offload system.

Reduce the amount of work being done in set_vrr_mode when vrr is
disabled.
2022-07-18 16:30:00 -07:00
Martin Donlon
cebd306abd Spike profiler 2022-07-17 11:58:16 -07:00
Sorgelig
acb51e359c MGL: add setname tag. 2022-07-13 00:18:50 +08:00
paulb-nl
1112204dec user_io: add is_sgb() for Super Game Boy MSU (#649) 2022-06-23 22:42:39 +08:00
RobertPeip
5abb115777 always write savestate count initial values -> fixes creation of non existing savestates (#624) 2022-05-27 02:44:27 +08:00
Sorgelig
afb4b7a35c user_io: remove savestate counter writeback. 2022-05-26 22:22:56 +08:00
Sorgelig
373499dee2 PSX: add psx_poll (for heartbeat). 2022-05-26 22:15:25 +08:00
RobertPeip
8f76789ca0 fix savestate handling by setting the count part of the savestate header to -1 after every modification or ack from HPS (#622) 2022-05-25 19:37:21 +08:00
Sergey Dvodnenko
2bc233b851 Saturn: initial support. (#612) 2022-05-22 20:09:13 +08:00
Sorgelig
d57ed83fbe video: detect default video resolution and dvi mode from EDID. 2022-05-20 21:34:44 +08:00
Sorgelig
63c7573a60 snes: MSU: support for data track, some refactoring. 2022-05-17 20:28:38 +08:00