Commit Graph

2336 Commits

Author SHA1 Message Date
rouhannb
fb635187dd Format memory card properly
(As opposed to just deleting it and making a new one.)
2020-06-28 23:09:30 -04:00
rouhannb
531c86e06b Make dynamically switching memory cards work with autosave 2020-06-28 22:41:34 -04:00
rouhannb
e3c9464414 Merge remote-tracking branch 'upstream/master' 2020-06-28 21:46:56 -04:00
Autechre
89a74ee2d0
Merge pull request #681 from jdgleaver/read-buffer-overflow
Prevent buffer over-read when saving states
2020-06-23 13:28:26 +02:00
jdgleaver
f725c34a50 Prevent buffer over-read when saving states 2020-06-23 12:04:51 +01:00
Autechre
409ac1b174
Merge pull request #680 from stoofin/fix-crash
Fix failed assert when asked to clear an empty rect
2020-06-19 07:11:41 +02:00
stoofin
66330c395e Fix failed assert when asked to clear an empty rect 2020-06-18 20:34:12 -07:00
Autechre
296d18871c
Merge pull request #679 from stoofin/texture-wip2
added track textures option
2020-06-18 11:50:41 +02:00
stoofin
7c023980ca added track textures option 2020-06-18 02:42:30 -07:00
twinaphex
6ebadc50ea Logging optimizations 2020-06-17 11:05:20 +02:00
twinaphex
4b6b666b7b Add dumped feature 2020-06-17 01:53:12 +02:00
twinaphex
e09f5fd34b Makefile tweaks 2020-06-16 23:39:57 +02:00
stoofin
54d1d4a3b0 updated prebuilt shaders 2020-06-16 22:53:20 +02:00
stoofin
cafb14279a wip so far 2020-06-16 22:53:15 +02:00
Zachary Cook
3db06fd98c
Merge pull request #673 from niacat/master
When HAVE_SHM, include <sys/stat.h> for S_IRUSR and S_IWUSR
2020-06-10 10:08:45 -04:00
nia
8086ce4d94 When HAVE_SHM, include <sys/stat.h> for S_IRUSR and S_IWUSR 2020-06-10 14:01:02 +01:00
Zachary Cook
8b6ca61d12 lightrec: fix race that could cause a freeze
git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "abf5cc51"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "2cca097e"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-06-08 00:03:33 -04:00
Autechre
2bcce26027
Merge pull request #671 from alucryd/system-libs
allow using system libs
2020-06-05 17:46:54 +02:00
Autechre
fa6af5aff0
Merge pull request #672 from kwyxz/allow-solaris-build
Maintain Solaris compat + restore IllumOS build
2020-06-05 17:45:27 +02:00
Benjamin FRANCOIS
20809d77d9 Maintain Solaris compat + restore IllumOS build 2020-06-05 08:37:50 -07:00
twinaphex
cd13860b61 Don't use fprintf - go through logging interface 2020-06-05 13:13:42 +02:00
Maxime Gauduin
e40094cb97 allow using system libs 2020-06-05 12:27:11 +02:00
Autechre
ecdf0c3cff
Merge pull request #666 from jdgleaver/retro-message-ext
Add support for frontend message interface v1
2020-05-29 16:02:01 +02:00
jdgleaver
d97126561f Add support for frontend message interface v1 2020-05-29 14:43:50 +01:00
twinaphex
12014e1f31 Cleanups 2020-05-26 19:40:28 +02:00
twinaphex
6e7ce8dd94 Silence some debug messages 2020-05-26 19:33:19 +02:00
twinaphex
f212238b31 Cleanups 2020-05-26 19:22:48 +02:00
twinaphex
d886fcdcef Update libretro.cpp 2020-05-26 19:10:56 +02:00
rouhannb
d4e7da9ae5 Implement ability to dynamically switch memory
cards
2020-05-25 23:02:51 -04:00
Autechre
c1c1890627
Merge pull request #664 from libretro/revert-660-sanitize-context-request
Revert "sanitize gl context requests"
2020-05-25 21:29:41 +02:00
Autechre
3acd73e1bd
Revert "sanitize gl context requests" 2020-05-25 21:29:07 +02:00
hizzlekizzle
4f1de91bb2
Merge pull request #662 from libretro/dynarec
Fix alternate bios name loading, better mmap errors
2020-05-24 19:23:05 -05:00
Zachary Cook
cb57151aae Load bios from path that was checked
Fixes #661
2020-05-24 19:31:12 -04:00
Autechre
89fd4279e3
Merge pull request #660 from barbudreadmon/sanitize-context-request
sanitize gl context requests
2020-05-25 00:15:04 +02:00
barbudreadmon
96eafad09d sanitize gl context requests 2020-05-22 17:52:38 +02:00
Zachary Cook
bd3ddd253a Add more detailed error messages for mmap, unlink sooner 2020-05-20 17:04:15 -04:00
Autechre
cce646d9fd
Merge pull request #659 from kwyxz/allow-solaris-build
Allow Solaris 11 build
2020-05-20 14:51:48 +02:00
Benjamin FRANCOIS
5bfb987996 Allow Solaris 11 build 2020-05-19 23:37:01 -07:00
Autechre
41344b2ce0
Merge pull request #655 from ZachCook/CleanupWarnings
Cleanup warnings: snprintf truncation, strncpy->memcpy, memset
2020-05-18 15:24:34 +02:00
Zachary Cook
6b1d8f7144 Cleanup warnings: snprintf truncation, strncpy->memcpy, memset 2020-05-17 20:17:38 -04:00
Zachary Cook
696960d9ed Cleanup/deduplicate mmap code 2020-05-17 13:48:58 -04:00
Zachary Cook
36c8a9d336 Lightrec: Improve homebrew support
git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "b2c00115"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "2081869a"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-05-16 20:16:48 -04:00
Zachary Cook
1044eb4dce Fix inverted check for dma-only invalidation 2020-05-14 13:09:20 -04:00
Zachary Cook
d81d8513d9 Fix OS X compile 2020-05-13 23:29:51 -04:00
Zachary Cook
eb8d347c78 Lightrec: fix more games
These games now work:
- Need For Speed: V-Rally
- Alone In The Dark - One-Eyed Jack's Revenge

git subrepo pull (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "d1f8adf1"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "e77f0380"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-05-13 14:44:09 -04:00
Zachary Cook
88b399bddd git subrepo pull (merge) deps/lightrec
subrepo:
  subdir:   "deps/lightrec"
  merged:   "41210465"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "25b6423b"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-05-12 10:18:14 -04:00
Zachary Cook
034f3cd340 Lightrec: Fix SWL/LWL using wrong mask
Fixes #650

git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "89c42e26"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "126845d7"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-05-11 21:01:13 -04:00
hizzlekizzle
a3bf8133d6
Merge pull request #645 from libretro/dynarec
Dynarec updates
2020-05-09 19:07:57 -05:00
Zachary Cook
76281a3813 When HAVE_SHM always use global memfd so it can be closed properly on exit
LGTM found this once the default was to compile in lightrec
2020-05-09 18:29:55 -04:00
Zachary Cook
d658f12e88 Keep track of mmap failing
If mmap failed it should prevent crashing when closing and disables
lightrec memory mirrors so as to not use an incorrect code path.
2020-04-29 18:36:09 -04:00