Commit Graph

7 Commits

Author SHA1 Message Date
Zachary Cook
216d449846 Override lightrec's debug.h with one that uses log_cb 2021-08-24 19:25:47 -04:00
Zachary Cook
aeee732aeb Revert "Disable a bad optimization in lightrec config until fixed"
This reverts commit c1f61d0e26.
2021-08-22 11:47:56 -04:00
Zachary Cook
c1f61d0e26 Disable a bad optimization in lightrec config until fixed 2021-08-08 16:02:58 -04:00
Zachary Cook
9fc1dff852 Add LIGHTREC_LOG_LEVEL, allow enabling disassembler
LIGHTREC_LOG_LEVEL=4 enables lightrec pr_debug messages and the disassembler
LIGHTREC_LOG_LEVEL=3 outputs some useful messages about state of the mmap,
threaded recompiler, and lightrec memory usage stats

For details on what is printed by disassembler see:
https://github.com/pcercuei/lightrec/commit/5d6881c3

Log Levels:
0 = No Logging
1 = Error
2 = Warning (default)
3 = Info
4 = Debug
2021-05-21 20:49:02 -04:00
Zachary Cook
4b83d86881 Adjust for changes in lightrec api
Enable lightrec OPT_REPLACE_MEMSET
2021-05-21 20:49:02 -04:00
Zachary Cook
0673ca68e9 Update lightning.h to match changes in deps/lightning/include/lightning.h.in 2021-05-21 20:49:02 -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