Commit graph

1486 commits

Author SHA1 Message Date
Ilari Liusvaara
1d2df8ebea Support latch notifications on SNES
This patch is so large since it adds support for passing arguments to
the Lua callback, even if SNES doesn't use those.
2013-10-27 14:41:28 +02:00
Ilari Liusvaara
4f3df85a46 Recent Lua scripts
This is handy if you are developing Lua script, even if using
projects.
2013-10-27 00:51:26 +03:00
Ilari Liusvaara
182accd4b2 JSON: Reduce internal exception spam 2013-10-23 23:45:53 +03:00
Ilari Liusvaara
cda917a45a Make regex thread-safe 2013-10-23 23:43:11 +03:00
Ilari Liusvaara
b9e3a36588 Optimize generic controllers using dynamically generated code
The serialization is not quite on par with the static code,
deserialization is quite a bit faster.
2013-10-23 18:06:33 +03:00
Ilari Liusvaara
99130e1f21 Fix compile for Mac OS X 2013-10-21 13:41:08 +03:00
Ilari Liusvaara
b3417018d4 JSON-based controller descriptions
Also allows creating a new controller type (albeit with not optimal
performance) at runtime.
2013-10-20 21:18:27 +03:00
Ilari Liusvaara
ff59cb6e91 Allow setting AVI scale factors 2013-10-17 16:53:46 +03:00
Ilari Liusvaara
84f0d2f774 If libgcrypt is available but /dev/urandom is not, use libgcrypt for RNG 2013-10-16 12:50:40 +03:00
Ilari Liusvaara
d3eee55445 lsnes rr2-β12 2013-10-15 00:11:33 +03:00
Ilari Liusvaara
8de45f693e lsnes rr1-Δ18ε2 2013-10-14 23:33:07 +03:00
Ilari Liusvaara
a471680ec9 Speed up binary savestate saving
1) "Guess" screenshot and savestate sizes beforehand. Speeds up saving
those greatly.

2) Optionally (on by default) use SHA-256 from libgcrypt, which is greatly
faster than the builtin one.
2013-10-12 11:02:26 +03:00
Ilari Liusvaara
4bcbbb7691 Fix bug that caused save slots always to be semi-text in projects 2013-10-11 00:28:06 +03:00
Ilari Liusvaara
ed8a251b6e Fix more bugs in rerecord counting 2013-10-10 03:15:30 +03:00
Ilari Liusvaara
7101af82fa Use correct file for rerecord counting 2013-10-10 02:22:41 +03:00
Ilari Liusvaara
88dc3f0108 Merge branch 'rr1-maint 2013-10-09 10:29:57 +03:00
Ilari Liusvaara
45447e3c14 Fix crash if reloading ROM with non-default controllers in readwrite mode 2013-10-09 10:29:05 +03:00
Ilari Liusvaara
f19fea0ea4 Refactor rrdata handling
Makes savestate/loadstate fair bit faster
2013-10-08 21:35:01 +03:00
Ilari Liusvaara
ecd8b74ee1 Fix crash if loading rom with non-default controllers active 2013-10-08 18:08:56 +03:00
Ilari Liusvaara
72cc54876a Lua: Also add scatter-gather to memory.* (not just memory2.*) 2013-10-08 17:53:20 +03:00
Ilari Liusvaara
7afdb33c8f Fix compilation on Mac OS X 2013-10-07 12:58:36 +03:00
Ilari Liusvaara
75f90891f6 lsnes rr2-β11 2013-10-06 22:57:40 +03:00
Ilari Liusvaara
163909f907 Change working directory 2013-10-06 22:57:05 +03:00
Ilari Liusvaara
54c257fbbf TAS Input: Compute buffer size for lightgun correctly 2013-10-06 22:48:22 +03:00
Ilari Liusvaara
0bc6e39301 TAS input: Don't bug out on loadstate 2013-10-06 22:31:15 +03:00
Ilari Liusvaara
93056a1993 Multitrack support 2013-10-06 22:13:52 +03:00
Ilari Liusvaara
01a8f5521c TAS Input: Improve lightgun support 2013-10-05 23:41:26 +03:00
Ilari Liusvaara
1561b33dea Fix graphics update hanging 2013-10-05 23:38:58 +03:00
Ilari Liusvaara
861caf2256 Fix uninitialzed variable 2013-10-05 23:19:49 +03:00
Ilari Liusvaara
379db3d4a8 Movie editor: Add panel for inputting axis values 2013-10-05 18:08:18 +03:00
Ilari Liusvaara
4f674a1a1f lsnes rr2-β10 2013-10-04 22:13:33 +03:00
Ilari Liusvaara
8afef341d3 lsnes rr1-Δ18ε1 2013-10-04 21:48:48 +03:00
Ilari Liusvaara
3373dcd53c Merge branch 'rr1-maint' 2013-10-03 12:39:07 +03:00
Ilari Liusvaara
4c8f9c04d2 Don't allow editing reset flags after those have been read 2013-10-03 11:45:37 +03:00
Ilari Liusvaara
504dcb912e Memory search: Save, Load, Undo and Redo 2013-10-02 21:42:46 +03:00
Ilari Liusvaara
ae643213e9 Hex editor: Q12.4 2013-09-29 21:02:02 +03:00
Ilari Liusvaara
e8c868c7d9 Hex editor: Few fixed-point types 2013-09-29 20:51:31 +03:00
Ilari Liusvaara
1eda43114c Hex editor: Add watch 2013-09-29 20:50:06 +03:00
Ilari Liusvaara
ecd872d6c3 Memory search: Select in hex editor 2013-09-29 20:22:38 +03:00
Ilari Liusvaara
afbc8ae932 Memory search: Poke 2013-09-29 19:22:10 +03:00
Ilari Liusvaara
7c1acd2219 Hex editor 2013-09-29 18:35:15 +03:00
Ilari Liusvaara
06f099f877 Fix Win32 (or GCC 4.8?) compilation 2013-09-27 22:57:24 +03:00
Ilari Liusvaara
a41894d5d3 Merge branch 'rr1-maint' 2013-09-27 20:54:54 +03:00
Ilari Liusvaara
3657e593d6 Lua: Tilemaps 2013-09-27 20:53:09 +03:00
Ilari Liusvaara
68e8630308 Merge branch 'rr1-maint' 2013-09-27 14:25:46 +03:00
Ilari Liusvaara
1110596977 Fix wrong use of lua_error
Lua_error should only be used in C functions and closures directly
registered with Lua. Otherwise errors should trigger exceptions.
2013-09-27 14:22:52 +03:00
Ilari Liusvaara
59ef6961e3 Merge branch 'rr1-maint' 2013-09-27 10:47:19 +03:00
Ilari Liusvaara
a42c0bf6ea Extend userdata printing 2013-09-27 10:36:19 +03:00
Ilari Liusvaara
22cba85a37 Merge branch 'rr1-maint' 2013-09-27 04:43:44 +03:00
Ilari Liusvaara
ba1d20dda5 Lua: print() can print any type, add tostringx() for print-to-string 2013-09-27 04:15:13 +03:00