Commit Graph

161 Commits

Author SHA1 Message Date
Joe Osborn
807640fed3
Associate states with replays (#15070)
* change bsv file suffix to replay, update strings

* add trivial RPLY block to save states

* WIP rerecording support, doesn't load states properly yet--issue with checking identifiers?

* Fixed a type error to get time identifiers working right, ready for testing

* handle case where state without replay data is loaded during replay

* cleanups

* whitespace cleanup

* Cleanups, change replay file format magic, fix logic around future states

* Remove failed future message

* Add play-replay-from-slot command, fix load-state-from-slot to use given slot

* build fixes

* Fix race conditions in emscripten build and incorrect replay state incrementing

* Style fix for single line if

---------

Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-03-08 00:10:59 +01:00
Joe Osborn
a1903eee15
Emscripten pthread tweaks (#15033)
* add more documentation to emscripten, pthread support, and flag to not show asset warnings

* typo in docs

---------

Co-authored-by: thelamer <ryankuba@gmail.com>
2023-02-27 19:56:12 +01:00
Joe Osborn
e1afca5392
add command and stdin_cmd features to emscripten RA. update libretro.js to show how commands could be sent over emscripten stdin. (#15017)
Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-02-24 22:06:04 +01:00
libretroadmin
51d238875e Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only
ever implemented for OpenGL2 driver, lots of code debt, best to
instead just keep improving the overlay system instead which is
already available for most video drivers
2023-02-23 21:03:41 +01:00
Joe Osborn
951f5a76a5
Add bsv to emscripten builds (#14905)
* Add bsv to emscripten builds

BSV has no external dependencies so this addition should be fine.

Co-authored-by: Joseph C. Osborn <jcoa2018@pomona.edu>
2023-01-26 05:46:39 +01:00
libretroadmin
3277d7b8fa (Emscripten) Add HAVE_PATCH support for Emscripten
(Patch) if HAVE_PATCH is not defined, silence warnings
2023-01-07 05:15:36 +01:00
LibretroAdmin
879674d4c3 Had to update Makefile.emscripten too 2022-08-05 23:51:34 +02:00
Vladimir Serbinenko
80cf91417c
Enable 7zip on emscripten (#13533)
This makes it more in-line with other static platforms
2022-02-01 13:53:03 +01:00
twinaphex
28cac5c5a4 Add HAVE_CORE_INFO_CACHE - disable this for Steam build 2021-10-14 15:57:28 +02:00
jdgleaver
ddef98fe11 (Emscripten) Makefile.emscripten: Allow linker 'TOTAL_MEMORY' value to be set via command line 2021-01-08 14:52:52 +00:00
jdgleaver
be1c7b8e4c (.gitlab-ci.yml) Add Emscripten target 2021-01-06 14:42:06 +00: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
twinaphex
47e22d69bf Add HAVE_VIDEO_FILTER 2020-07-02 06:28:14 +02:00
twinaphex
3ee788def2 Add HAVE_DSP_FILTER 2020-07-02 02:13:04 +02:00
twinaphex
87b9c2a367 Add HAVE_REWIND switch 2020-07-01 21:04:05 +02:00
twinaphex
7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
twinaphex
223d76680a Add HAVE_CHEATS ifdef 2020-06-30 19:35:55 +02:00
twinaphex
7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
twinaphex
e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
Toad King
776568a429 fix images not loading in menu in emscripten
add changes to work with latest emscripten SDK
2020-01-02 21:29:25 -06:00
Toad King
15e8be4074 changes to support upgraded emscripten SDK 2019-12-14 20:24:41 -06:00
Toad King
618da66073 emscripten: add hack to prevent ERRNO_CODES from being optimized away 2019-08-07 22:07:09 -05:00
Toad King
2874c5ee6e emscripten: Fix GLSL not being built in
fix gamepad builds to work with newer emscripten
2019-08-06 20:51:18 -05:00
orbea
63a92a3f78 Update the zlib include directory paths. 2019-07-25 11:18:33 -07:00
orbea
84f4dcba2b Remove WANT_ZLIB. 2019-07-25 11:18:33 -07:00
twinaphex
b2bf822f13 Add HAVE_AUDIOMIXER switch 2019-07-11 11:51:06 +02:00
twinaphex
7ee8a4de3e (Emscripten) Try to use builtin zlib 2019-05-28 15:32:26 +02:00
twinaphex
22d762be67 We need to split up zlib headers in libretro-common to its own separate
dir
2019-05-27 03:40:14 +02:00
twinaphex
ebaa5b9941 Undefine HAVE_VIDEO_LAYOUT for now instead of implicitly enabling
it for every platform - will have to be individually enabled for
each platform first after rigorous testing
2019-05-13 01:57:26 +02:00
Huw Pascoe
7e0592198d video_layout build 2019-05-11 09:58:46 +01:00
twinaphex
b9cdeebf35 Make menu widgets the new default 2019-05-03 15:55:44 +02:00
orbea
65c6caf5a6 qb: Add '--disable-menu'. (#7910)
This adds '--disable-menu' which will disable all of the menu drivers
including Qt. This will also allow disabling only rgui and not the other
menu drivers.
2019-01-06 17:30:50 -05:00
orbea
fb6fe1a87c Makefile: Better respect CFLAGS and CXXFLAGS as environment variables.
This fixes a few subtle problems with passing CFLAGS and CXXFLAGS as
environment variables for configure.

First it will now only add these variables to config.mk when they are
actually set. If they are unset then the default optimizations in the
Makefile are set. This avoids passing more than one conflicting
optimization level to the compiler.

Next all CFLAGS are added to CXXFLAGS to avoid issues with forgetting to
set both CFLAGS and CXXFLAGS. This results in the cxx compiler getting
passed several redundant optimization levels when both the CFLAGS and
CXXFLAGS environment variabls are used. Now these uses of CFLAGS in
Makefile.common are set to DEF_FLAGS. This allows adding $(DEF_FLAGS)
to the CXXFLAGS variable without adding redundant flags from CFLAGS.

v2: Update other build files.
2018-12-30 17:17:19 -08:00
radius
3c8264e9f2 use stb font in emscripten (untested) 2018-09-30 17:41:24 -05:00
twinaphex
ca9dd89975 Revert "(3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support"
This reverts commit d4c691527a.
2018-04-22 12:02:40 +02:00
twinaphex
d4c691527a (3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support 2018-04-22 11:58:11 +02:00
Toad King
a634994809 no longer compile with SDL support by default 2018-01-18 22:57:46 -06:00
Toad King
99472beeb6 more build modifications to emscripten (needed for mupen64 to work) 2018-01-15 21:02:01 -06:00
Toad King
bc511b8c8a enable shader pipeline
enables menu shader effects
2018-01-15 04:53:44 -06:00
Toad King
066a0a6b32 put emscripten build artifacts into its own folder
clean up all artifacts on make clean
2018-01-15 04:53:27 -06:00
Toad King
3917b02f9f build optimized emscripten builds as WASM
HUGE speed-ups for firefox and moderate speedups for chrome
2018-01-15 04:00:09 -06:00
Toad King
fca639ad84 remove linking SDL code 2018-01-14 14:42:57 -06:00
Toad King
2d27a8c3e2 fix exiting not terminating emscripten runtime 2018-01-14 02:53:34 -06:00
Toad King
1e212b4248 use emscripten HTML5 API for keyboard events instead of old JS library 2018-01-13 17:56:00 -06:00
Toad King
a77f9c37c6 start on bringing the emscripten video code up to speed with latest emscripten
fix rwebinput
2018-01-13 00:05:07 -06:00
twinaphex
db034b8a12 Change Makefile.emscripten 2018-01-12 03:16:15 +01:00
twinaphex
951918a245 Reduce size of Makefiles 2017-12-07 05:54:54 +01:00
twinaphex
67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
twinaphex
360a3686a0 Update include dirs 2017-11-06 05:23:53 +01:00
twinaphex
69abe6dbb9 Move deps/zlib to deps/libz 2017-03-25 10:05:33 +01:00