Commit graph

226 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
182accd4b2 JSON: Reduce internal exception spam 2013-10-23 23:45:53 +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
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
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
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
504dcb912e Memory search: Save, Load, Undo and Redo 2013-10-02 21:42:46 +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
68e8630308 Merge branch 'rr1-maint' 2013-09-27 14:25:46 +03:00
Ilari Liusvaara
59ef6961e3 Merge branch 'rr1-maint' 2013-09-27 10:47:19 +03:00
Ilari Liusvaara
22cba85a37 Merge branch 'rr1-maint' 2013-09-27 04:43:44 +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
70ad5377b8 Save ROM hints 2013-09-14 16:29:58 +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
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
b3d7dc5786 Add some missing files 2013-08-25 20:12:52 +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
Ilari Liusvaara
e4db2486b5 Be more careful when parsing macros
... Don't throw random exceptions when encountering something of wrong
type, instead throw exception with more proper message.
2013-08-19 09:22:09 +03:00
Ilari Liusvaara
c4bcddbfbd Reserve 1 byte for each macro button instead of 2 bits 2013-08-18 23:11:25 +03:00
Ilari Liusvaara
4feb4b6290 Macros: Support ? modifier for macros (press at random) 2013-08-18 23:03:43 +03:00
Ilari Liusvaara
a38ce6b99e Make port_type::legal based on data instead of generated 2013-08-17 17:58:43 +03:00
Ilari Liusvaara
065b59cd64 Fix parsing Oggopus files with tags spanning multiple pages 2013-08-14 23:52:35 +03:00
Ilari Liusvaara
707c1a4041 Joystick dialog: Compactify
... Otherwise the dialog will be frickin' big, especially with things like
PS3 controller using EVDEV driver.
2013-08-14 14:40:06 +03:00
Ilari Liusvaara
9ebf20f19c Much more compact joystick dialog 2013-08-12 13:27:38 +03:00
Ilari Liusvaara
be852e63e1 Use tree control instead of pair of listboxes in hotkeys&controls 2013-08-11 16:48:35 +03:00
Ilari Liusvaara
b3f8f7f1b7 Decouple sets of functions from Lua states 2013-08-07 17:31:09 +03:00
Ilari Liusvaara
7b67bfaac4 Lua: callback.register/callback.unregister 2013-08-06 16:17:01 +03:00
Ilari Liusvaara
32b98a880c Kill port type IDs
Those IDs are not used for anything.
2013-08-03 17:07:13 +03:00
Ilari Liusvaara
05d25513fb Improve inverse_bind/controller_key handling
This allows unbounded number of keys in inverse bind or controller_key,
instead of the old limits of 2 and 1.
2013-08-02 21:11:26 +03:00
Ilari Liusvaara
2308401234 Refactor joystick code
Gamepads are now remembered across emulator restarts
2013-08-02 11:50:56 +03:00
Ilari Liusvaara
19040b2033 Fix binary file saving (renames) 2013-07-31 15:38:35 +03:00