Package: mednafen
Version: 1.22.1+dfsg-1
Severity: serious
Tags: patch
Justification: regression

Dear Maintainer,

Upstream fixed a PS1 regression in 1.22.2; in 1.22.1, a few games are
unplayable (SimCity 2000 and Rise 2 for example). The attached patch
fixes this.

Regards,

Stephen


-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (100, 
'unstable-debug'), (100, 'testing-debug'), (100, 'unstable'), (100, 'testing'), 
(1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mednafen depends on:
ii  libasound2                        1.1.3-5
ii  libc6                             2.24-11+deb9u4
ii  libgcc1                           1:6.3.0-18+deb9u1
ii  libjack-jackd2-0 [libjack-0.125]  1.9.10+20150825git1ed50c92~dfsg-5
ii  libmpcdec6                        2:0.1~r495-1+b1
ii  libsdl1.2debian                   1.2.15+dfsg1-4
ii  libsndfile1                       1.0.27-3
ii  libstdc++6                        6.3.0-18+deb9u1
ii  libtrio2                          1.16+dfsg1-3+b2
ii  libvorbisidec1                    1.0.2+svn18153-1+deb9u1
ii  zlib1g                            1:1.2.8.dfsg-5

Versions of packages mednafen recommends:
ii  mednaffe  0.8.4-1+b1

mednafen suggests no packages.

-- no debconf information
--- a/src/psx/cdc.cpp
+++ b/src/psx/cdc.cpp
@@ -1874,7 +1874,7 @@
 
   if(CommandLoc_Dirty)
    SeekTarget = CommandLoc;
-  else
+  else if(DriveStatus != DS_PAUSED && DriveStatus != DS_STANDBY)
    SeekTarget = CurSector;
 
   PSRCounter = 33868800 / (75 * ((Mode & MODE_SPEED) ? 2 : 1)) + 
CalcSeekTime(CurSector, SeekTarget, DriveStatus != DS_STOPPED, DriveStatus == 
DS_PAUSED);

Reply via email to