* CD-i: Fixed buffer overflow
Fixed reintroduction of the buffer overflow by
commit 1addb89ff
Originally was fixed with c0171c9 but not yet
well understood.
* CD-i: Mount root folder NvRAM after core load
Instead of starting with an empty NvRAM,
"saves/CD-i/CD-i.sav" will be loaded instead.
Avoids machine reset by NvRAM change in case
a root folder CD image shall be used
* DiskImage: match new[] with delete[]
Signed-off-by: Sven Schnelle <fz@stackframe.org>
* st_tos: match new[] with delete[]
Signed-off-by: Sven Schnelle <fz@stackframe.org>
* scaler: fix calloc arguments
The first argument is the number of members, the second
argument the size of each member. Swap the arguments to
the correct order to prevent warings with newer compilers.
Signed-off-by: Sven Schnelle <fz@stackframe.org>
---------
Signed-off-by: Sven Schnelle <fz@stackframe.org>
deleting file by using wildcards isn't working with a shared
fs. Add the code to support deleting multiple files.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Co-authored-by: Sven Schnelle <svens@stackframe.org>
* WIP Adding Atari800 side of things
* WIP Migrated some functionality from .sv to here
* WIP XEX file loading works, clean-ups
* WIP UART/SIO interface beginning
* WIP Adding Atari800 drive emulator
* WIP First version of the drive emulator working with ATR and XEX files
* WIP ATX files are working
* WIP HDD is now mounted separately
* WIP PBI/HDD is working too
* Cleaning up and adding supporting Atari ASM files
* Updated versioning information in the Atari800 FW
* WIP Adding support for the Atari 5200 core
* Atari 5200 support complete
* Atari800: fixed SIO timing bugs
* Atari800: sorting out SIO timing issues still
* Atari800: eliminate OSD lock up possibilities
* Atari800: Improved XEX loader
The x86 file sharing code opens files with O_WRONLY which maps
incorrectly to O_RDONLY. Fix this by explicitely mapping O_RDONLY
and O_WRONLY.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Co-authored-by: Sven Schnelle <svens@stackframe.org>
* Fix bootcore config param
We fix the case of a given generic corename set in bootcore (without version and extension).
* When bootcore is not version specific, find the latest
* Refactor devcontainer into Docker Compose
We need to make the platform explicit (only via the Docker Compose) as the Dockerfile fetches a crosscompiler for x86.
* Add git to dev container
* Fix of-by-one error
ROMs with headers containing an internal name of 20 characters (or more) got truncated to 19.
* Make sure not to read outside of the intended header section
Got rid of the annoying message you get when opening the menu in a game that uses cpak.
It said "Saving..." even when there wasn't anything to save.
Cleaned up and refactored the save file code. Much easier to follow now.
* Saturn: fix the status of commands (Die Hard Arcade, Suchie-Pie Doki Doki Nightmare)
* Saturn: increase max seek delay between tracks (Pocket Fighter)
* Write unique game info to /tmp/GAMENAME
* Remove CD product code lookup, and crc32
* Remove product codes
/tmp/GAMENAME only uses file path and crc32
* Clean up
* Cleanup
* Only write CRC32 and or Product Code to /tmp/GAMEID
Realizing we already have the file path, this change writes the already calculated CRC32 and or game ID (N64 and PSX only) to /tmp/GAMEID. This ignores boot*.rom and cd_bios*.rom
CRC32: XXXXXXXX
Product Code: XXXXXXXXXXXX
* Clean up
* Update neogeo_loader.cpp
* Skip GAMEID for all BIOS files
* Guard behind log_file_entry ini option and clean up print statements
* Add MRA GAMEID support and improve GAMEID writing
MRA files use setname as serial
* Add MGL handling for /tmp/ STARTPATH, FULLPATH, CURRENTPATH, and FILESELECT
* Update mgl /tmp/ file handling
* Change default composite_sync value to 1
From a troubleshooting perspective, composite_sync=1 seems like a more common gotcha because more people are using consumer CRTs than monitors.
I'm wondering if it makes sense to make this change as it covers more use cases.
* Update cfg.cpp
* Simple Auto Direct Video
direct_video=2
Checks for 1024x768 HDMI resolution and sets direct_video=1
No hot plug detect
No EDID parsing
No device whitelist
No hdmi_limited set based on EDID whitelist
* Add EDID detection and set hdmi_limited for common DACs
- AG6200 sets hdmi_limited=2
- CS5213 sets hdmi_limited=0
* Fix logic to pass normal EDID resolution if not 1024x768
* Update MiSTer.ini
* Remove 1024x768 resolution check
- Only use mfg_id from EDID to identify known compatible DACs
* Add DAC id and settings to dv_dac.txt and dv_dac_user.txt
- mfg_id
- rgb range
- hdmi_audio_96khz
- composite_sync: 0, 1, or "" (default is "")
- dv_dac_user.txt for HDMI video upscalers that support direct video
- device commented out by default
* Fix parsing of dv_dac.txt
DAC model name wasn't being displayed due to empty composite_sync field
* Simple Auto Direct Video
direct_video=2
Checks for 1024x768 HDMI resolution and sets direct_video=1
No hot plug detect
No EDID parsing
No device whitelist
No hdmi_limited set based on EDID whitelist
* Add EDID detection and set hdmi_limited for common DACs
- AG6200 sets hdmi_limited=2
- CS5213 sets hdmi_limited=0
* Fix logic to pass normal EDID resolution if not 1024x768
* Update MiSTer.ini
* Remove 1024x768 resolution check
- Only use mfg_id from EDID to identify known compatible DACs
* Add DAC id and settings to dv_dac.txt and dv_dac_user.txt
- mfg_id
- rgb range
- hdmi_audio_96khz
- composite_sync: 0, 1, or "" (default is "")
- dv_dac_user.txt for HDMI video upscalers that support direct video
- device commented out by default