This project is mirrored from https://*****@github.com/libretro/vbam-libretro.git. Pull mirroring updated .
  1. 24 Feb, 2019 1 commit
  2. 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
  3. 22 Feb, 2019 4 commits
  4. 21 Feb, 2019 2 commits
  5. 16 Feb, 2019 1 commit
  6. 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
  7. 05 Feb, 2019 2 commits
  8. 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
  9. 02 Feb, 2019 4 commits
  10. 01 Feb, 2019 2 commits
  11. 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
  12. 30 Jan, 2019 2 commits
  13. 29 Jan, 2019 4 commits
  14. 26 Jan, 2019 1 commit
  15. 24 Jan, 2019 1 commit
  16. 23 Jan, 2019 1 commit
  17. 21 Jan, 2019 3 commits
    • ZachBacon's avatar
      Update wxwidgets to 3.1.2 · 3eb591ca
      ZachBacon authored
      3eb591ca
    • retro-wertz's avatar
      GB: Fix rumble support (MBC5) · 3b87576e
      retro-wertz authored
      - Fix missing call to rumble function on MBC5
      - fix rumble flag gets disabled causing rumble not to work at all.
      3b87576e
    • retro-wertz's avatar
      libretro: Add support for tilt, gyro sensors and rumble pak (WIP) · 089d7a40
      retro-wertz authored
      - Uses analog stick to simulate tilt and gyro hw. By default, tilt uses
      the right analog stick while gyro uses the left. The analog stick can be
      swapped using a core option provided and with separate sensitivity level
      for both sensors. WIP and will be fine tuned later (Kirby was fun to
      play at least)
      - Minor retro_run() cleanup and some minor stuff i forgot.
      089d7a40
  18. 19 Jan, 2019 1 commit
  19. 18 Jan, 2019 1 commit
    • retro-wertz's avatar
      libretro: Update input descriptors for 4-player SGB and cleanup... · a2b3dd76
      retro-wertz authored
      - Updates descriptors for 4-player SGB
      - Remove alternate gamepad layouts for GBA
      - Prevent crash when SGB border option executes at startup when GB is not
      initialized yet
      - Update input turbo function for 4-player support
      - Minor cleanups (texts, style nits, etc)...
      a2b3dd76
  20. 17 Jan, 2019 3 commits
  21. 14 Jan, 2019 2 commits
    • retro-wertz's avatar
      libretro: Use gbWram[] for $C000 in CGB mode · 59f76d05
      retro-wertz authored
      This uses full size of gbWram[] so we have a continouos memory block
      for RAM addresses $C000 and $D000 in CGB mode. This helps with
      retroachievements.
      59f76d05
    • retro-wertz's avatar
      libretro: Fix GB games that uses serial (WIP) · f9efb79a
      retro-wertz authored
      Allow serial emulation without having the need to run link-related
      communication stuff (NO_LINK define). Some games need this e.g. RC Pro-AM
      racing. Dummy funcs/vars are added as placeholders.
      
      Currently work-in-progress and might need to disable some more NO_LINK
      sections.
      f9efb79a