This project is mirrored from https://*****@github.com/libretro/vbam-libretro.git. Pull mirroring updated .
  1. 30 Jun, 2018 5 commits
    • retro-wertz's avatar
      Libretro: Remove workaround for save file handling · daf50fcd
      retro-wertz authored
      For the most part, save types should now be identified during rom loading and then allow libretro to correctly use flash or eeprom save types and save size.
      daf50fcd
    • retro-wertz's avatar
    • retro-wertz's avatar
    • Rafael Kitover's avatar
      minor fix for mingw cross build · 68028b50
      Rafael Kitover authored
      Fix regex that changes the command to rebuild freetype with harfbuzz for
      cross building, as previous commit fixed that command.
      68028b50
    • Rafael Kitover's avatar
      support older 32 bit macs running 10.7, fix build · 498019a3
      Rafael Kitover authored
      Make mac builder use -m32 in CFLAGS etc. to produce a 32 bit binary
      targetting 10.7 (Lion.) This provides the greatest backward
      compatibility for older macs, and also allows for asm filters.
      
      Fix an issue with m4 on 10.13 using a patch from macports.
      
      Support `-pX` patch level args in DIST_PATCHES in builder.
      
      Fix an issue with bison on 10.13 by bumping the version to 3.0.5.
      
      Build libxslt `--without-crypto` so that it doesn't try to link the brew
      libgcrypt.
      
      Invoke cmake for dists with -DCMAKE_C_COMPILER_LAUNCHER=ccache and
      -DCMAKE_CXX_COMPILER_LAUNCHER=ccache to use ccache, and set
      CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to the actual compilers not
      prefixed by ccache.
      
      When checking for ccache in vbam cmake code, check that
      CMAKE_CXX_COMPILER_LAUNCHER and CMAKE_C_COMPILER_LAUNCHER were not
      already defined (generally on the command line.)
      
      Remove align attributes from sections in 2xSaImmx.asm, macho format on
      mac does not support this and the filter works fine without them.
      
      In the Quartz2D renderer, pass the NSRect view.bounds through
      NSRectToCGRect when calling CGContextDrawImage(), this is necessary for
      the 32 bit API.
      
      Bump openssl to 1.0.2o.
      
      Bump libxml2 to 2.9.8.
      
      Update URL for urw fonts, and improve the dist downloading/unpacking
      code to handle URLs that do not contain the filename (for .tar.gz and
      .zip as identified by `file`.)
      
      Change post-build for harfbuzz from `rebuild_dist freetype;` to
      `rebuild_dist freetype --with-harfbuzz=yes;` as it was supposed to have
      been.
      
      Build cmake itself with --parallel and --enable-ccache.
      
      Silence errors from killed jobs due to tmp directory being gone.
      
      Write a couple of string functions, rtrim() and gsub().
      
      Make path_exists() handle globs with spaces in them, by escaping the
      space.
      
      Use --host and --build args to autoconf configure to "cross-compile" for
      32 bits, this is necessary for some dists, and does not work for others,
      remove it for dists where it does not work.
      
      Add COMMAND_MODE=unix2003 to the build environment, this is necessary to
      fix some build errors, why I have no clue, found it on stackoverflow.
      
      Pass -Wl,-no_compact_unwind in LDFLAGS to openssl, this is necessary for
      32 bits.
      
      Force sfml to compile as 32 bit, it normally does not allow this.
      
      Remove shared-mime-info from this build, it's not necessary for anything
      and there are issues XML::Parser linked to our expat and brew perl that
      need to be resolved.
      498019a3
  2. 29 Jun, 2018 2 commits
    • Rafael Kitover's avatar
      fix some ELF parsing vulnerabilities #255 · 6b486258
      Rafael Kitover authored
      Implement the recommendations described in issue #255 by @zzazzdzz:
      
      - Check bounds when reading ELF program header sections.
      
      - Skip reading ELF section headers if the string table pointer is NULL.
      
      - Increase the buffer size for dissassembled instructions in the
        dissassembly view and pass the buffer size to the disArm() and
        disThumb() functions so that rudimentary bounds checking can be done.
      
      Also add the constants WORK_RAM_SIZE and ROM_SIZE to reduce incidence of
      magic numbers and make the code a bit cleaner.
      6b486258
    • Rafael Kitover's avatar
      travis: add job for libretro module · c63d3640
      Rafael Kitover authored
      Add a job to test compiling the libretro module to the matrix.
      c63d3640
  3. 28 Jun, 2018 1 commit
  4. 27 Jun, 2018 8 commits
  5. 26 Jun, 2018 1 commit
    • Rafael Kitover's avatar
      fix save dialogs on Mac #268 · e4923e72
      Rafael Kitover authored
      In MainFrame::ShowModal, which is used as a wrapper for
      wxDialog::ShowModal to also pause emulation, add the current window
      style flags to the additional CAPTION and RESIZE_BORDER flags being set
      with SetWindowStyle(), otherwise the other style flags of the window are
      reset causing erroneous behavior such as save dialogs appearing as open
      dialogs on Mac.
      e4923e72
  6. 23 Jun, 2018 1 commit
  7. 18 Jun, 2018 7 commits
    • Rafael Kitover's avatar
      use GetWindow()->Refresh() on non-GTK too #260 · ed00dc77
      Rafael Kitover authored
      Default to GetWindow()->Refresh() to draw the game area on non-GTK
      platforms as well, and only use the DrawArea(dc) method in GTK2 and
      lower.
      ed00dc77
    • Rafael Kitover's avatar
      fix high CPU usage under wxgtk2 #260 · 89228b06
      Rafael Kitover authored
      When using GTK2, call DrawArea(dc) instead of GetWindow()->Refresh(),
      this prevents glib from using huge amounts of CPU (as discovered by
      @retro-wertz .)
      
      Switching video drivers sometimes crashes the app, the DrawArea() call
      is as safe as possible, the problem is elsewhere.
      89228b06
    • Rafael Kitover's avatar
      fix $ENV{WX_CONFIG} check yet again · d1603218
      Rafael Kitover authored
      The expansion must be quoted as "$ENV{WX_CONFIG}" when passed as a
      parameter e.g. to if() otherwise it expands to no parameter when empty.
      d1603218
    • Rafael Kitover's avatar
      fix $ENV{WX_CONFIG} check in 46f52941 · 0489756d
      Rafael Kitover authored
      Apparently in cmake empty env vars do not evaluate to false, use
      explicit STREQUAL "".
      0489756d
    • Rafael Kitover's avatar
      do not prefer wxgtk3 if $ENV{WX_CONFIG} is set · 46f52941
      Rafael Kitover authored
      Skip the check for wx-config-gtk3 if the WX_CONFIG environment variable
      is set, indicating that the user wants to override the version of wx to
      build against.
      46f52941
    • Rafael Kitover's avatar
      clean up wxgtk3 finding cmake code · 437b366e
      Rafael Kitover authored
      Use a loop to check for wx-config-gtk4 then wx-config-gtk3 and unset the
      config executable variable otherwise.
      
      Also remove gl from the initial wx libraries list.
      437b366e
    • Rafael Kitover's avatar
      support and default to wxgtk3 not gtk2 on arch · 2efcb620
      Rafael Kitover authored
      Change installdeps to install wxgtk3 on arch instead of the wxgtk
      package which uses gtk2.
      
      Update the cmake code to check for the renamed wx-config executable
      wx-config-gtk3 on arch, first checking for wx-config-gtk4 for the
      future.
      2efcb620
  8. 17 Jun, 2018 1 commit
    • Rafael Kitover's avatar
      fix Mac OS 10.13 build issues · 430b5d63
      Rafael Kitover authored
      Compile out the min/max functions in GBALink.cpp when compiling with
      clang, clang does not like them because of some sort of changes in the
      preprocessor.
      
      Run the mac builder script with homebrew bash, system bash does not work
      and dash no longer works.
      
      TODO: fix dash compat
      430b5d63
  9. 16 Jun, 2018 11 commits
  10. 15 Jun, 2018 2 commits
  11. 14 Jun, 2018 1 commit