Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2020 17:21:07 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r532136 - in branches/2020Q2/emulators/emu64: . files
Message-ID:  <202004191721.03JHL7uf014205@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Sun Apr 19 17:21:07 2020
New Revision: 532136
URL: https://svnweb.freebsd.org/changeset/ports/532136

Log:
  MFH: r532092
  
  emulators/emu64: extend patch to fix an issue with OSS
  
  This update is require to unbreak the port under FreeBSD.
  The issue was reported to upstream and the fix will be available in future
  releases.
  
  Background: In the upstream issue, it was revealed that the whole C64 emulation
  depends on the audio stream (for best sync) and initializing the audio stream
  failed when the SDL backend was OSS, because it needs a fragment size that is a
  power of two. The attached patch is the minimal change to 5.0.18 from the
  upstream commit that solved the problem.
  
  PR:		245395
  Submitted by:	Ingo <hylaios@online.de>
  Approved by:	Felix Palmen <felix@palmen-it.de> (maintainer)
  
  Approved by:	ports-secteam@

Modified:
  branches/2020Q2/emulators/emu64/Makefile
  branches/2020Q2/emulators/emu64/files/patch-src_c64__class.cpp
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/emulators/emu64/Makefile
==============================================================================
--- branches/2020Q2/emulators/emu64/Makefile	Sun Apr 19 16:12:35 2020	(r532135)
+++ branches/2020Q2/emulators/emu64/Makefile	Sun Apr 19 17:21:07 2020	(r532136)
@@ -3,6 +3,7 @@
 
 PORTNAME=	emu64
 PORTVERSION=	5.0.18
+PORTREVISION=	1
 CATEGORIES=	emulators
 
 MAINTAINER=	felix@palmen-it.de

Modified: branches/2020Q2/emulators/emu64/files/patch-src_c64__class.cpp
==============================================================================
--- branches/2020Q2/emulators/emu64/files/patch-src_c64__class.cpp	Sun Apr 19 16:12:35 2020	(r532135)
+++ branches/2020Q2/emulators/emu64/files/patch-src_c64__class.cpp	Sun Apr 19 17:21:07 2020	(r532136)
@@ -1,5 +1,17 @@
---- src/c64_class.cpp.orig	2020-04-03 11:33:28 UTC
+--- src/c64_class.cpp.orig	2020-04-11 10:05:13 UTC
 +++ src/c64_class.cpp
+@@ -27,9 +27,9 @@ int SDLThreadWarp(void *userdat);
+ #define C64Takt 985248  // 50,124542Hz (Original C64 PAL)
+ 
+ #ifdef _WIN32
+-    #define AudioPufferSize (882)    // 882 bei 44.100 Khz
++    #define AudioPufferSize (1024)    // 882 bei 44.100 Khz
+ #else
+-    #define AudioPufferSize (882)    // 882 bei 44.100 Khz
++    #define AudioPufferSize (1024)    // 882 bei 44.100 Khz
+ #endif
+ 
+ #define RecPollingWaitStart 20
 @@ -1757,7 +1757,7 @@ void C64Class::SetFullscreenAspectRatio(bool enable)
  void C64Class::AnalyzeSDLEvent(SDL_Event *event)
  {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004191721.03JHL7uf014205>