Commit graph

33822 commits

Author SHA1 Message Date
R2DLiu
c9a8039957 hack out a test gui 2020-07-16 18:38:28 -04:00
R2DLiu
625c26c1b3 defaults 2020-07-16 18:38:28 -04:00
R2DLiu
228a0b4390 delete a bunch of files and add slippi gecko codes 2020-07-16 18:38:28 -04:00
R2DLiu
e9507c7d8c Fixes #22, #16, and possibly 7: Rewrite file read function to actually pull proper files from filesystem of iso volume 2020-07-16 18:38:27 -04:00
Edgar Handal
1c94125e6e Replace backslashes with slashes for Windows home dir 2020-07-16 18:38:27 -04:00
Edgar Handal
79e64c5381 Cleanup SlippiPane member vars 2020-07-16 18:38:27 -04:00
Edgar Handal
062508ee56 Connect Slippi pane 2020-07-16 18:38:27 -04:00
Edgar Handal
adc2051c9a Don't add Source/Core/Core to include path 2020-07-16 18:38:27 -04:00
Edgar Handal
10eea11525 Add missing includes 2020-07-16 18:38:27 -04:00
Ryan McGrath
ad66aedd04 Initial fixes to build on macOS. 2020-07-16 18:38:27 -04:00
Edgar Handal
bccb8f8b72 Fix non-Windows netplay QoS check 2020-07-16 18:35:28 -04:00
Edgar Handal
265b58e880 Fix case sensitive NetPlayProto.h include 2020-07-16 18:35:28 -04:00
Edgar Handal
774f7c647a Delete Externals/soundtouch/assert.h 2020-07-16 18:35:28 -04:00
Edgar Handal
22a5a3859f Fix tabs in CMakeLists.txt 2020-07-16 18:35:28 -04:00
Edgar Handal
ceb52be698 Set SlippiLib cmake min to 3.10 2020-07-16 18:35:28 -04:00
David Liu
fb91e87f78 Update Readme.md 2020-07-16 18:35:28 -04:00
David Liu
76e744995e Update Readme.md 2020-07-16 18:35:28 -04:00
David Liu
ca5536fc46 Update Readme.md 2020-07-16 18:35:28 -04:00
R2DLiu
ced28d629d Compiling. Online and rollback work. Replays broken currently 2020-07-16 18:35:28 -04:00
R2DLiu
6228f14bb6 squash more compiler errors 2020-07-16 18:35:28 -04:00
Edgar Handal
cfeaf28c19 Fix SlippiPane code formatting using clang-format 2020-07-16 18:35:28 -04:00
R2DLiu
6857a445e4 More errors pounded down 2020-07-16 18:35:28 -04:00
R2DLiu
51a060caec Fix random build errors 2020-07-16 18:35:28 -04:00
R2DLiu
746ab9586b rest of the fucking owl 2020-07-16 18:35:28 -04:00
R2DLiu
79cf986d36 everything up to exi devices moved 2020-07-16 18:35:27 -04:00
Edgar Handal
56977eb4cd Fix tab in cmake file 2020-07-16 18:34:12 -04:00
R2DLiu
a850aa8ee4 Add all the bullshit string util conversions. Lots to refactor eventually 2020-07-16 18:34:12 -04:00
R2DLiu
a946529236 Add legacy function removed from mainline 2020-07-16 18:34:11 -04:00
R2DLiu
89275f3126 FileUtils code moved. Refactor eventually 2020-07-16 18:34:11 -04:00
R2DLiu
f636d84302 Add Overwrite folder 2020-07-16 18:34:11 -04:00
R2DLiu
406a2de980 add semver library 2020-07-16 18:34:10 -04:00
R2DLiu
b4bfc604c8 add opencv-diff library; refactor slippi game a little 2020-07-16 18:34:10 -04:00
R2DLiu
54467c18b1 File IO Functions 2020-07-16 18:34:09 -04:00
Edgar Handal
0ea09f309d Use C++ style struct declarations to fix build 2020-07-16 18:34:09 -04:00
Edgar Handal
6e1c10f2ad Add Slippi pane to settings 2020-07-16 18:34:08 -04:00
Edgar Handal
3533d8cdde Fix tab in cmake file 2020-07-16 18:34:08 -04:00
Edgar Handal
7f091cdc02 Delete non-SSBM GameSetting .ini files 2020-07-16 18:34:08 -04:00
R2DLiu
5008d82eaf slippi game ported and restructured somewhat. TODO: refactor 2020-07-16 18:34:08 -04:00
LC
c59648337a
Merge pull request #8955 from JosJuice/android-no-ashmem
Android: Don't access /dev/ashmem on newer Android versions
2020-07-16 14:23:51 -04:00
LC
d987cf1dde
Merge pull request #8957 from JosJuice/android-strerror-r
Add Android check for strerror_r variant
2020-07-16 14:19:05 -04:00
JosJuice
00cde7cbbd Android: Don't access /dev/ashmem on newer Android versions
Fixes a critical regression where 95945a0 made us unable to
start emulation on Android 10 and newer. Android is restricting
direct access to /dev/ashmem starting with the new SDK version,
but we can use the new (and simpler) ASharedMemory API instead.
We have to keep using the /dev/ashmem approach on old versions
of Android, though.
2020-07-16 20:06:58 +02:00
JosJuice
f2cc3a2948 Add Android check for strerror_r variant
I don't know why Android does it like this, but at least
it's easy to fix. (We are currently at __ANDROID_API__ == 21.)
2020-07-16 18:51:58 +02:00
nyanpasu64
1a2b6ca2d6 Fix Windows CMake builds with shared zlib
On Linux, if shared zlib is present, zlib.h is always available and -lz
links to zlib, even if you don't run find_package(ZLIB).

For some reason I have zlib installed on Windows (possibly from vcpkg),
so find_package(ZLIB) succeeds and ZLIB_FOUND is true.
When Dolphin uses shared zlib on Windows, the problem is that zlib.h
is not in the default include path, and the CMake target is called
ZLIB::ZLIB and there's neither a target nor a library called z.

However, both find_package(ZLIB) and add_subdirectory(Externals/zlib)
create a target called ZLIB::ZLIB, so I'll switch to that instead.
Hopefully this change doesn't break anyone's build.
2020-07-15 23:25:18 -07:00
Admiral H. Curtiss
556e93f357 GCMemcard: Change behavior of TitlePresent() to more closely resemble how saves are actually identified.
This modifies GCMemcard::TitlePresent() to match my findings of how the GC BIOS and various games behave when you alter the fields in the directory entry.

It looks like for a save to be recognized by a game, the following have to be true:
- Game code and maker code must exactly match what the game expects.
- Filename is only checked up to the first null byte. All bytes afterwards can be whatever.

The BIOS itself does a full compare of the filename when checking for whether it should allow copying a file from one card to another, but behaves oddly in some cases when there's non-null bytes after the first null. See the big comment in `HasSameIdentity()` for details.
2020-07-15 19:17:22 +02:00
LC
b6ee3228be
Merge pull request #8953 from JosJuice/android-target-sdk-29
Android: Increase targetSdkVersion to 29
2020-07-14 12:51:44 -04:00
Tilka
a98df567b1
Merge pull request #8949 from JosJuice/android-cache
Android: Use system cache directory as cache directory
2020-07-13 12:21:21 +01:00
Tilka
695a96498a
Merge pull request #8922 from Filoppi/timer-fixes
Timer fixes
2020-07-13 00:16:45 +01:00
JMC47
3c70fb7277
Merge pull request #8950 from jordan-woyak/double-time-fix
Common/Timer: Fix integer underflow in Timer::GetDoubleTime for dates before ~2008.
2020-07-12 15:52:15 -04:00
Jordan Woyak
eab07866a3 Common/Timer: Fix integer underflow in Timer::GetDoubleTime for dates before ~2008. 2020-07-12 12:55:02 -05:00
LC
4d36f6a5b0
Merge pull request #8936 from jordan-woyak/wiimote-extension-calibration-fix
ControllerInterface/Wiimote: Provide fallback values for extensions with bad calibration.
2020-07-12 12:46:15 -04:00