This project is mirrored from https://*****@github.com/libretro/vbam-libretro.git. Pull mirroring updated .
  1. 27 Apr, 2017 2 commits
  2. 23 Apr, 2017 5 commits
  3. 17 Apr, 2017 1 commit
    • Jeremy Newton's avatar
      Fix glibc crash: add log message on fopen failure · 1ba2eefe
      Jeremy Newton authored
      glibc's fclose implementation does not do a NULL check and will crash on "fclose(NULL)". A bunch of Fedora users have been sending in traces for this issue. I've added a log on failure case, likely if the user does not have permission to write to the file.
      1ba2eefe
  4. 10 Apr, 2017 1 commit
    • Rafael Kitover's avatar
      add Linux joystick reference to issue template · b59b7b39
      Rafael Kitover authored
      Add a link to the Joystick page in the Arch Wiki so that users hopefully
      use it to troubleshoot their joystick issues before filing an issue.
      
      Also note that any joystick issues would be SDL related.
      b59b7b39
  5. 04 Apr, 2017 1 commit
    • Rafael Kitover's avatar
      better fix for clipped video in GL fullscreen #89 · 247e584f
      Rafael Kitover authored
      In d1918c12 I manually sent a SIZE event to the DrawingPanel after
      calling Layout() in the setup code in OnIdle().
      
      But the obvious problem is that the ->Connect() calls to set up the
      event handlers, including SIZE, are after all the setup code including
      the Layout().
      
      Move the ->Connect() calls to the top of the setup code and remove the
      manual SIZE event sending. This is a much better solution that for some
      reason I didn't notice at the time.
      
      Tested to also fix the problem.
      247e584f
  6. 25 Mar, 2017 3 commits
  7. 24 Mar, 2017 4 commits
  8. 23 Mar, 2017 3 commits
    • Rafael Kitover's avatar
      32 bit cross compiling support on Linux · 41ead88d
      Rafael Kitover authored
      Add the `m32` parameter to ./installdeps to fetch 32 bit multilib
      dependencies on Fedora, Arch and Solus linuxes and add a cmake toolchain
      file to build with them.
      
      For MSYS2 support both an `m32` and an `m64` to choose deps for 32 bit
      or 64 bit mingw targets.
      
      Adjust build instructions from ./installdeps to support both usages.
      
      Other changes:
      
      - use --nogpgcheck --best --allowerasing for dnf invocations for Fedora,
        the --nogpgcheck is necessary when Rawhide is confused about which
        keys it has, and the latter two are needed for upgrades that remove
        unneeded deps etc
      
      - when finding GTK2, first try using pkg-config, and only fall back to
        the cmake script when that fails, pkg-config works better for cross
        builds
      
      - add cairo to dep lists in ./installdeps for the time being
      
      - for arch, list individual packages from base-devel instead of
        base-devel that do not require gcc-libs because of potential conflicts
        between gcc and gcc-multilib
      41ead88d
    • Zach Bacon's avatar
      Merge pull request #102 from JoshStrobl/patch-1 · 35252725
      Zach Bacon authored
      Simplified Solus installdeps
      35252725
    • Joshua Strobl's avatar
      Simplified Solus installdeps · 8013d226
      Joshua Strobl authored
      Multiple previously specified packages are either already in system.devel or are dependencies of items such as libgtk-2-devel or libgtk-3-devel, dependencies of those dependencies, etc.
      8013d226
  9. 22 Mar, 2017 1 commit
  10. 21 Mar, 2017 1 commit
  11. 20 Mar, 2017 1 commit
  12. 19 Mar, 2017 2 commits
    • Rafael Kitover's avatar
      cmake: default to ENABLE_ASM_CORE=OFF #98 #54 · 6af5525a
      Rafael Kitover authored
      The inline assembly in src/gba/GBA-thumb.cpp which is turned on with the
      cmake ENABLE_ASM_CORES option, sometimes causes weird behavior on
      windows (see: #54) and a crash on startup in linux (see: #98, confirmed
      on both Fedora and Arch Linux.)
      
      Previously the default for this option was ON for 32 bit builds, set the
      default to OFF always for the time being, until it is either fixed or
      replaced.
      6af5525a
    • Rafael Kitover's avatar
      fix src/filters/2xSaImmx.asm linking issues #98 · e1c1a5c9
      Rafael Kitover authored
      Because of how asm subroutines are linked to C/C++ programs,
      src/filters/2xSaImmx.asm had an %ifdef __DJGPP__ (the DOS port of gcc)
      with the subroutine names prepended with an extra underscore.
      
      In 902a7a7e I removed the %ifdef and just kept the extra underscore for
      all symbols, and this worked fine until #98 where some version of Fedora
      did not like that and would not link the code.
      
      So adopt the behavior of the other asm filters, which have a NEWSYM
      macro that defines the symbol name both with and without the extra
      underscore, by listing the symbol twice, both with and without the extra
      underscore, this is confirmed to fix the linking issue on that Fedora
      build host.
      e1c1a5c9
  13. 16 Mar, 2017 2 commits
  14. 14 Mar, 2017 1 commit
    • Rafael Kitover's avatar
      cmake: use add_compile_options for ssp-buffer-size · 2e8bee11
      Rafael Kitover authored
      In 82c8a1e3 I made "--param ssp-buffer-size=4" one argument instead of
      two because when added to CMAKE_REQUIRED_LIBRARIES the ssp-buffer-size=4
      part was being recognized as a library, breaking the compile tests.
      
      This broke the build on mac, which I fixed in 915e2d1e by using ssp
      flags for gcc only and not clang.
      
      Now apparently it is breaking mxe, so instead of adding this particular
      parameter to the MY_C_FLAGS variable which is then added to
      CMAKE_REQUIRED_* variables for compile tests, add it directly via
      ADD_COMPILE_OPTIONS().
      
      This should hopefully resolve any remaining issues with this compiler
      flag.
      2e8bee11
  15. 12 Mar, 2017 1 commit
    • Rafael Kitover's avatar
      activate libssp compiler flags for gcc only · 915e2d1e
      Rafael Kitover authored
      In 82c8a1e3 I made "--param ssp-buffer-size=4" one argument instead of
      two to fix another problem when passing compiler flags to
      CMAKE_REQUIRED_LIBRARIES, clang cannot deal with this and this breaks
      the build on mac.
      
      Enable libssp related flags for gcc only, because clang does not support
      them anyway. This fixes the build issue on mac.
      915e2d1e
  16. 10 Mar, 2017 1 commit
    • Rafael Kitover's avatar
      fix linux build broken in 687c08a0 · 82c8a1e3
      Rafael Kitover authored
      Stop saving and restoring the CMAKE_REQUIRED_* variables for the compile
      test, because the subsequent Wx header symbol tests need them set up for
      Wx support as well.
      
      Also --param foo=bar needs to be a single string in the list of compiler
      flags, or cmake can misinterpret the second part as a library when it is
      passed to libraries/link-options.
      82c8a1e3
  17. 09 Mar, 2017 2 commits
  18. 08 Mar, 2017 2 commits
    • Rafael Kitover's avatar
      fix 32bit intel detection for 32bit mxe target · 7b0baadb
      Rafael Kitover authored
      mxe leaves CMAKE_SYSTEM_PROCESSOR empty, so detect if mxe is being used
      and set the variable based on CMAKE_TOOLCHAIN_FILE, this allows the
      32bit asm to compile under mxe.
      
      Also if no toolchain file is being used and CMAKE_SYSTEM_PROCESSOR is
      empty, fall back to CMAKE_HOST_SYSTEM_PROCESSOR.
      7b0baadb
    • Rafael Kitover's avatar
      pass all compiler/linker flags for compile test · 687c08a0
      Rafael Kitover authored
      When determining gcc/clang flags, save resulting C flags as MY_C_FLAGS,
      C++ flags as MY_CXX_FLAGS, and linker flags as MY_C_LINKER_FLAGS, then
      use them in the Wx OpenGL compile test.
      
      This fixes the test erroneously failing on git mxe on mac.
      
      Also, don't use -fPIC on Win32, set Wx defines separately from the test,
      and save all CMAKE_REQUIRED_* variables before the test and restore them
      afterwards.
      687c08a0
  19. 07 Mar, 2017 1 commit
  20. 06 Mar, 2017 5 commits
    • Rafael Kitover's avatar
      fix sound in SDL port/ConfigManager · d1b4abc8
      Rafael Kitover authored
      Since we are using sound frequency to control game speed, not quality,
      change ConfigManager to default to a frequency of 44100 instead of
      22050.
      
      This also fixes trace.log files showing up with "unknown sound quality"
      warnings.
      d1b4abc8
    • Rafael Kitover's avatar
      fix Ubuntu PPA link · f2bfc549
      Rafael Kitover authored
      Also add a note that it's easy to build from source.
      f2bfc549
    • Rafael Kitover's avatar
      minor doc tweaks · 9dc74015
      Rafael Kitover authored
      - Add Ubuntu daily PPA link.
      
      - Add link to releases tab for win/mac builds.
      
      - Advise `make -j8` instead of `make -j10`.
      
      - Clarify which dependencies are optional and which are required.
      
      - Add ENABLE_ASM cmake option to the table.
      
      - Replace wxLogDebug with wxString example to use .utf8_str() instead of
        concatenation, this is more correct.
      9dc74015
    • Rafael Kitover's avatar
      add ENABLE_ASM cmake option · fef71439
      Rafael Kitover authored
      Add the ENABLE_ASM flag for cmake which turns ON or OFF the
      ENABLE_ASM_CORE, ENABLE_ASM_SCALERS and the ENABLE_MMX options at once.
      fef71439
    • Zach Bacon's avatar
      eb7dab62