Commit graph

571 commits

Author SHA1 Message Date
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
29fbf12e90 Move E() from joystick code to general text panel code 2013-08-13 11:37:02 +03:00
Ilari Liusvaara
9ebf20f19c Much more compact joystick dialog 2013-08-12 13:27:38 +03:00
Ilari Liusvaara
29f25ce1cb Some sort of fullscreen mode 2013-08-11 22:37:11 +03:00
Ilari Liusvaara
5298eb04f1 Replace X/Y scale with one scale + optional AR correction 2013-08-11 21:17:29 +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
212c819416 Lua: gui.kill_frame: Omit this frame from video dump 2013-08-08 20:41:29 +03:00
Ilari Liusvaara
11655fb0d8 Split callback and load functions to their own categories 2013-08-07 22:10:58 +03:00
Ilari Liusvaara
3b1383232e Cleanup controller and keymapper stuff on exit 2013-08-07 22:06:38 +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
b66c3b4777 Support packed Lua scripts in load dialog 2013-08-04 14:50:41 +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
Ilari Liusvaara
45300b3a2b wxWidgets: Refactor the settings dialog 2013-07-30 13:51:56 +03:00
Ilari Liusvaara
75b3e79ea7 Binary movies support 2013-07-29 22:16:23 +03:00
Ilari Liusvaara
a2fc2a19ec New file dialogs code 2013-07-27 14:49:29 +03:00
Ilari Liusvaara
59710f8f38 Merge branch 'rr1-maint' 2013-07-24 19:57:08 +03:00
Ilari Liusvaara
79dd270a7e Lua methods for handling movies as objects 2013-07-24 19:03:48 +03:00
Ilari Liusvaara
15679e0776 Lua: Don't crash if some method throws 2013-07-23 13:01:47 +03:00
Ilari Liusvaara
53b75adcf2 Automatically build index triple and legacy-pcid maps
All cores build these the same way, so make the code common.
2013-07-20 14:35:16 +03:00
Ilari Liusvaara
d10c863a56 Used_indices can be defined the same way for all ports, do so 2013-07-20 12:35:21 +03:00
Ilari Liusvaara
a149c67c40 Show dialog on important errors 2013-07-19 17:21:52 +03:00
Ilari Liusvaara
ff86d2f0c2 Merge branch 'rr1-maint' 2013-07-17 22:58:24 +03:00
Ilari Liusvaara
a8a1f09e94 Lua: Allow direct loading of PNG/PAL/BITMAP from string 2013-07-17 22:28:54 +03:00
Ilari Liusvaara
319d23ca69 Merge branch 'rr1-maint' 2013-07-17 15:22:07 +03:00
Ilari Liusvaara
da6d1256d2 (D)Bitmap decoding from PNG support 2013-07-17 14:58:53 +03:00
Ilari Liusvaara
8fe4f70d9a Lots of dispatch refactoring 2013-07-07 13:54:56 +03:00
Ilari Liusvaara
95bbae153e Whitespace cleanup 2013-07-06 23:21:11 +03:00
Ilari Liusvaara
eed387af93 Core cleanups
- Use initializer lists for actions
- Move some type methods to be core methods
2013-07-06 23:08:19 +03:00
Ilari Liusvaara
9d440ace13 More cleanup via initializer lists 2013-07-06 20:41:32 +03:00
Ilari Liusvaara
ac06feeeba Cleanup image slot stuff using initializer lists 2013-07-06 14:46:12 +03:00
Ilari Liusvaara
b10a560611 Kill unused code 2013-07-04 22:37:29 +03:00
Ilari Liusvaara
5386986129 Pull instead of push reset vectors
Pushing anything global from cores is very dubious to do...
2013-07-04 20:42:37 +03:00
Ilari Liusvaara
9538f19c92 Extend core actions
- Toggleable actions
- Enumerated choices
- Lua interface
- Nested action menus
- Fix actions disabled from the start
2013-07-04 18:17:07 +03:00
Ilari Liusvaara
a111afad42 Use virtual methods instead of pointers for core stuff 2013-07-03 18:21:16 +03:00
Ilari Liusvaara
84faf2f42e Rip out remainder of that old unmaintained dump code 2013-07-03 04:10:24 +03:00
Ilari Liusvaara
08e5f6acc9 Probably buggy SNES disassembler 2013-07-03 04:06:40 +03:00
Ilari Liusvaara
2995be7f12 Merge branch 'core-actions' 2013-06-30 14:07:10 +03:00
Ilari Liusvaara
839304f701 Core actions 2013-06-30 13:20:23 +03:00
Ilari Liusvaara
2874a1e7c5 More cleanup via initializer lists 2013-06-28 17:57:45 +03:00
Ilari Liusvaara
cd8b2e7d39 Allow specifying ROM type in file load dialog 2013-06-26 14:48:19 +03:00
Ilari Liusvaara
fbf7c48b84 More code simplification using C++11 initializers. 2013-06-23 15:57:21 +03:00