Commit Graph

2788 Commits

Author SHA1 Message Date
Rafael Kitover 96ce316bcd
Update openssh instructions for windows env.
Add commands to delete the ssh-agent service, otherwise the installer
throws an error.

Add instructions for setting permissions on authorized_keys and private
key.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-07-22 16:14:48 +00:00
Rafael Kitover f23fae6559
Add nuget package source for Windows build.
This fixes the "Unable to find package ..." error.

Thanks to:

https://stackoverflow.com/a/65012088/262458

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-07-21 12:55:15 +00:00
Autechre 254f6effeb
Merge pull request #105 from negativeExponent/flash_erase_ff
Flash : Erased memory is FFh-filled
2021-07-04 19:36:43 +02:00
negativeExponent 983ea451d0 Flash : Erased memory is FFh-filled
https://akkit.org/info/gbatek.htm#gbacartbackupflashrom
2021-07-05 00:02:02 +08:00
laqieer 18e387d165 Fix Flash chip's erase operation: erased memory is FFh-filled, not zero-filled. 2021-07-03 21:38:46 +08:00
Rafael Kitover c08bb6bdb0
Minor updates to win dev manual.
Add instructions for setting up sshd and gpg plus minor edits.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-07-03 01:08:53 +00:00
Rafael Kitover 9b6740c0e5
Minor updates to Windows section of dev manual.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-06-30 14:04:25 +00:00
Rafael Kitover 26cfbee696
Transifex pull.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-06-29 11:06:23 +00:00
Autechre eb6c434e29
Merge pull request #104 from negativeExponent/libretro
update
2021-05-28 01:56:31 +02:00
negativeExponent c05056ab91 HuC3: Update
- Minor refactoring, some variable name and type changes
- Remove unnecessary checks in clock latch
- Fix stuck in whitescreen after Hudson startup logo
- Fix Gamepak error message at initial load of game without prior rtc
  data available to load
- Save the bare-minimum variable needed for rtc (saves only
  Basetime/lastTime)
2021-05-27 13:56:21 +08:00
Autechre 6dca6fe8df
Merge pull request #103 from negativeExponent/huc3
HuC3: Refactoring to avoid breaking savestates
2021-05-25 06:36:40 +02:00
negativeExponent 93084990b2 HuC3: Refactoring to avoid breaking savestates
Savestates are broken due to the change in savestate struct size for
HuC3. Since save/load function also includes save data for other
non-active mappers, the change in size breaks every savesfiles being
made.

This PR refactors the HuC3 clock data struct to be separate from the
main struct, and then only added to save/load functions when HuC3 mapper
is used. This still breaks previous HuC3 states but other mappers should
now not get affected

Solution:
Savestate/LoadState should only include mapper data of current active
running rom, not all mappers even if they are inactive. This will break
every savefile but it would be better for the long run when changes are
neede to be done.
2021-05-25 12:14:33 +08:00
Autechre 5187d70e30
Merge pull request #102 from negativeExponent/huc3
HuC3 Enable save support and update RTC
2021-05-25 05:30:51 +02:00
negativeExponent ab7f7baab0 Libretro: Only enable RTC save if gbRTCPresent=1 2021-05-25 09:52:44 +08:00
negativeExponent 05a046e7ed HuC3: Enable battery save, update RTC support
- SRAM support is already available, but the battery-enabled flag was
  not enable for 0xFE (HuC3) rom types.
- Hookup rtc support based on local time. This would allow time to sync
  when starting the game. You need to initially set the time first
though on first bootup (RTC support was based on gambatte sources)

Fix https://github.com/libretro/vbam-libretro/issues/95
2021-05-25 09:46:31 +08:00
Autechre 685a495d5c
Merge pull request #101 from negativeExponent/patch-1
android: Fix build
2021-05-23 03:16:04 +02:00
negativeExponent fcc8b273c3
android: Fix build 2021-05-23 08:58:43 +08:00
Autechre 501909c57b
Merge pull request #99 from negativeExponent/libretro_updates
update
2021-05-22 05:15:30 +02:00
negativeExponent bdb65596ce Libretro: Remove serial emulation workaround
These are not needed anymore due to previous 2 commits.
2021-05-22 08:29:16 +08:00
negativeExponent 70477dcd9b GBA:Fix serial emulation if compiled with NO_LINK 2021-05-22 08:26:19 +08:00
negativeExponent 15bcad1351 GB:Fix serial emulation when compiled with NO_LINK
Fix https://github.com/libretro/vbam-libretro/issues/83
2021-05-22 08:17:11 +08:00
Autechre e38b4c40c9
Merge pull request #98 from negativeExponent/libretro_updates
Libretro updates
2021-05-21 18:39:52 +02:00
negativeExponent a9f35645b7 DMA:Linger last DMA on bus (Backport 511e58c849) 2021-05-21 17:37:58 +08:00
negativeExponent 025f3079b1 GBA:Fix a few memory read/write issues
- Affects both aligned and unaligned in unsigned 8/16/32 and signed 16
  reads/writes
- Rom out-of-bounds reads
- SRAM r/w access
- etc
2021-05-21 14:54:54 +08:00
negativeExponent 4e5b61f220 Backport fix e560db692f 2021-05-21 12:49:47 +08:00
negativeExponent 19aae231c0 Wrap these with #ifdef BKPT_SUPPORT 2021-05-20 15:06:50 +08:00
negativeExponent 21c08e9d9f Cleanup unused variables 2021-05-20 15:01:40 +08:00
negativeExponent 11bd3e0eee Silence warning [-Wsign-compare] 2021-05-20 14:46:26 +08:00
negativeExponent 6afbc9a09c Remove unused files and folders 2021-05-20 14:46:26 +08:00
negativeExponent 25fefc1b3d Implement libretro input bitmask 2021-05-20 14:12:08 +08:00
Fabrice de Gans-Riberi e91b5e1eac Use constant aliases in MainFrame::FilterEvent()
Previously, this function returned -1 or "true" but wxWidgets
defines constants for the returned values for FilterEvent()
overrides so use these instead.
2021-04-28 16:06:38 -07:00
Autechre 109573dea6
Merge pull request #97 from ds22x/master
Add descriptions for the 'Interframe Blending' and 'LCD Color Filter' options
2021-03-16 02:09:53 +01:00
ds22x 210e79bb74 Add descriptions for the 'Interframe Blending' and 'LCD Color Filter' options 2021-03-16 00:17:19 +01:00
twinaphex f355646fb8 Add ios-arm64/tvos-arm64 2021-03-14 11:50:23 +01:00
Rafael Kitover e55ed5c0f4
installdeps: Support NixOS.
Add a `default.nix` with the list of dependencies.

Detect NixOS in installdeps and display the `nix-shell` command to
build.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-02-27 05:10:55 +00:00
Rafael Kitover 544715ddaa
Transifex pull.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-02-11 03:08:30 +00:00
Rafael Kitover 31789aafba
Merge remote-tracking branch 'libretro/master'
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-02-11 02:13:55 +00:00
Rafael Kitover 8a3456f823
Default to not change battery on state load.
This is a more reasonable and less destructive default.

Fix #781.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-02-09 15:01:22 +00:00
Rafael Kitover 1b6d9557a2
docs: Specify that nightlies are Windows and Mac.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-02-02 01:55:22 -08:00
Rafael Kitover ab68794361
cmake: Fix mac app zip + misc..
Remove keychain unlock for codesigning, that doesn't work anymore, the
key has to be in the system keychain.

Use `zip -9yr` instead of `zip -9r` to make the .zip file of the .app so
that symlinks are preserved, this was creating a corrupted .app.

Don't build zip in the mac builder, use the system zip instead.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-02-02 01:49:16 -08:00
Rafael Kitover eaf4785915
builder: Update for mac builds on Big Sur 11.1.
Update to latest versions of cmake, libxml2 (and libxml2-python),
graphviz, python3, libgpg-error, libx265 and ffmpeg.

Downgrade wxWidgets to 3.0.5 because newer versions require a 10.10
target but we are still targeting 10.7.

python3 has fixed linking to static openssl and libiconv/libintl
upstream, the only thing necessary now is adding -liconv -lintl to
EXTRA_LIBS.

It was necessary to override -std=gnu++17 with -std=gnu++11 for some
sources because of issues like register variables not being allowed in
C++17. This was done in EXTRA_CXXFLAGS.

c2man and graphviz were removed from the mac build for now, there are
issues with them with the newest build tools and they are only
documentation tools.

Make some other minor adjustments to get everything to build. A trivial
patch for ffmpeg also needs to be sent upstream.

The next step is automated mac nightly builds.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-02-01 09:39:48 -08:00
twinaphex c13de4518c (macOS) Add 64bit ARM MacOS support 2021-01-29 19:25:53 +01:00
Squall Leonhart b50ff8584c add a missing break in half word reads
Fixes illegal halfword and byte reads (Croket! 2 slowdown)
2021-01-27 05:35:48 +00:00
Clownacy b0c029a389 SDL: Fix more indentation mistakes 2021-01-24 06:09:13 +00:00
Clownacy 524c594a73 SDL: Use sizeof to determine buffer sizes
I think the use of 2048 was a typo, so this prevents one like that
from happening again.
2021-01-24 06:09:13 +00:00
Clownacy d464bc4dfe SDL: Fix Windows build never searching PATH
Some local variable was blocking the global variable.
2021-01-24 06:09:13 +00:00
Clownacy 2a237aea6b SDL: Mark some parameters as const 2021-01-24 06:09:13 +00:00
Clownacy d412711465 SDL: Silence a warning and optimise some logic 2021-01-24 06:09:13 +00:00
Clownacy fd445481a0 Minor cleanup to SDL.cpp
Just a typo and some inconsistent indentation
2021-01-24 06:09:13 +00:00
Rafael Kitover 1fb37d3370
Transifex pull.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-01-12 02:50:18 +00:00