This project is mirrored from https://*****@github.com/libretro/vbam-libretro.git. Pull mirroring updated .
  1. 07 Mar, 2019 2 commits
  2. 06 Mar, 2019 1 commit
    • Edênis Freindorfer Azevedo's avatar
      XDG Base Dir Spec followup #383 · 36453885
      Edênis Freindorfer Azevedo authored
      * Add XDG Base Dir Spec for other Unix alike platform.
      
      * Add XDG Base Dir support for the fallback on SDL port.
      
      * Add migration for Unix configuration file.
      We migrate from 'vbam.conf' to 'vbam.ini' automatically.
      
      * Refactor code for portability of dir creation functions.
      
      * Fix for MacOS compilation directive.
      36453885
  3. 03 Mar, 2019 1 commit
  4. 02 Mar, 2019 3 commits
  5. 01 Mar, 2019 1 commit
  6. 26 Feb, 2019 1 commit
  7. 25 Feb, 2019 2 commits
  8. 24 Feb, 2019 1 commit
  9. 23 Feb, 2019 1 commit
    • Rafael Kitover's avatar
      GB: fix 32/64 bit save/state incompatibility · 98cb298e
      Rafael Kitover authored
      
      
      The MBC3 and TAMA5 battery formats save the RTC data including a
      `time_t` field which is the last field.
      
      Since `time_t` is 32 bits for 32 bit builds and 64 bits for 64 bit
      builds, pad it in the two battery structs with a `uint64_t` and detect
      the 4 byte shorter saves made by older 32 bit builds.
      
      Also remove some pointless code in save state reading that also uses
      `sizeof(time_t)`.
      
      Add two new constants for RTC data size in gbMemory.h and use them.
      Signed-off-by: default avatarRafael Kitover <rkitover@gmail.com>
      98cb298e
  10. 22 Feb, 2019 4 commits
  11. 21 Feb, 2019 2 commits
  12. 16 Feb, 2019 1 commit
  13. 14 Feb, 2019 1 commit
    • Rafael Kitover's avatar
      cmake: don't use ccache on msys2+ninja · 5a77d8f4
      Rafael Kitover authored
      
      
      When using msys ccache with a mingw ninja, the compiler fails to
      execute.
      
      Don't try to detect ccache when using the Ninja generator on msys2, it
      can still be specified through cmake variables.
      
      Do not check for the mingw ccache because it is broken and I will assume
      not being used.
      Signed-off-by: default avatarRafael Kitover <rkitover@gmail.com>
      5a77d8f4
  14. 05 Feb, 2019 2 commits
  15. 03 Feb, 2019 2 commits
    • Rafael Kitover's avatar
      fix libretro build broken in 16dd5d40 #339 · eb6dfb4b
      Rafael Kitover authored
      Conditionally compile out the code for the feature implemented in
      16dd5d40
      
       (which is the throttle and frame skip configuration for the
      speedup button) for libretro, and use the old behavior of skipping 9
      frames.
      
      Affects GBA.cpp and GB.cpp .
      Signed-off-by: default avatarRafael Kitover <rkitover@gmail.com>
      eb6dfb4b
    • Rafael Kitover's avatar
      make speedup/turbo configurable + misc #339 · 16dd5d40
      Rafael Kitover authored
      
      
      Add Speedup / Turbo configuration panel which allows setting the
      throttle or number of frames to skip for when the speed key is pressed
      or turbo is enabled (which just presses the speed key.)
      
      Throttle and frame-skip are mutually exclusive, throttle must be 0 (no
      throttle) when number of frames to skip is non-zero. The dialog controls
      handle this.
      
      This is implemented in the core in GBA.cpp, GB.cpp and ConfigManager.
      
      Two new options are added both in ConfigManager and in the wx options,
      speedup_throttle and speedup_frame_skip, the defaults are:
      
      ```
      speedup_throttle   = 0 (no throttle)
      speedup_frame_skip = 9
      ```
      
      this was the original behavior.
      
      Add support for unsigned ints to wx/opts.cpp for these and for throttle,
      this requires a new validator wxUIntValidator to use them in spin
      controls.
      
      Clean up appearance of the throttle spin control in the General dialog.
      
      Maximum throttle and speedup_throttle is 600, values much over 500 will
      not behave differently from 0 on modern hardware.
      
      Maximum frame skip is 30 at the moment.
      Signed-off-by: default avatarRafael Kitover <rkitover@gmail.com>
      16dd5d40
  16. 02 Feb, 2019 4 commits
  17. 01 Feb, 2019 2 commits
  18. 31 Jan, 2019 1 commit
    • Rafael Kitover's avatar
      fix drawing panel alignment in frame #325 · f8c69531
      Rafael Kitover authored
      
      
      Add wxEXPAND spacers to frame wxBoxSizer on the top and bottom around
      the drawing panel so that panel is correctly centered if maximum zoom is
      set.
      
      Set proportion to 1 on the spacers and 0 on the panel so that both
      centering with maximum zoom and full expansion work correctly.
      
      Refactor frame OnSize event: pass a dummy userdata pointer to
      distinguish resizing the frame from resizing the panel, and call
      Layout() when the frame is resized.
      Signed-off-by: default avatarRafael Kitover <rkitover@gmail.com>
      f8c69531
  19. 30 Jan, 2019 2 commits
  20. 29 Jan, 2019 4 commits
  21. 26 Jan, 2019 1 commit
  22. 24 Jan, 2019 1 commit