Hello community,

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

Package is "libretro-bluemsx"

Sun Jun  7 21:36:56 2020 rev:2 rq:812097 version:0~git20200507

Changes:
--------
--- /work/SRC/openSUSE:Factory/libretro-bluemsx/libretro-bluemsx.changes        
2020-02-11 22:23:02.779490028 +0100
+++ 
/work/SRC/openSUSE:Factory/.libretro-bluemsx.new.3606/libretro-bluemsx.changes  
    2020-06-07 21:37:29.977294382 +0200
@@ -1,0 +2,14 @@
+Sat May 30 17:23:18 UTC 2020 - [email protected]
+
+- Update to version 0~git20200507:
+  * Remove leftover endiannness defines
+  * Fix arguments for coinDeviceCreate
+  * Add support for psl1ght
+  * Fixed not smooth scroll in PAL 50Hz
+  * Fix libnx compilation
+  * Fix 3DS compilation
+  * (MSVC 2017) Buildfix
+  * (VITA) Use diet-glob
+  * (VITA) Fix missing functions
+
+-------------------------------------------------------------------

Old:
----
  libretro-bluemsx-0~git20190902.tar.xz

New:
----
  libretro-bluemsx-0~git20200507.tar.xz

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

Other differences:
------------------
++++++ libretro-bluemsx.spec ++++++
--- /var/tmp/diff_new_pack.X2h8pB/_old  2020-06-07 21:37:31.081297882 +0200
+++ /var/tmp/diff_new_pack.X2h8pB/_new  2020-06-07 21:37:31.081297882 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libretro-bluemsx
 #
-# 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-bluemsx
-Version:        0~git20190902
+Version:        0~git20200507
 Release:        0
 Summary:        BlueMSX libretro core for MSX 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.X2h8pB/_old  2020-06-07 21:37:31.125298021 +0200
+++ /var/tmp/diff_new_pack.X2h8pB/_new  2020-06-07 21:37:31.125298021 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/libretro/blueMSX-libretro.git</param>
-              <param 
name="changesrevision">85900909608c83bdbe55fe082614c6922d1ba7e3</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">e8fb3237503e3598beae7c8b118b7582d841d3c5</param></service></servicedata>
\ No newline at end of file

++++++ libretro-bluemsx-0~git20190902.tar.xz -> 
libretro-bluemsx-0~git20200507.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20190902/Makefile.libretro 
new/libretro-bluemsx-0~git20200507/Makefile.libretro
--- old/libretro-bluemsx-0~git20190902/Makefile.libretro        2019-09-02 
03:34:34.000000000 +0200
+++ new/libretro-bluemsx-0~git20200507/Makefile.libretro        2020-05-07 
19:41:19.000000000 +0200
@@ -234,7 +234,7 @@
        CC_AS = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT)
        CXX = $(PS3DEV)/ppu/bin/ppu-g++$(EXE_EXT)
        AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
-       PLATFORM_DEFINES := -D__CELLOS_LV2__
+       PLATFORM_DEFINES := -D__CELLOS_LV2__ -D__PSL1GHT__
        STATIC_LINKING = 1
        HAVE_COMPAT = 1
 
@@ -291,7 +291,7 @@
        CC_AS = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
        CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT)
        AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
-       PLATFORM_DEFINES += -DGEKKO -DWIIU -DHW_RVL -mcpu=750 -meabi 
-mhard-float -D__ppc__ -DMSB_FIRST
+       PLATFORM_DEFINES += -DGEKKO -DWIIU -DHW_RVL -mcpu=750 -meabi 
-mhard-float
        PLATFORM_DEFINES += -U__INT32_TYPE__ -U __UINT32_TYPE__ 
-D__INT32_TYPE__=int
        STATIC_LINKING = 1
        HAVE_COMPAT = 1
@@ -322,7 +322,9 @@
        include $(DEVKITPRO)/libnx/switch_rules
        TARGET := $(TARGET_NAME)_libretro_$(platform).a
        PLATFORM_DEFINES += -I$(LIBNX)/include/ -specs=$(LIBNX)/switch.specs
-       PLATFORM_DEFINES += -D__SWITCH__ -DHAVE_LIBNX -DARM -march=armv8-a 
-mtune=cortex-a57 -mtp=soft
+       PLATFORM_DEFINES += -D__SWITCH__ -DHAVE_LIBNX -DARM -march=armv8-a 
-mtune=cortex-a57 -mtp=soft -fPIC
+       CFLAGS += -fPIC
+       CXXFLAGS += -fPIC
        STATIC_LINKING = 1
        HAVE_COMPAT = 1
 
@@ -508,7 +510,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-bluemsx-0~git20190902/Src/Board/MSX.c 
new/libretro-bluemsx-0~git20200507/Src/Board/MSX.c
--- old/libretro-bluemsx-0~git20190902/Src/Board/MSX.c  2019-09-02 
03:34:34.000000000 +0200
+++ new/libretro-bluemsx-0~git20200507/Src/Board/MSX.c  2020-05-07 
19:41:19.000000000 +0200
@@ -260,7 +260,7 @@
                           machine->board.type == BOARD_MSX_FORTE_II ? 1 : 2);
 
     if (machine->board.type == BOARD_MSX_FORTE_II) {
-        CoinDevice* coinDevice = coinDeviceCreate(msxPsg);
+        CoinDevice* coinDevice = coinDeviceCreate();
         msxPsgRegisterCassetteRead(msxPsg, coinDeviceRead, coinDevice);
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20190902/Src/Libretro/File.c 
new/libretro-bluemsx-0~git20200507/Src/Libretro/File.c
--- old/libretro-bluemsx-0~git20190902/Src/Libretro/File.c      2019-09-02 
03:34:34.000000000 +0200
+++ new/libretro-bluemsx-0~git20200507/Src/Libretro/File.c      2020-05-07 
19:41:19.000000000 +0200
@@ -38,7 +38,7 @@
 
 #include <sys/stat.h>
 
-#if defined(__CELLOS_LV2__)
+#if defined(__CELLOS_LV2__) || defined(VITA)
 char* getcwd( char* buf, size_t size )
 {
   if ( buf != NULL && size >= 2 )
@@ -57,6 +57,14 @@
 }
 #endif
 
+#if defined(VITA)
+
+int mkdir(const char *path, mode_t mode){
+  return sceIoMkdir(path,mode);
+}
+
+#endif
+
 #ifdef __MINGW32__
 
 int archCreateDirectory(const char* pathname)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20190902/Src/Libretro/Glob.c 
new/libretro-bluemsx-0~git20200507/Src/Libretro/Glob.c
--- old/libretro-bluemsx-0~git20190902/Src/Libretro/Glob.c      2019-09-02 
03:34:34.000000000 +0200
+++ new/libretro-bluemsx-0~git20200507/Src/Libretro/Glob.c      2020-05-07 
19:41:19.000000000 +0200
@@ -109,7 +109,7 @@
 
 #else
 #include "ArchGlob.h"
-#if defined(PSP) || defined(__CELLOS_LV2__) || defined(ANDROID) || 
defined(WIIU) || defined(_XBOX)
+#if defined(PSP) || defined(__CELLOS_LV2__) || defined(ANDROID) || 
defined(WIIU) || defined(_XBOX) || defined(VITA) || defined(_3DS) || 
defined(__SWITCH__)
 /* TODO/FIXME - might want to turn this into more generic define that we
  * flick on for consoles/portables */
 #include "psp/diet-glob.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20190902/Src/Libretro/Timer.c 
new/libretro-bluemsx-0~git20200507/Src/Libretro/Timer.c
--- old/libretro-bluemsx-0~git20190902/Src/Libretro/Timer.c     2019-09-02 
03:34:34.000000000 +0200
+++ new/libretro-bluemsx-0~git20200507/Src/Libretro/Timer.c     2020-05-07 
19:41:19.000000000 +0200
@@ -20,6 +20,17 @@
    return (rtc_tick / frequency);
 }
 
+#elif defined(__PSL1GHT__)
+
+#include <ppu_intrinsics.h>
+
+
+UInt32 archGetSystemUpTime(UInt32 frequency)
+{
+   uint64_t rtc_tick = __mftb();
+   return (rtc_tick / frequency);
+}
+
 #elif defined(__CELLOS_LV2__)
 #include <sys/sys_time.h>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20190902/libretro.c 
new/libretro-bluemsx-0~git20200507/libretro.c
--- old/libretro-bluemsx-0~git20190902/libretro.c       2019-09-02 
03:34:34.000000000 +0200
+++ new/libretro-bluemsx-0~git20200507/libretro.c       2020-05-07 
19:41:19.000000000 +0200
@@ -493,7 +493,7 @@
    info->geometry.max_width = FB_MAX_LINE_WIDTH ;
    info->geometry.max_height = FB_MAX_LINES ;
    info->geometry.aspect_ratio = 0;
-   info->timing.fps = 60.0;
+   info->timing.fps = (retro_get_region() == RETRO_REGION_NTSC) ? 60.0 : 50.0;
    info->timing.sample_rate = 44100.0;
 }
 
@@ -1221,7 +1221,20 @@
    image_buffer_current_width = 0;
    image_buffer_height = 0;
 }
-unsigned retro_get_region(void){return RETRO_REGION_NTSC;}
+unsigned retro_get_region(void){
+   switch (msx_vdp_synctype)
+   {
+      case P_VDP_SYNCAUTO:
+         if (!strcmp(msx_type, "MSX") || !strcmp(msx_type, "MSX2") || 
is_spectra)
+             return RETRO_REGION_PAL;
+         else
+             return RETRO_REGION_NTSC;
+      case P_VDP_SYNC50HZ:
+         return RETRO_REGION_PAL;
+      case P_VDP_SYNC60HZ:
+         return RETRO_REGION_NTSC;
+   }
+}
 void *retro_get_memory_data(unsigned id)
 {
    if ( id == RETRO_MEMORY_SYSTEM_RAM )


Reply via email to