Commit graph

1773 commits

Author SHA1 Message Date
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
ae7f99b49c Support "wrambank" register (read-only) for DMG/CGB 2013-08-21 18:57:03 +03:00
Ilari Liusvaara
7026453768 Lua: gui.synchronous_repaint() 2013-08-21 04:14:53 +03:00
Ilari Liusvaara
e2b08d9c83 SNES: Support "compact form" where delay resets aren't supported 2013-08-20 01:20:34 +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
ccd4c2d5b8 lsnes-dumpavi: Support specifying dump length as overdump length 2013-08-15 22:55:59 +03:00
Ilari Liusvaara
76c9e338c5 Remove leftover debug messages 2013-08-14 23:54:05 +03:00
Ilari Liusvaara
065b59cd64 Fix parsing Oggopus files with tags spanning multiple pages 2013-08-14 23:52:35 +03:00
Ilari Liusvaara
782caddfa8 Portaudio: Heed defaults, don't use full-duplex mode 2013-08-14 19:49:04 +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
d4698e6380 Joystick dialog: Center one-digit numbers 2013-08-12 22:29:52 +03:00
Ilari Liusvaara
9ebf20f19c Much more compact joystick dialog 2013-08-12 13:27:38 +03:00
Ilari Liusvaara
e6884c194c Tweak the video options panel 2013-08-12 12:39:28 +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
156974f362 Settings dialog: Support right click context menu 2013-08-11 19:36:00 +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
408002eec1 Config dialog / advanced: Treat doubleclick as change click 2013-08-11 13:39:32 +03:00
Ilari Liusvaara
07d3065afc Don't offer horizontal scale factor as value of verical factor 2013-08-11 01:34:03 +03:00
Ilari Liusvaara
0192d46adb Lua: Forbid loading binary chunks
Binary Lua chunks are just plain unsafe.
2013-08-11 00:17:23 +03:00
Ilari Liusvaara
9f9bddccb6 Lua: open_file
This variant has support for relative file locating and reading inside
.zip files.
2013-08-10 23:33:46 +03:00
Ilari Liusvaara
e3bcf53676 Gambatte: Allow native-rate sound output 2013-08-10 11:51:30 +03:00
Ilari Liusvaara
d7dc71a6e4 Gambatte: DMG palette manipulation 2013-08-10 11:41:52 +03:00
Ilari Liusvaara
208228bc7e Lua: gui.bitmap_pget: Read pixels from bitmap 2013-08-08 20:55:42 +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
f79359a526 Gambatte: First emit video, then sound 2013-08-08 18:41:52 +03:00
Ilari Liusvaara
3876f60183 SNES: Call callbacks in correct Lua state if there are multiple 2013-08-08 12:19:49 +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
11b83ef0ff Properly handle zip_reader trying to open something that isn't .zip 2013-08-07 21:26:52 +03:00
Ilari Liusvaara
b3f8f7f1b7 Decouple sets of functions from Lua states 2013-08-07 17:31:09 +03:00
Ilari Liusvaara
da1fb14e24 Lua: callback.foo:register/callback.foo:unregister 2013-08-06 20:55:03 +03:00
Ilari Liusvaara
e2ecb61db0 Don't call action_state_updated() while emulator is starting up 2013-08-06 16:49:37 +03:00
Ilari Liusvaara
f4fd9cfa09 Merge remote-tracking branch 'origin/master' 2013-08-06 16:17:54 +03:00
Ilari Liusvaara
7b67bfaac4 Lua: callback.register/callback.unregister 2013-08-06 16:17:01 +03:00
Ilari Liusvaara
2fcd8b391d Merge remote-tracking branch 'origin/master' 2013-08-05 12:31:43 +03:00
Ilari Liusvaara
7da4621285 Don't show joystics tab/dialog if there are no joysticks 2013-08-05 12:30:38 +03:00
Ilari Liusvaara
89c4f45f36 lsnes rr2-β9 2013-08-04 20:52:55 +03:00
Ilari Liusvaara
e436cabd72 Mac OS X compile fixes 2013-08-04 20:51:11 +03:00
Ilari Liusvaara
3cb5d08c86 Lua: Implement function to resolve filename w.r.t. another 2013-08-04 17:20:27 +03:00
Ilari Liusvaara
25f63a8c09 Some documentation about @@LUA_SCRIPT_FILENAME@@ 2013-08-04 17:16:11 +03:00
Ilari Liusvaara
b66c3b4777 Support packed Lua scripts in load dialog 2013-08-04 14:50:41 +03:00
Ilari Liusvaara
9f546c38a9 Lua: Add basename'd forms for gui.bitmap_load{,_png,_pal} 2013-08-04 14:50:41 +03:00
Ilari Liusvaara
750608ad56 Lua: loadfile/dofile: Support basenames
Also adds support for special token '@@LUA_SCRIPT_FILENAME@@', which
will be replaced with filename of Lua script.
2013-08-04 14:50:41 +03:00
Ilari Liusvaara
0a3fc9ccc6 Lua: gui.adjust_transparency 2013-08-04 12:16:09 +03:00