Commit Graph

48 Commits

Author SHA1 Message Date
twinaphex
1ee9685453 Remove file I/O paths - might not be used but good to get rid of it
anyways
2021-09-17 04:42:41 +02:00
Zachary Cook
781094c597 git subrepo pull (merge) deps/lightrec
subrepo:
  subdir:   "deps/lightrec"
  merged:   "0df4ec86"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "0df4ec86"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2021-08-22 11:47:17 -04:00
Ember Cold
4fc7b18b6d Handle DIV overflow in lightrec 2021-07-21 15:36:34 +03:00
Tomáš Kelemen (vudiq)
56985703e7 remove obsolete submodule reference 2021-06-03 01:12:32 +02:00
Zachary Cook
a388aacc8f git subrepo pull --force deps/lightrec
subrepo:
  subdir:   "deps/lightrec"
  merged:   "aa2f992e"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "aa2f992e"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2021-05-21 20:49:02 -04:00
Zachary Cook
d47b2ed882 git subrepo pull (merge) deps/lightning
subrepo:
  subdir:   "deps/lightning"
  merged:   "b1be3ed1"
upstream:
  origin:   "https://git.savannah.gnu.org/git/lightning.git"
  branch:   "master"
  commit:   "876c1043"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2021-05-21 20:48:01 -04:00
Zachary Cook
bd765e2bf9 Move lightning.h and lightrec config.h to fix subrepos
This allows deps/light(rec/ning) to be free of any local changes
which allows more automated merging of any updates, and centralizes
the location of locally created files, these should be regenerated
whenever changes occur in thier subrepo files:

config.h <- deps/lightrec/config.h.cmakein

lightning.h <- deps/lightning/include/lightning.h.in

Also add the defines to keep lightrec optimizations enabled by default
2021-04-28 15:58:51 -04:00
Zachary Cook
a093ffec37 git subrepo commit (merge) deps/lightrec
subrepo:
  subdir:   "deps/lightrec"
  merged:   "a7bd81d3"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "16a375e4"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2021-04-22 06:10:56 -04:00
twinaphex
cc84ae0cc7 Get rid of unnneeded files in dependencies 2021-04-09 18:28:10 +02:00
jdgleaver
0c0f833e5e Update libchdr 2021-03-22 11:33:49 +00:00
twinaphex
252df32671 Add arm64/x64 mac targets 2021-01-27 04:38:00 +01:00
twinaphex
6879c95a1b Update libflac 2020-11-10 18:37:28 +01:00
Romain TISSERAND
159432a9e4 WIP update libchdr 2020-11-03 14:00:11 +01:00
Romain TISSERAND
940f1f9fee Fix CHD alignment with lzma/zlib 2020-11-01 14:09:55 +01:00
twinaphex
3ad4902336 Update flac 2020-10-07 01:56:55 +02: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
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
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
Zachary Cook
dfdeaab5f3 Update to latest lightrec and extract PGXP from lightrec
PGXP functions are now called from within beetle
2020-04-28 16:57:13 -04:00
Zachary Cook
1c6e3e4394 Separate lightrec PGXP and non-PGXP rw_func
When tested with soul blade this increases dynarec performance by ~1%
for non-PGXP, and ~2% for PGXP as it always uses rw_func due to the fast-path
being disabled for it.
2020-02-08 21:49:13 -05:00
Zachary Cook
e5e83cde00 Add PGXP support in dynarec
Not much faster than interpreter, due to calling pgxp functions on
every load/store opcode
2020-02-03 03:06:25 -05:00
Zachary Cook
76100490e9 git subrepo pull (merge) deps/lightrec
subrepo:
  subdir:   "deps/lightrec"
  merged:   "327ed7c4"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "6c69e104"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

Revert bool changes to lightrec.h, use lightrec's solution

Add missing lightrec changes
2020-01-29 12:49:32 -05:00
Zachary Cook
3f7fe0deeb git subrepo pull (merge) deps/lightrec
subrepo:
  subdir:   "deps/lightrec"
  merged:   "b9cf86d3"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "9a14de7d"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-01-27 11:40:07 -05:00
Paul Cercueil
d07fb7cda5 Aarch64: Remove assertions on immediate alignment in ldxi/stxi
The immediate value can very well be unaligned with the access size and
the resulting IO access be aligned, as long as the immediate added to
the source address contained in the register is aligned.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Connor McLaughlin <stenzek@gmail.com>
Tested-by: Zachary Cook <zachcook1991@gmail.com>
2020-01-26 20:53:18 -05:00
Zachary Cook
f4fc76cee8 git subrepo pull (merge) deps/lightrec
subrepo:
  subdir:   "deps/lightrec"
  merged:   "3636435a"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "96b4f031"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-01-23 16:11:33 -05:00
Zachary Cook
16712de60a git subrepo pull (merge) deps/lightning
subrepo:
  subdir:   "deps/lightning"
  merged:   "8758acfb"
upstream:
  origin:   "https://git.savannah.gnu.org/git/lightning.git"
  branch:   "master"
  commit:   "b0b8eb5e"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-01-23 13:09:22 -05:00
twinaphex
744e5797ce Buildfixes for Android 2020-01-23 13:18:49 +01:00
twinaphex
d38cd7403e Push buildfix for libFLAC 2020-01-23 13:07:11 +01:00
Zachary Cook
986444d837 Add lightrec dynarec support
Only output for big-ass-debugger if LIGHTREC_DEBUG=1

LIGHTREC_DEBUG=1 implies DEBUG=1, to disable threaded recompiler, so that output is reliable

Select which dynarec option with core config option

Default back to the faster option, and should allow running debugger easier

Fix crash when switching dynarec option at run-time, need to invalidate lightrec_state

Fix exe loading enough to get into lightrec interpreter

Code for reloading expansion1 is from @simias dynarec

Fix savestate loading

Cleanup LIGHTREC_DEBUG

Keep track of previous dynarec option properly

Fully re-initialize lightrec when switching dynarec option

Add option to invalidate stores always (Full) or just for DMA (DMA Only)

Add option to configure amount of cycles that can pass in dynarec before a DMA/GPU update is forced

Do not init lightrec for beetle interpreter

Make lightrec memory logging more concise

Runahead can use a second instance, use exclusive shared memory and try another name

Fix load state again

Change default dynarec option to interpreter

Reword DMA/GPU event cycles option

Don't build lightrec by default, require HAVE_LIGHTREC=1

Revert ReadAbsorb changes, incompatible with old save states

Revert changes to GPR, much more compatible with beetle interpreter

Fix subrepos so they can be updated cleanly in the future
2020-01-21 20:43:53 -05:00
Zachary Cook
9f79743096 Add deps for dynarec
Fix subrepos due to squashing history

git subrepo pull (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "81d07d4e"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "807c6fe7"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"

git subrepo pull (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "5084f032"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "e56284be"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "a349e172"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "e077ae7b"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "f8db9295"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "85195183"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "11267e7c"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "f7121d08"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

git subrepo pull (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "57c58dbf"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "6c9d6551"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "eddfccd0"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "452f23f0"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

git subrepo commit (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "342c892e"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "72881247"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"

git subrepo pull (merge) deps/lightrec

subrepo:
  subdir:   "deps/lightrec"
  merged:   "3e1cf147"
upstream:
  origin:   "https://github.com/pcercuei/lightrec.git"
  branch:   "master"
  commit:   "a6ac0156"
git-subrepo:
  version:  "0.4.1"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "a04d8c2"
2020-01-21 19:39:21 -05:00
twinaphex
87a695dbe4 Revert "(ugui) Move all files to deps folder"
This reverts commit 5fbf0b0a92.
2019-07-02 04:15:43 +02:00
rz5
5fbf0b0a92 (ugui) Move all files to deps folder 2019-06-30 04:25:58 +01:00
Brad Parker
dad4387663 initial uGUI message box for missing firmware, only works with software renderer currently 2018-06-30 19:32:16 -04:00
Brad Parker
fde497fd3f Add 'deps/ugui/' from commit 'ce0bccb5b7d4877c42081419fccadf7aa5727303'
git-subtree-dir: deps/ugui
git-subtree-mainline: ea7a64de03
git-subtree-split: ce0bccb5b7
2018-06-30 12:54:53 -04:00
Dwedit
58c57d35e7 Fixes to code to compile for MSVC 2018-04-18 14:34:16 -05:00
Alberto Fustinoni
3658198733 Logic 2017-12-27 15:20:35 +09:00
Alberto Fustinoni
75568ed1df Fix 2017-12-27 15:01:33 +09:00
Alberto Fustinoni
663f98a318 Use filestream for CHD IO 2017-12-27 14:37:37 +09:00
Alberto Fustinoni
9d060a3108 CHD support 2017-12-27 14:15:26 +09:00
Brian Koropoff
ee40afa0ca libchdr: add precache option
This allows reading the entire chd file into memory
2017-10-01 12:37:01 -07:00
Zapeth
16f725a4f7 Delete compiled lib that snuck in previous commit 2017-09-03 14:52:21 +02:00
Zapeth
052a22cd8c Add support for CHD files 2017-08-31 19:01:39 +02:00
aliaspider
49980314f8 (WiiU) build fix for devkitpro r29.
- remove wut dependancy.
2017-01-24 12:15:52 +01:00
twinaphex
5036937297 Updates to Griffin 2016-06-09 10:15:53 +02:00
twinaphex
d67e1db01a Move libkirk to deps/ 2016-05-05 01:06:13 +02:00
twinaphex
bb55132295 Bake in zlib 2016-05-02 21:24:25 +02:00