Hello community,

here is the log from the commit of package libretro-beetle-vb for 
openSUSE:Factory checked in at 2020-06-07 21:36:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libretro-beetle-vb (Old)
 and      /work/SRC/openSUSE:Factory/.libretro-beetle-vb.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libretro-beetle-vb"

Sun Jun  7 21:36:45 2020 rev:2 rq:812089 version:0~git20200518

Changes:
--------
--- /work/SRC/openSUSE:Factory/libretro-beetle-vb/libretro-beetle-vb.changes    
2020-02-11 22:22:55.511486047 +0100
+++ 
/work/SRC/openSUSE:Factory/.libretro-beetle-vb.new.3606/libretro-beetle-vb.changes
  2020-06-07 21:37:16.265250916 +0200
@@ -1,0 +2,9 @@
+Sat May 30 16:46:29 UTC 2020 - [email protected]
+
+- Update to version 0~git20200518:
+  * Cleanup warnings
+  * fix memset on wrong surface for 16BPP
+  * Update name
+  * (MSVC 2017) Buildfix
+
+-------------------------------------------------------------------

Old:
----
  libretro-beetle-vb-0~git20190912.tar.xz

New:
----
  libretro-beetle-vb-0~git20200518.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libretro-beetle-vb.spec ++++++
--- /var/tmp/diff_new_pack.wlmaCy/_old  2020-06-07 21:37:18.209257078 +0200
+++ /var/tmp/diff_new_pack.wlmaCy/_new  2020-06-07 21:37:18.213257091 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libretro-beetle-vb
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
 
 
 Name:           libretro-beetle-vb
-Version:        0~git20190912
+Version:        0~git20200518
 Release:        0
 Summary:        Mednafen VB libretro core for Virtual Boy emulation
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/Emulators/Other
 URL:            http://www.retroarch.com
 Source:         %{name}-%{version}.tar.xz

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.wlmaCy/_old  2020-06-07 21:37:18.257257230 +0200
+++ /var/tmp/diff_new_pack.wlmaCy/_new  2020-06-07 21:37:18.261257243 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/libretro/beetle-vb-libretro.git</param>
-              <param 
name="changesrevision">f3b8c6b6fc7bef2b7ee77936d67f3e2a8a4251e3</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">005c4c8b5dbecc2dfecf81b61ecb497ee05c52cf</param></service></servicedata>
\ No newline at end of file

++++++ libretro-beetle-vb-0~git20190912.tar.xz -> 
libretro-beetle-vb-0~git20200518.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-beetle-vb-0~git20190912/Makefile 
new/libretro-beetle-vb-0~git20200518/Makefile
--- old/libretro-beetle-vb-0~git20190912/Makefile       2019-09-12 
05:22:59.000000000 +0200
+++ new/libretro-beetle-vb-0~git20200518/Makefile       2020-05-18 
15:43:23.000000000 +0200
@@ -437,7 +437,7 @@
        reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v 
"$1" 2>nul)))
        fix_path = $(subst $(SPACE),\ ,$(subst \,/,$1))
 
-       ProgramFiles86w := $(shell cmd /c "echo %PROGRAMFILES(x86)%")
+       ProgramFiles86w := $(shell cmd //c "echo %PROGRAMFILES(x86)%")
        ProgramFiles86 := $(shell cygpath "$(ProgramFiles86w)")
 
        WindowsSdkDir ?= $(call 
reg_query,InstallationFolder,HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft
 SDKs\Windows\v10.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-beetle-vb-0~git20190912/libretro.cpp 
new/libretro-beetle-vb-0~git20200518/libretro.cpp
--- old/libretro-beetle-vb-0~git20190912/libretro.cpp   2019-09-12 
05:22:59.000000000 +0200
+++ new/libretro-beetle-vb-0~git20200518/libretro.cpp   2020-05-18 
15:43:23.000000000 +0200
@@ -2400,7 +2400,7 @@
 static bool initial_ports_hookup = false;
 
 #define MEDNAFEN_CORE_NAME_MODULE "vb"
-#define MEDNAFEN_CORE_NAME "Mednafen VB"
+#define MEDNAFEN_CORE_NAME "Beetle VB"
 #define MEDNAFEN_CORE_VERSION "v0.9.36.1"
 #define MEDNAFEN_CORE_EXTENSIONS "vb|vboy|bin"
 #define MEDNAFEN_CORE_TIMING_FPS 50.27
@@ -2688,7 +2688,7 @@
       return false;
 
    MDFN_PixelFormat pix_fmt(MDFN_COLORSPACE_RGB, 16, 8, 0, 24);
-   memset(&last_pixel_format, 0, sizeof(MDFN_PixelFormat));
+   last_pixel_format = MDFN_PixelFormat();
    
    surf = new MDFN_Surface(NULL, FB_WIDTH, FB_HEIGHT, FB_WIDTH, pix_fmt);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libretro-beetle-vb-0~git20190912/mednafen/hw_cpu/v810/fpu-new/softfloat.c 
new/libretro-beetle-vb-0~git20200518/mednafen/hw_cpu/v810/fpu-new/softfloat.c
--- 
old/libretro-beetle-vb-0~git20190912/mednafen/hw_cpu/v810/fpu-new/softfloat.c   
    2019-09-12 05:22:59.000000000 +0200
+++ 
new/libretro-beetle-vb-0~git20200518/mednafen/hw_cpu/v810/fpu-new/softfloat.c   
    2020-05-18 15:43:23.000000000 +0200
@@ -1040,17 +1040,20 @@
 
 float32 float32_rem( float32 a, float32 b )
 {
-    flag aSign, bSign, zSign;
-    int16 aExp, bExp, expDiff;
-    bits32 aSig, bSig, q, allZero, alternateASig;
+    flag zSign;
+    int16 expDiff;
+    bits32 q, allZero, alternateASig;
     sbits32 sigMean;
 
-    aSig = extractFloat32Frac( a );
-    aExp = extractFloat32Exp( a );
-    aSign = extractFloat32Sign( a );
-    bSig = extractFloat32Frac( b );
-    bExp = extractFloat32Exp( b );
-    bSign = extractFloat32Sign( b );
+    bits32 aSig = extractFloat32Frac( a );
+    int16 aExp  = extractFloat32Exp( a );
+    flag aSign  = extractFloat32Sign( a );
+    bits32 bSig = extractFloat32Frac( b );
+    int16 bExp  = extractFloat32Exp( b );
+#if 0
+    flag bSign  = extractFloat32Sign( b );
+#endif
+
     if ( aExp == 0xFF ) {
         if ( aSig || ( ( bExp == 0xFF ) && bSig ) ) {
             return propagateFloat32NaN( a, b );
@@ -1926,21 +1929,23 @@
 
 float64 float64_rem( float64 a, float64 b )
 {
-    flag aSign, bSign, zSign;
-    int16 aExp, bExp, expDiff;
-    bits32 aSig0, aSig1, bSig0, bSig1, q, term0, term1, term2;
+    flag zSign;
+    int16 expDiff;
+    bits32 q, term0, term1, term2;
     bits32 allZero, alternateASig0, alternateASig1, sigMean1;
     sbits32 sigMean0;
     float64 z;
 
-    aSig1 = extractFloat64Frac1( a );
-    aSig0 = extractFloat64Frac0( a );
-    aExp = extractFloat64Exp( a );
-    aSign = extractFloat64Sign( a );
-    bSig1 = extractFloat64Frac1( b );
-    bSig0 = extractFloat64Frac0( b );
-    bExp = extractFloat64Exp( b );
-    bSign = extractFloat64Sign( b );
+    bits32 aSig1 = extractFloat64Frac1( a );
+    bits32 aSig0 = extractFloat64Frac0( a );
+    int16 aExp   = extractFloat64Exp( a );
+    flag aSign   = extractFloat64Sign( a );
+    bits32 bSig1 = extractFloat64Frac1( b );
+    bits32 bSig0 = extractFloat64Frac0( b );
+    int16 bExp   = extractFloat64Exp( b );
+#if 0
+    flag bSign   = extractFloat64Sign( b );
+#endif
     if ( aExp == 0x7FF ) {
         if (    ( aSig0 | aSig1 )
              || ( ( bExp == 0x7FF ) && ( bSig0 | bSig1 ) ) ) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libretro-beetle-vb-0~git20190912/mednafen/mempatcher.cpp 
new/libretro-beetle-vb-0~git20200518/mednafen/mempatcher.cpp
--- old/libretro-beetle-vb-0~git20190912/mednafen/mempatcher.cpp        
2019-09-12 05:22:59.000000000 +0200
+++ new/libretro-beetle-vb-0~git20200518/mednafen/mempatcher.cpp        
2020-05-18 15:43:23.000000000 +0200
@@ -275,14 +275,17 @@
  //printf("TR: %s\n", string);
  while(sscanf(string, "%u %c %63s %63s %63s", &bytelen, &endian, address, 
operation, value) == 5 && passed)
  {
-  uint32 v_address;
   uint64 v_value;
   uint64 value_at_address;
+#if 0
+  uint32 v_address;
 
   if(address[0] == '0' && address[1] == 'x')
    v_address = strtoul(address + 2, NULL, 16);
   else
    v_address = strtoul(address, NULL, 10);
+#endif
+
 
   if(value[0] == '0' && value[1] == 'x')
    v_value = strtoull(value + 2, NULL, 16);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-beetle-vb-0~git20190912/mednafen/state.cpp 
new/libretro-beetle-vb-0~git20200518/mednafen/state.cpp
--- old/libretro-beetle-vb-0~git20190912/mednafen/state.cpp     2019-09-12 
05:22:59.000000000 +0200
+++ new/libretro-beetle-vb-0~git20200518/mednafen/state.cpp     2020-05-18 
15:43:23.000000000 +0200
@@ -229,10 +229,7 @@
       nameo[0] = slen;
 
       if(slen >= 255)
-      {
-         printf("Warning:  state variable name possibly too long: %s %s %s 
%d\n", sf->name, name_prefix, nameo, slen);
          slen = 255;
-      }
 
       smem_write(st, nameo, 1 + nameo[0]);
       smem_write32le(st, bytesize);
@@ -296,7 +293,7 @@
    uint8_t sname_tmp[32];
 
    memset(sname_tmp, 0, sizeof(sname_tmp));
-   strncpy((char *)sname_tmp, sname, 32);
+   memcpy((char *)sname_tmp, sname, 32);
 
    if(strlen(sname) > 32)
       printf("Warning: section name is too long: %s\n", sname);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-beetle-vb-0~git20190912/mednafen/vb/vip.cpp 
new/libretro-beetle-vb-0~git20200518/mednafen/vb/vip.cpp
--- old/libretro-beetle-vb-0~git20190912/mednafen/vb/vip.cpp    2019-09-12 
05:22:59.000000000 +0200
+++ new/libretro-beetle-vb-0~git20200518/mednafen/vb/vip.cpp    2020-05-18 
15:43:23.000000000 +0200
@@ -915,7 +915,7 @@
 #if defined(WANT_32BPP)
          memset(surface->pixels, 0, 768 * 448 * 4);
 #elif defined(WANT_16BPP)
-         memset(surface->pixels, 0, 768 * 448 * 2);
+         memset(surface->pixels16, 0, 768 * 448 * 2);
 #endif
 
       VidSettingsDirty = false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libretro-beetle-vb-0~git20190912/mednafen/video/surface.cpp 
new/libretro-beetle-vb-0~git20200518/mednafen/video/surface.cpp
--- old/libretro-beetle-vb-0~git20190912/mednafen/video/surface.cpp     
2019-09-12 05:22:59.000000000 +0200
+++ new/libretro-beetle-vb-0~git20200518/mednafen/video/surface.cpp     
2020-05-18 15:43:23.000000000 +0200
@@ -46,13 +46,13 @@
 
 MDFN_Surface::MDFN_Surface()
 {
-   memset(&format, 0, sizeof(format));
+   format     = MDFN_PixelFormat();
 
-   pixels = NULL;
-   pixels16 = NULL;
+   pixels     = NULL;
+   pixels16   = NULL;
    pitchinpix = 0;
-   w = 0;
-   h = 0;
+   w          = 0;
+   h          = 0;
 }
 
 MDFN_Surface::MDFN_Surface(void *const p_pixels, const uint32 p_width, const 
uint32 p_height, const uint32 p_pitchinpix, const MDFN_PixelFormat &nf)


Reply via email to