Commit graph

766 commits

Author SHA1 Message Date
Ilari Liusvaara
39286f820a Refactor unsafe rewinding a bit now that state is its own subobject 2015-04-25 13:18:37 +03:00
Ilari Liusvaara
653f44e353 Refactor dynamic state to its own subobject
This is meant as base for further refactoring
2015-04-14 15:39:50 +03:00
Ilari Liusvaara
a45baf5559 Mark the core methods that should be idempotent as const 2015-04-14 13:06:13 +03:00
Ilari Liusvaara
3571fb3e08 Refer to loaded ROM imagesets as handles 2015-04-14 12:34:19 +03:00
Ilari Liusvaara
b7aedc6cd9 Internally refactor loaded ROM imageset out of loaded ROM code 2015-04-14 11:25:10 +03:00
Ilari Liusvaara
1bf49d532d Move NULL core code to its own file 2015-04-14 10:27:35 +03:00
Ilari Liusvaara
a6b7391da5 Refactor loaded_rom to make public fields private 2015-04-14 10:21:31 +03:00
Ilari Liusvaara
a1b96d75da Split overly large loaded_rom constructor 2015-04-11 20:31:23 +03:00
Ilari Liusvaara
63b59e35f7 Lua: Don't run class destructor if constructor failed 2015-03-04 22:34:03 +02:00
Ilari Liusvaara
8e95c54d68 Throw mic in to entropy pool 2015-02-27 19:02:25 +02:00
Ilari Liusvaara
791684edc3 wxwidgets: Hide dumper called "NULL"
This is not working dumper (it is meant for PGO using lsnes-dumpavi),
so don't show it.
2015-02-12 13:16:56 +02:00
Ilari Liusvaara
ff1004d7fa If initsram/initstate points to LSS file, pull the matching member 2015-02-12 01:40:36 +02:00
Ilari Liusvaara
bdcf21a4e1 Movie editor: Fix unnamed branch to show properly in select branch 2015-02-12 00:38:07 +02:00
Ilari Liusvaara
95ec8a8ba7 Lua: add gui.get_runmode() 2015-02-11 21:24:06 +02:00
Ilari Liusvaara
54cbe456b4 Move all regex matching to library/string.cpp
This is in preparation to having an option to use std::regex. Also should
fix a few bugs with trace log.
2015-02-07 14:37:18 +02:00
Ilari Liusvaara
94b603c9f2 Fix some compilation errors on Mac OS X 2015-02-04 21:28:25 +02:00
Ilari Liusvaara
2312324824 Only exit poll advance on poll to non-00 control 2015-01-30 19:45:46 +02:00
Ilari Liusvaara
d09d301849 Add commands and Lua functions to manipulate running speed 2015-01-17 09:25:50 +02:00
Ilari Liusvaara
346ea41e0d Fix Win32 build 2015-01-13 22:49:32 +02:00
Ilari Liusvaara
71b57756ca Cleanup Lua multiversion support 2015-01-06 08:13:10 +02:00
Ilari Liusvaara
f4c1bc6e84 Lua 5.3 support 2015-01-06 05:19:39 +02:00
Ilari Liusvaara
50fd1b6b5f Don't let one unload currently used core (crashes the emulator) 2015-01-06 02:55:03 +02:00
Ilari Liusvaara
5dedb34943 Lua: PALETTE:get() 2014-12-20 06:38:47 +02:00
Ilari Liusvaara
03a57aa421 runuifun: Allow marking cb routine to run once at a time 2014-12-10 08:55:02 +02:00
Ilari Liusvaara
4d86f19837 Add the UI thread checking code
Might still have some false positives.
2014-12-09 16:46:50 +02:00
Ilari Liusvaara
9fdd0bdd38 Tweak format of command help files and do some further command cleanup 2014-11-18 16:19:01 +02:00
Ilari Liusvaara
028a51066c Show VMA relative hex address when dumping debug hook list 2014-11-18 07:43:05 +02:00
Ilari Liusvaara
5ddf119ef0 Reinitialize gamepads command and fix EVDEV going bonkers on gamepad suddenly disconnecting 2014-11-17 20:12:20 +02:00
Ilari Liusvaara
3b2298180a Allow binding commands to class instance 2014-11-17 15:55:14 +02:00
Ilari Liusvaara
5ee7962cb9 Rudimentary library unloading support
Rather easy to crash the emulator with this, but...
2014-11-17 15:10:13 +02:00
Ilari Liusvaara
b218c1aaa0 Allow memory watch to read registers 2014-11-11 20:56:54 +02:00
Ilari Liusvaara
212d554ad1 Split audioapi to core interface and driver interface parts 2014-11-10 19:52:10 +02:00
Ilari Liusvaara
e2589db8b7 Rename token_iterator_foreach to token_iterator::foreach 2014-11-10 16:54:18 +02:00
Ilari Liusvaara
b0c08d3a9f Make workthread a class in top namespace and move some stuff under it 2014-11-10 16:26:16 +02:00
Ilari Liusvaara
3c2b0402b2 Refactor memory_region{,_direct} to be subclasses of memory_space 2014-11-10 16:19:27 +02:00
Ilari Liusvaara
b5ed0f73b1 Refactor library GC to its own namespace 2014-11-10 16:06:04 +02:00
Ilari Liusvaara
9a69dc3511 Namespace library port-controller stuff 2014-11-10 05:13:34 +02:00
Ilari Liusvaara
6639ab0437 Refactor controller runtime code generation 2014-11-10 02:53:58 +02:00
Ilari Liusvaara
0f51ad0b16 C interface: render_text (version bump to v2)
Bump C interface version to 2, in order to add render_text (render text
to bitmap, using system font
2014-11-02 15:01:57 +02:00
Ilari Liusvaara
50215d8c01 Print messages about loaded libraries 2014-10-31 23:24:23 +02:00
Ilari Liusvaara
a00d357bef Remember sound devices 2014-10-19 02:37:55 +03:00
Ilari Liusvaara
b7d0fe9eb1 Opus: Support some newly added stuff 2014-08-09 17:31:38 +03:00
Ilari Liusvaara
5c84507e22 Revert "Remove Lua 5.1 support"
This reverts commit c87c5de458.
2014-08-08 04:04:14 +03:00
Ilari Liusvaara
c3982c8902 Clean up instance usage in editor-voicesub.cpp 2014-06-09 18:43:19 +03:00
Ilari Liusvaara
a2f4ba6dfd Clean up use of project->moviepath/otherpath 2014-06-09 18:39:30 +03:00
Ilari Liusvaara
b13e9ef12c Clean up window-fileupload.cpp 2014-06-09 18:24:00 +03:00
Ilari Liusvaara
b6dac6c1ed Factor updating status to its own class 2014-06-09 02:05:56 +03:00
Ilari Liusvaara
b8b4233255 Make class for emulator run mode 2014-06-09 01:10:29 +03:00
Ilari Liusvaara
4afda2550e Refactor save jukebox handling into its own class 2014-06-08 15:13:01 +03:00
Ilari Liusvaara
ae17d41df4 Privatefy loaded_rom rtype, region and orig_region 2014-06-08 14:24:57 +03:00