Commit graph

672 commits

Author SHA1 Message Date
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
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
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
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
f19fea0ea4 Refactor rrdata handling
Makes savestate/loadstate fair bit faster
2013-10-08 21:35:01 +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
379db3d4a8 Movie editor: Add panel for inputting axis values 2013-10-05 18:08:18 +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
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
Ilari Liusvaara
b3b14a6a0d Hashing: Show total work size, and don't accidentally block the UI 2013-09-25 23:34:29 +03:00
Ilari Liusvaara
6772bcf8d2 ROM guessing 2013-09-25 13:45:34 +03:00
Ilari Liusvaara
40578782dc Support Multi-ROM projects 2013-09-22 17:39:52 +03:00
Ilari Liusvaara
53674105c1 Cut the ridiculous exception spam from file probing 2013-09-21 23:25:15 +03:00
Ilari Liusvaara
a48b226af5 Use ROM hints for default request filename 2013-09-14 16:30:08 +03:00
Ilari Liusvaara
70ad5377b8 Save ROM hints 2013-09-14 16:29:58 +03:00
Ilari Liusvaara
702a4b8c4b Use hints for default filename on ROM load request 2013-09-14 15:26:20 +03:00
Ilari Liusvaara
d25f5bbe78 Make symbolic constant ROM_SLOT_COUNT for ROM slot count 2013-09-14 12:26:57 +03:00
Ilari Liusvaara
83dcbee83a Save ROM name hints 2013-09-13 21:34:59 +03:00
Ilari Liusvaara
2168f85b30 Share file image data among copied instances 2013-09-07 08:26:09 +03:00
Ilari Liusvaara
4bfb16ea6c binary_input_stream: Handle nested extensions correctly
Binary savestates don't contain nested extensions, but...
2013-09-06 21:42:26 +03:00
Ilari Liusvaara
61482629ee If loading movie/savestate without ROM, prompt for one 2013-09-03 22:27:42 +03:00
Ilari Liusvaara
dda9460c3d Refactor binary file saving/loading routines 2013-09-02 16:57:23 +03:00
Ilari Liusvaara
13eee961a7 Refactor image slots code
- Refactor image slot code to be common code
- Hash large files with progress feedback
- Cache hashes of large files
2013-09-01 15:05:08 +03:00
Ilari Liusvaara
0d01d22d83 Allow RAM initialization from movie file 2013-08-27 02:11:59 +03:00
Ilari Liusvaara
b3d7dc5786 Add some missing files 2013-08-25 20:12:52 +03:00
Ilari Liusvaara
bf0d0b7ac0 If movie is loaded without ROM, prompt for ROM 2013-08-25 17:32:56 +03:00
Ilari Liusvaara
dbbf274110 Support 24-bit memory watches / memory searching 2013-08-24 22:16:43 +03:00
Ilari Liusvaara
0e479a907b Simplify memory search by using templates 2013-08-24 21:05:10 +03:00
Ilari Liusvaara
ef3509cbcf Clean up reading of values of various types 2013-08-24 20:29:23 +03:00
Ilari Liusvaara
6a0f9750b2 Lua: Pass name of method to various lua class methods 2013-08-22 22:34:17 +03:00
Ilari Liusvaara
1909357f99 Lua: lua_class<T>::bind_multi (initializer lists are useful) 2013-08-22 00:11:34 +03:00
Ilari Liusvaara
e7472118a5 Lua: Use full userdata to store class binds 2013-08-21 23:32:48 +03:00
Ilari Liusvaara
9092dea931 Lua: Automatically pass Lua state to lua class ctors 2013-08-21 23:19:20 +03:00
Ilari Liusvaara
17f8603ec5 Make lua_obj_pin<T> copyable 2013-08-21 19:24:00 +03:00