Commit graph

2212 commits

Author SHA1 Message Date
Ilari Liusvaara
35979abcd3 Add large-video option to force hires dumping 2011-09-14 23:16:24 +03:00
Ilari Liusvaara
5932ff1384 Migrate the rest of Lua functions to the new framework 2011-09-14 22:59:54 +03:00
Ilari Liusvaara
679efd1563 Migrate memory.* 2011-09-14 22:30:14 +03:00
Ilari Liusvaara
dd8966de2c Migrate gui.* stuff to the new framework 2011-09-14 22:18:24 +03:00
Ilari Liusvaara
19ab8000d8 Use render_text in render_object_text and not vice versa
Creating render objects in primitive functions makes no sense.
2011-09-14 21:24:15 +03:00
Ilari Liusvaara
feb1a5d841 Allow dynamic loading of Lua functions
Dynamically loading Lua functions allows distributing implementations
to multiple places.

Additionally, migrate bit.* functions to the new framework.
2011-09-14 21:19:54 +03:00
Ilari Liusvaara
f170c7bab2 Major reorganization of command handling
Make commands objects instead of functions calling each other.

Now there is '?' command that can display command list and help about
individual command. Also the command handling is more distributed into
places where it belongs.
2011-09-14 20:06:36 +03:00
Ilari Liusvaara
2090aba027 Faster movie loading and saving
Cut movie loading times to about half and movie saving times by 40% by
changing the way controller data lines are read and written. Also at the
same go, clean up controllerdata.[ch]pp.
2011-09-14 15:21:51 +03:00
Ilari Liusvaara
8a539fc25d lsnes rr0-β1 2011-09-13 22:17:55 +03:00
Ilari Liusvaara
ed85cc6f90 Fix race condition bug that causes video corruption
If multi-threaded dumping was enabled, then a race was possible, where
code rendered next frame while previous frame hadn't yet been dumped.

This caused previous frame data to become corrupted, leading to encode
desyncing, complete with massive artifacts.
2011-09-13 22:13:38 +03:00
Ilari Liusvaara
4f840b9cae Fix all warnings -Wall spews
Bsnes spews quite a lot of warnings with -Wall (not that surprising,
given the looks of the code), but at least non-bsnes parts shouldn't
give warnings. Oh, this also fixed couple of bugs in Lua support.
2011-09-13 20:29:31 +03:00
Ilari Liusvaara
c932df0faa lsnes rr0-β0
The first release for public testing.
2011-09-13 17:50:18 +03:00