Q2 2021 Progress Report

progress rep q2 2021

Written by lightningterror

Core Improvements

[Enhancement] DEV9 improvements:

#4381 DEV9: Do not apply byteswapping to TX/RX FIFO writes/reads. By TheLastRar.

Remove the byte swapping done to TX/RX FIFO writes/reads performed via registers.

Fixes Twisted Metal: Black Online Public Beta v. 1.0 unable to initialize network adapter.

#4364 DEV9: add ATA Idle Immediate (E1) stub. By macmenot.

Fixes HDD support for Street Fighter Alpha Anthology.

#4403 DEV9: consistently prefix all console output with DEV9. By macmenot.

#4429 DEV9: Update ATA code for wchar GHC. By TheLastRar.

#4496 DEV9: PCAP, check size of read packet. By TheLastRar.

In pcap, check size of read packet. If the size exceeds the buffer we are using, drop the packet.

#4448 DEV9: Always use binary mode for HDD file. By TheLastRar.

Opening the file in binary mode is the intended behaviour (and was done in the most common situation),

#4449 DEV9: Fix potential out of bounds access when manual DNS1 & automatic DNS2 are used together. By TheLastRar.

If DNS1 was manually specified, but DNS2 set to be automatically assigned, an off by one error could result in an out of bounds access to an array of adapter DNS addresses.

#4442 DEV9: Increase min HDD size to 40GiB. By TheLastRar.

Most games expect a HDD of 40GiB in size, and may fail to install as a result (and display a confusing error message).

#4304 DEV9: Internal DHCP support. By TheLastRar.

Adds an internal DHCP similer to what CLR_DEV9 offers for pcap & tap.

#4433 DEV9: Correctly populate DNS2 field with DNS2 IP. By TheLastRar.

Correctly populate DNS2 field with DNS2 IP in the DHCP section of the network ui.

#4435 DEV9: Sleep instead of yield in RxThread. By TheLastRar.

Yield might not leave the thread asleep long enough to prevent it from causing excessive CPU load.
This also brings PCSX2 inline with CLR_DEV9 (which also sleeps for 1ms).

[Enhancement] Memory card improvements:

#3941 Memory card: Folder memcards: Add an index file to track order of files. By CookiePLMonster.

Adds an index file for folder memory cards in order to track timestamps and order of files in the FAT partition properly. This normally shouldn't matter, but there are at least a few games (ie. GTA games) which rely on the order of files on the memory card. Previously, folder memcards would not care about the order and populate the partition in whatever order the host filesystem provided the files (so, in the case of NTFS partitions, alphabetically). In reality, FAT partitions don't specify the order of files, which means in practice they are sorted by the order of creation.

Fixes saving in GTA games with folder memory cards.

[Enhancement] microVU improvements:

6f7890b microVU: Fix mistake when setting Status Flag bits for Signed/Zero. By refractionpcsx2.

[Enhancement] Gif improvements:

b60765e Gif: Remove MTVU spam that isn't required. By refractionpcsx2.

Solves stuttering in MTVU mode in some games, and gets rid of some annoying asserts which mean nothing.

[Enhancement] SPU2 improvements:

#3825 SPU2: Change default of latency slider. By RedDevilus.

17519c2 SPU2: Fix hi def audio streaming. By refractionpcsx2.

#4474 SPU2: Remove cycleptr, grab current cycles directly. By Ziemas.

This just changes the SPU2 to get the current IOP cycle directly instead of through a pointer. The non-pointer path seems to have been given up on anyway and there seems to be little reason for hiding it behind a pointer.

This removes the path where SPU2 runs off the provided cycle argument to SPU2Async, but that was unused anyway.

#4437 SPU: Make SPU use the DMA registers from iopHw. By Ziemas.

The SPU was managing its own DMA Addresses, this makes it use the iopHw functionality for this instead.

[Enhancement] PAD improvements:

#4331 PAD: Just enable pressure on CMD 0x4F. By KrossX.

Fixes Warriors of Might and Magic gamepad not functioning properly.

#4466 PAD: Fix gamepad choice not affecting rumble test on Linux. By Lahvuun.

This change causes the currently selected gamepad to rumble instead of the first one.

[Enhancement] Eyetoy improvements:

#4415 Eyetoy: Motion button support. By Florin9doi.

[Enhancement] Debuggers improvements:

#4345 Debugger: Bios thread view support. By F0bes.

[Enhancement] Misc core improvements:

#4399 Core / VU: Disable MTVU when VU1 Interpreter is selected. By F0bes.

#3860 FPU: Remove FPU Compare Hack. By kozarovv.

The hack is no longer needed as full Clamping mode can be used instead.

#4461 Misc: Differentiate Impossible block clearing message from IOP & EE. By F0bes.

Prefix the "Impossible block clearing failure" with "[IOP]" or "[EE]" depending on the recompiler.

#4425 PSX: Fix Emulated PSX GPU Version. By Nobbs66.

Previously it was thought that the PS2 would emulate the v2 GPU, but hardware tests show that it emulates the V0 GPU.

#4460 Core: Make DMA's instant during the BIOS. By refractionpcsx2, tadanokojin, and PSI-Rockin.

This hackfixes the BIOS to avoid a Data Cache bug caused by a DMA buffer being overwritten during a transfer without waiting, which messes up the fonts in the BIOS. Fixing this correctly would require implementing the Data Cache, which is something which would make the emulator basically unusable, so this is a reasonable solution, it is only enabled during the BIOS screen.

Fixes certain bios revisions rendering text incorrectly.

#4498 iR5900: Move recConstBuf memory near recompiler memory. By TellowKrinkle.

Fixes an issue where recConstBuf was too far away from the main recompiler to LEA in 64-bit builds.

#4482 CDVD: Fix disc drive path issues on Windows. By turtleli.

GSdx Improvements

[Enhancement] Misc GSdx improvements:

#4350 GSdx-gui: Remove partial and full crc hack levels on release builds. By lightningterror.

Normal users shouldn't really need to choose partial or full since automatic already does that.

#4383 GSdx-hw: Some minor cleanups. By lightningterror.

TAS (Tool Assisted Speedrun) Utility Improvements

#4382 Recording: Resolve crash when closing emulator involving GUI elements. By xTVaser.

e50a446 Recording-gui: Add close box to New Input Recording. By lightningterror.

#4393 Recording: Allow configuration of the frame advance amount. By xTVaser.

Adds a GUI configurable setting to control how many frames the frame-advance feature should advance.

#4392 Recording: Add warning when creating a save-state recording. By xTVaser.

Adds a brief warning explaining why you may want to avoid save-state recordings, and what would have to be done if a bad state is achieved.

IPC (Interprocess Communication) Improvements

#4337 IPC: Remove possible memory corruption due to strcat on provided pointer. By GovanifY.

GameDB Improvements

4676592 GameDB: Add patches for Elemental Gerad and K-1 Grand Prix 2006.By refractionpcsx2.

#4388 GameDB: Adds fixes for Energy Airforce - Aim Strike , K-1 World Grand Prix 2006. By Mrlinkwii.

#4405 GameDB: add Nearest EErounding to SSX and SSX tricky. By Mrlinkwii.

#4462 GameDB: Add Kickstart for Rayman Raving Rabbids. By icup321.

#4478 GameDB: Adds VU clamping mode extra to Enthusia Professional Racing. By Mrlinkwii.

#4488 GameDB: Remove no longer needed 'OPHFLagHack' for Naruto - Uzumaki Chronicles 2. By Mrlinkwii.

Misc Improvements

#4278 GUI: Grayout Instant VU1 when MTVU is enabled. By RedDevilus.

#4377 GUI: Revise console with newline on compile + title. By RedDevilus.

#4416 GUI: Swap buttons Browse... and Ask when booting and default to unchecked state. By RedDevilus.

#4378 GUI: change window to debug in the menu and move blockdump to the debug menu. By Mrlinkwii.

#4431 GUI: update the 2 smaller app icons. By Mrlinkwii.

#4438 GUI: change 'Console to Stdio' to 'Program Log to Stdio' in UI. By Mrlinkwii.

#4454 GUI: Rename PSX references to PS1 distinguish between PS1 and DVR. By Florin9doi.

#4329 Misc: Remove SSE2/SSE3 support. By GovanifY.

Moving forward with our goal to clean up and modernize the code we are removing SSE2/3 support.

#4444 Misc: Save ELF last path when auto-running an elf. By F0bes.

#4343 Misc: Enable GS debugger on CI artifacts. By lightningterror.

Adds an CI environment variable to enable GS debugger on CI artifacts. This can also be enabled locally to enable the GS debugger.

#4418 CI: Validate GameDB changes in GitHub Actions. By xTVaser.

Currently, the emulator will fully validate the GameDB, which is how we've been catching these recent mistakes. But this adds a CI check to validate the file in a very similar manner at build time.

#4180 CI: Add an explicit flag to retain debugging artifacts (.pdb, .exp, .lib, etc) in Windows builds. By xTVaser.

dev 1165 and up (last add 1296)

And that's all from us, see you next time in our 2021 Q3 Report!

[Image: newsig.jpg]

Sponsored links

Users browsing this thread: 3 Guest(s)