Commit Graph

703 Commits

Author SHA1 Message Date
twinaphex b45acf2223 MSVC buildfixes 2021-05-21 17:09:55 +02:00
Jamiras 216deda910 replace sprintf with snprintf 2021-05-18 08:31:44 -06:00
jdgleaver a501dfd680 Update 7-Zip dependency to latest stable version (fixes CHD support on static platforms) 2021-04-28 12:00:50 +01:00
Jamiras d4ba7579d1 update achievement memory maps 2021-04-20 20:08:46 -06:00
twinaphex 65c01b35ec Go back to Discord RPC I/O Thread codepath for now - the non-I/O
thread codepath seems to be unreliable for now
2021-04-13 16:44:46 +02:00
Jamiras 5530b7022f attempt to silence return-local-addr warning 2021-04-10 14:51:41 -06:00
Salvo Cristaldi 5bff99b3bf Add some PSL1GHT ifdefs 2021-03-05 10:49:02 +01:00
Jamiras 2d841715cb include achievement runtime state in save states 2021-02-17 19:44:39 -07:00
twinaphex 170b3e3e44 Fix some warnings - values written to variables never read 2021-02-10 00:49:41 +01:00
twinaphex 5b923b967d (7zip) Silence warnings on OSX/Xcode/Clang 2021-02-08 09:32:19 +01:00
Twinaphex a83c328631 (Metal) Fix some build problems 2021-01-19 04:38:07 +01:00
Jamiras ca2c57a5a1 traverse list in reverse order in case items are removed by callback 2021-01-17 22:33:48 -07:00
OsirizX b96a0c495a [VITA] Add support for Vita GLES2 (PIGLET) 2021-01-06 19:14:30 +01:00
twinaphex 357b7d68f6 (libretro-common) Rename rhash to lrc_hash
(rcheevos) Rename rhash to rc_hash
2020-12-28 19:55:54 +01:00
Reid Kleckner e4b9311ac1 Remove glslang::pool_allocator::setAllocator
TPoolAllocator is not copy assignable, so this setter could never have
been used. After a recent change (878a24ee2), new versions of Clang
reject this code outright.
2020-12-23 20:51:55 -06:00
twinaphex 870707dbe8 Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead 2020-12-19 15:32:26 +01:00
Jamiras 76074a76fe fix discord rich presence 2020-12-03 09:42:40 -07:00
SimpleTease 8017ecd2b8 ibxm: update to 20191214
- Fix music playback (sample skipping)
- Add more platforms
- Fix Mr. Boom music
2020-11-21 20:30:19 +00:00
jdgleaver e582cf9f1d OpenDingux: Add rumble support 2020-11-17 16:13:37 +00:00
Francisco José García García e78c8448c9 [VITA] Remove vitaGL and vitaShark from deps dir 2020-11-14 09:57:40 +01:00
Francisco José García García 0705650c18
[VITA] Fix vitaGL merging 2020-11-14 09:11:42 +01:00
frangarcj 046fab9ddd Merge commit '169ad6fa52457a67975bfe4491a0412b5069d822' 2020-11-13 14:33:48 +01:00
twinaphex 7c2fda77f8 (Discord) Cleanups 2020-11-08 19:27:34 +01:00
twinaphex 27dc500ed1 (Discord RPC) Cleanups 2020-11-08 18:49:20 +01:00
Bernhard Schelling f6f8d3e235 Replace rapidjson parser/writer in discord-rpc with rjson 2020-10-29 16:55:23 +09:00
Francisco José García García e649617297 [VITA] Fix name collision 2020-10-24 10:27:33 +02:00
Francisco José García García 971a2a394e [VITA] Fix VitaGL symbol changes 2020-10-16 20:29:17 +02:00
Francisco José García García c44e06c7d8 Merge commit '8838992085f3d5d8d5a2b5ab80aad72b5cc69a5f' 2020-10-16 20:24:44 +02:00
twinaphex a117811936 (rapidjson) Remove unused files 2020-09-21 01:27:41 +02:00
Nargash c0aecc70aa extend cheevos password length to 255 characters 2020-09-19 09:14:28 -05:00
Alcaro 3849278b50 Add BearSSL as a vendored dependency 2020-09-19 00:31:20 +02:00
Jamiras b15411dad8 generic memory mapping using rcheevos 2020-08-11 09:26:04 -06:00
twinaphex 4f931f2729 Use UINT32_C / UINT64_C throughout the codebase 2020-07-29 04:48:11 +02:00
twinaphex 1f0529a275 (libz) Silence some warnings - use INT64_C/UINT64_C 2020-07-29 04:41:13 +02:00
twinaphex eba83390ba Warning fixes 2020-07-23 07:39:08 +02:00
twinaphex 128a65cc4c Prevent more warnings 2020-07-23 05:24:33 +02:00
twinaphex 7a0338f5cc CXX_BUILD fix 2020-07-11 08:12:57 +02:00
Jamiras 05845fc5d7 upgrade to rcheevos 9.1 2020-07-06 07:33:10 -06:00
Francisco José García García e21558c207 [VITA] Fix a typo in renaming mem_init to vgl_mem_init 2020-07-05 12:34:48 +02:00
Francisco José García García 1af9fb9247
Merge pull request #10968 from libretro/vitashark
[VITA] Add support for provided runtime shader compiler
2020-07-05 12:16:36 +02:00
Francisco José García García 3227dbcfe8 [VITA] Fix VitaGL and add VitaShaRK 2020-07-05 12:11:36 +02:00
Francisco José García García 6004d2db39 Merge commit '2b1146d46e4993dd936f21ef713be88c7bcfc718' as 'deps/vitaShaRK' 2020-07-05 11:56:47 +02:00
Francisco José García García a2af2f6d61 Merge commit '51922ea5be5e2448b1cbde5f6c083b62e092389c' 2020-07-05 11:54:55 +02:00
Francisco José García García 51922ea5be Squashed 'deps/vitaGL/' changes from c816fec50f..2934af8af0
2934af8af0 Added Patreon sponsor link.
c8f18b6f0f Getting current program only when required for vglDrawObjects.
4c5d136b0d Added directive to enable vitaShaRK usage from cmd.
4a10df3be5 Minor adjustments and bugfixes.
14a0124acf Added GL_TEXTURE_LOD_BIAS support.
40c8c6205e Added GL_NONE def and fixed glUniform4f impl.
868079c51e Added glUniform4f implementation.
0a682cbad2 Typo fix.
be3ce61ae7 Added GL_DEPTH_BITS and GL_STENCIL_BITS support.
21e6d1d330 Added runtime shader compiler support.
696e40bc62 Beautify error handler code.
537b37b110 Added glUniform3fv implementation.
7dd1403015 Fixed GLenum size and added missing types defines.
0c75f27ff1 Moved to NEON optimized memcpy usage.
98951895de Added gluPerspective implementation.
23e0b0b309 Fix for vglInitExtended not working on sys app mode.
4989c33ef5 Run clang-format.
429f1c1d8a Added system mode support.
9231680d02 Initializing sceGxm before free mem checking on vglInitExtended.
091e5e7882 Added vglInitWithCustomSizes.
f4c646ea78 Added vglSetParamBufferSize.
1b9a063c41 Beautify some code.
089e81efc5 Fix for duplicated symbols
789dcbf812 Typo fix in readRGBA4444.
1514a4b2cb Disabling lto due to it being broken on vitasdk with gcc 9.1.
fca18d9ab7 Added support for RGBA4444 texture format.
d449f12808 Added support for RGB565 texture format.

git-subtree-dir: deps/vitaGL
git-subtree-split: 2934af8af083a9acf598ab75233c518a251c6f0d
2020-07-05 11:43:47 +02:00
twinaphex 6fcd1406c3 Backport 89245c0a84 (diff-327188edf18799ffbb5a51cc69f797e8) 2020-07-03 22:18:11 +02:00
twinaphex 2063f4ac41 (libz) Backport 9852c209ac 2020-07-03 22:16:40 +02:00
twinaphex da9a0786f7 (zlib) Backport 60a5ecc62b (diff-e17b59778d9aff01f3b9b23f56d76d48) 2020-07-03 19:21:45 +02:00
twinaphex b1d82f1b27 (zlib) Backport 44e8ac810d (diff-327188edf18799ffbb5a51cc69f797e8) 2020-07-03 19:05:32 +02:00
twinaphex 9aa27010b8 (zlib) Backports from https://github.com/jtkukunas/zlib 2020-07-03 18:58:55 +02:00
twinaphex 8dd4819fd3 (libz) Replace two callocs with malloc 2020-07-02 23:57:54 +02:00
twinaphex 60c0470a88 (deps/libz) Cleanups 2020-07-02 20:48:54 +02:00
twinaphex 1f86ea1c4c (deps/libz) Cleanups 2020-07-02 18:55:54 +02:00
twinaphex c86ba43c73 (deps/libz) Cleanups 2020-07-02 18:48:23 +02:00
twinaphex 169bb24ca1 (deps/libz) Cleanups 2020-07-02 01:10:36 +02:00
twinaphex 937396d784 (deps/libz) Cleanups 2020-07-01 23:43:32 +02:00
twinaphex b3d12c3dc9 (deps/libz) Backport 9aaec95e82 2020-07-01 23:39:26 +02:00
twinaphex 473f43daf7 (deps/mbedtls) Cleanups 2020-07-01 17:02:45 +02:00
twinaphex da29ab063e Cleanups 2020-07-01 16:57:34 +02:00
twinaphex 867daa7efb (deps/7zip) Cleanups 2020-07-01 16:50:54 +02:00
twinaphex af5eacf9d0 (Mbedtls) Assume HAVE_TIME 2020-07-01 05:27:36 +02:00
twinaphex f1a8c07dfe (deps/mbedtls) Cleanups 2020-07-01 04:50:31 +02:00
twinaphex 539beed10a (deps/mbedtls) Remove error.c 2020-07-01 04:40:23 +02:00
twinaphex 5d9deb58c2 (mbedtls) Get rid of deprecated functions 2020-07-01 04:33:16 +02:00
twinaphex 35577ae15b (mbedtls) Get rid of exit function pointer 2020-07-01 04:26:49 +02:00
twinaphex a9d29758b6 (mbedtls) Some C89_BUILD fixes - doesn't compile yet 2020-07-01 04:19:45 +02:00
twinaphex ae7353993a (mbedtls) should now be CXX_BUILD compatible 2020-07-01 04:12:47 +02:00
twinaphex 3580db3ebe (deps/mbedtls) Cleanups 2020-07-01 03:48:13 +02:00
twinaphex 996840d2d4 Cleanups 2020-07-01 03:30:22 +02:00
twinaphex e5dc2b5bcb (mbedtls) Cleanups 2020-07-01 03:23:46 +02:00
twinaphex c664463242 (mbedtls) Remove MBEDTLS_CMAC_C 2020-07-01 01:43:50 +02:00
twinaphex fe9d92b208 (mbedtls) Cleanups 2020-07-01 01:41:48 +02:00
twinaphex d6ec4029db (mbedtls) Remove MBEDTLS_DEBUG_C 2020-07-01 01:29:27 +02:00
twinaphex 308e16f63e Cleanups 2020-07-01 01:21:20 +02:00
twinaphex 34b0ad0bbf (mbedtls) Cleanups 2020-07-01 01:11:36 +02:00
twinaphex 8fe5ad8fd4 (mbedtls) Get rid of MBEDTLS_SELF_TEST 2020-07-01 01:04:35 +02:00
twinaphex be289a4292 (mbedtls) Cleanups 2020-07-01 00:33:16 +02:00
twinaphex 92945b17e2 Dependencies
(libz) Cleanups
(glslang) SPVRemapper.cpp and disassemble.cpp don't seem
to be necessary to compile in
2020-06-30 16:52:40 +02:00
twinaphex b721667523 (deps/7zip) Initialize values 2020-06-30 06:01:41 +02:00
twinaphex 258d219aaa Fix CXX_BUILD 2020-06-29 22:25:23 +02:00
twinaphex 968922e151 Fix static code analysis warnings 2020-06-29 21:24:32 +02:00
twinaphex e120f76f87 (deps/7zip) Cleanups 2020-06-28 20:01:05 +02:00
twinaphex 54b371b767 (deps/7zip) Use rferror instead of ferror 2020-06-28 19:43:55 +02:00
Twinaphex 56c3b99dac (deps/7zip) Prevent warnings/errors 2020-06-28 05:25:44 +02:00
Twinaphex c10c6aa015 (7zip) Cleanup #1 2020-06-28 05:20:58 +02:00
twinaphex 61c1fa508d (deps/7zip) Change this to RFILE 2020-06-28 05:09:38 +02:00
twinaphex 8a8ddb2468 (deps/7zip) Update 2020-06-28 05:07:30 +02:00
twinaphex a8f8753bbc (deps/7zip) Change SRes to int64_t 2020-06-28 04:52:11 +02:00
twinaphex e2af6eb96b (deps/7zip) Change WRes to int64_t - and other cleanups 2020-06-28 04:15:11 +02:00
twinaphex 136a86f6aa (deps/7zip) Use libretro-common file_stream functions 2020-06-28 03:58:40 +02:00
Jamiras ffb1f0b67b support for less common file extensions 2020-06-11 07:33:17 -06:00
Jamiras 7d488aa200 use rcheevos for identifying games 2020-06-07 17:13:50 -06:00
Francisco José García García 27a0e6a1a4 [VITA] Change error name to vgl_error 2020-06-03 20:48:16 +02:00
Francisco José García García 4439e2fcb5 Squashed 'deps/vitaGL/' changes from fb87308d15..c816fec50f
c816fec50f Added stride arg to vglBindPackedAttribLocation.
07f4380e60 Added glUniform1i implementation.

git-subtree-dir: deps/vitaGL
git-subtree-split: c816fec50f823f1a7ee082042d5159dbdf16e46c
2020-06-02 18:31:03 +02:00
Francisco José García García ec5dcce74c [VITA] Fix name clash 2020-06-02 18:31:03 +02:00
Francisco José García García ba0d5705fc [VITA] Fix vitagl clash with function names 2020-06-01 14:16:53 +02:00
Francisco José García García 5fe273195b [VITA] Disable sqrtfv 2020-05-31 18:04:10 +02:00
Francisco José García García ae9bdba06f Merge commit 'af97efdc17a1215a63a9ee639cf9361876ded50d' as 'deps/math-neon' 2020-05-31 17:24:53 +02:00
Francisco José García García b2f61389ff [VITA] Remove math-neon 2020-05-31 17:24:11 +02:00
Francisco José García García e16ae7a641 Merge commit '56797b8841ab5a9a9d7a9ab82383567300361252' 2020-05-31 17:18:53 +02:00
Francisco José García García ec336442bd
Merge pull request #10749 from libretro/vitagl
VitaGL fixes
2020-05-31 17:14:23 +02:00
twinaphex cff87ab1e0 (OSX) Buildfix for Discord 2020-05-23 16:43:32 +02:00
twinaphex c8940c130d Cleanup 2020-05-23 05:16:24 +02:00
twinaphex 4a388668a3 Update 2020-05-23 04:52:28 +02:00
twinaphex 5e3fd8e95e move GetProcessId to C files 2020-05-23 04:49:14 +02:00
twinaphex 268bf61da6 Silence warnings 2020-05-23 03:36:51 +02:00
Twinaphex f2bb7e29a4 Revert "(Discord RPC) Update"
This reverts commit a6030f89fe.
2020-05-22 05:37:01 +02:00
twinaphex a6030f89fe (Discord RPC) Update 2020-05-22 04:56:53 +02:00
twinaphex e1e6f2db51 Fix CXX_BUILD 2020-05-21 05:10:33 +02:00
twinaphex 70f57974c7 Buildfix 2020-05-21 04:23:01 +02:00
twinaphex a3d3e18369 Update 2020-05-20 19:54:37 +02:00
twinaphex 3d677ee90c (Discord RPC) Simplify - use string_is_equal - de-auto type certain
variables where possible
2020-05-20 17:59:42 +02:00
twinaphex 647bdc5cbd (Discord RPC) Cleanups 2020-05-20 16:10:46 +02:00
twinaphex 3387170d62 (Discord) Cleanups - get rid of discord_register.h header 2020-05-20 15:43:01 +02:00
Jamiras 1534e81bed upgrade to rcheevos 9.0 2020-05-11 08:43:11 -06:00
Francisco José García García 0de4efae44 Merge commit '78c27dc77af4a03886058cc76f3553a0b3e28cc1' as 'deps/vitaGL' 2020-05-04 12:43:18 +02:00
Francisco José García García ded0e13623 Remove old vitaGL 2020-05-04 12:43:11 +02:00
Autechre 21f15d5cbd
Merge pull request #10490 from phcoder/msb
Remove manual MSB_FIRST definitions and switch to retro_endianness.h
2020-04-22 21:16:45 +02:00
Ash Logan 7bac0220dc libfat: Remove st_spare for new devkitPPC versions
slurped from 
d6bb60a4ba
2020-04-22 10:56:49 +10:00
Vladimir Serbinenko 1fcdddf579 Remove manual MSB_FIRST definitions and switch to retro_endianness.h 2020-04-21 04:16:55 +02:00
valadaa48 53fffbd670 Add "oga" graphics driver for odroid go advance
libgo2 improvements

- Expose rga scale mode as param for future use
- Cleanup whitespace
- Add option to disable managed surfaces and allow direct posting to drm
  driver

oga graphics driver

- Uses direct framebuffers in libgo2
- Bitmap font only supported for now
- Uses built-in bicubic filtering: graphics quality better than gl + bilinear
- Support for rotation
2020-03-22 23:35:22 -04:00
Jamiras 8baf0f6340 prevent buffer overflow when encountering an unknown macro 2020-03-04 16:37:59 -07:00
orbea def374c2b9 Fix the header paths with the system glslang. 2020-03-02 14:20:18 -08:00
Jamiras db5358f70f add delay retries to leaderboard submits 2020-03-01 17:19:50 -07:00
natinusala f00fb6d1ea odroidgo2: patched DRM driver 2020-02-27 10:22:51 +01:00
orbea 74a09844c2 qb: Support building with a system version of glslang. 2020-02-01 16:12:54 -08:00
twinaphex 60e087b8e7 (Discord) Add header include 2020-01-23 04:49:51 +01:00
twinaphex 528edf7e82 (Discord) Cleanups - we might want to do a clean implementation of all
this someday as Discord RPC is deprecated anyway
2020-01-22 18:53:54 +01:00
twinaphex 8032ff6e19 (RCheevos) Cleanups 2020-01-11 03:07:54 +01:00
Hans-Kristian Arntzen 4437cd1eac Attempt to workaround odd crashes in glslang.
I accidentally managed to reproduce an issue which has been plaguing
users for a while, where glslang throws an assert after closing a game
(and starting a new one).

pthread_setspecific was somehow failing with an EINVAL call, despite the
key never having been freed. I suspect some kind of corruption happening
when dynamic libraries are unloaded, but I doubt this is a bug in either
RetroArch or glslang per-se.

My workaround here is to tear down all TLS use in glslang after we're
done compiling. Somehow this works around the problem for me, and I
don't really see another viable fix. Valgrind does not say anything about the
issue, so doubt it's memory corruption either.

I had to fix a minor TLS leak in glslang as DetachProcess does not free
the PoolIndex TLS.
2019-12-16 22:27:13 +01:00
Francisco José García García 0545c42db9 (Vita) Fix duplicate symbols with some cores 2019-12-15 11:05:22 +01:00
Francisco José García García 9ad874eef8 (Vita) Add new function to draw textured arrays of vertices 2019-12-14 14:11:47 +01:00
Francisco José García García d52f3ba3e9 (Vita) Fix clipping and reduce number of calls 2019-12-14 14:11:46 +01:00
Francisco José García García 3d44faf6c3 (Vita) New set viewport function 2019-12-14 14:11:46 +01:00
Francisco José García García 8ad3cb14f8 (Vita) Changes for new tint shaders 2019-12-14 14:11:46 +01:00
Francisco José García García d1aa7dbedc Disable not compilable sqrtfv_neon 2019-12-14 14:11:46 +01:00
Francisco José García García eef7611cf1 Fix for duplicated error symbol 2019-12-14 14:11:46 +01:00
Jamiras 9983976ddb update rcheevos to v8.1 2019-11-20 14:40:34 -07:00
Francisco José García García c8067ba0c0 (VITA) Baked math-neon and vitaGL (#9757)
* Squashed 'deps/math-neon/' content from commit 0050735

git-subtree-dir: deps/math-neon
git-subtree-split: 0050735ae8f18281c1e6fbe2dc80546e402b7fc5

* Squashed 'deps/vitaGL/' content from commit 694b387

git-subtree-dir: deps/vitaGL
git-subtree-split: 694b387a6eacf7e179f07ff621e5772ae4253315

* (Vita) Add baked math-neon and vitaGL
2019-11-20 12:13:33 +01:00
Huw Pascoe 4eebfa237b Fixed xml parsing 2019-11-16 20:56:12 +00:00
Twinaphex 5dd74503d2
Update discord_register_linux.c 2019-08-21 04:35:37 +02:00
twinaphex 1917b2235e (Discord) Cleanups 2019-08-20 21:11:48 +02:00
twinaphex a363af7796 (Discord) Convert some files to C 2019-08-20 21:03:16 +02:00
twinaphex bcdc759b3e (SPIRV-Cross) Buildfix 2019-07-27 03:44:32 +02:00
twinaphex b4ec860bb3 (SPIRV-Cross) Temporary buildfix for homebrew WiiU toolchain 2019-07-27 02:50:21 +02:00
orbea 983172d0c2 deps/libz: Move zutil.h back to deps.
This is an internal zlib header and should not be used by other projects.

See the comment in the file.

/* WARNING: this file should *not* be used by applications. It is
   part of the implementation of the compression library and is
   subject to change. Applications should only use zlib.h.
 */
2019-07-25 11:18:33 -07:00
orbea 0565f80ceb deps/libz: Remove uneeded files. 2019-07-25 11:18:33 -07:00
twinaphex d72ae6bebe (libz) Unused file 2019-07-25 18:57:04 +02:00
twinaphex fab7e7cdcd Buildfix for MSVC 2005 2019-07-25 15:03:58 +02:00
twinaphex 78915aedd1 (vita2d) Update header includes 2019-07-24 22:58:57 +02:00
Twinaphex f3f17771ee
Merge pull request #9189 from orbea/discord
Silence discord warnings without visual studio.
2019-07-24 22:20:58 +02:00