Commit graph

387 commits

Author SHA1 Message Date
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
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
95ec8a8ba7 Lua: add gui.get_runmode() 2015-02-11 21:24:06 +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
50fd1b6b5f Don't let one unload currently used core (crashes the emulator) 2015-01-06 02:55:03 +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
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
a00d357bef Remember sound devices 2014-10-19 02:37:55 +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
Ilari Liusvaara
301198e98f Instancefy currently loaded ROM 2014-06-08 04:15:01 +03:00
Ilari Liusvaara
7914d0bd70 Make some static variables in audioapi functions fields of audioapi class 2014-06-07 17:37:17 +03:00
Ilari Liusvaara
8f54db2902 Instancefy audioapi core (but not driver) stuff 2014-06-07 17:33:03 +03:00
Ilari Liusvaara
f62caa4b08 Some non-instance variables cleanup 2014-06-07 15:27:06 +03:00
Ilari Liusvaara
a30c8f0890 Don't crash if exiting on panic 2014-06-06 15:30:57 +03:00
Ilari Liusvaara
14a0862342 Instancefy lua core stuff
This should fix crashes on startup on Win32
2014-06-06 15:03:16 +03:00
Ilari Liusvaara
bf00f42e0a Lua: Memory address object 2014-06-03 11:33:53 +03:00
Ilari Liusvaara
5d27f23cb2 Make some values const, remove some unused stuff 2014-06-03 03:52:13 +03:00
Ilari Liusvaara
5f4924debc Refactor slotcache to be instance variable 2014-06-03 03:15:00 +03:00
Ilari Liusvaara
c34db9ef74 Fix warnings from valgrind 2014-06-03 01:16:31 +03:00
Ilari Liusvaara
888afe8bcb Use helper class to simplify per-instance external vars 2014-06-03 01:16:16 +03:00
Ilari Liusvaara
c3b1031498 Remove direct emulation thread references from keyboard.cpp 2014-05-31 22:34:43 +03:00
Ilari Liusvaara
77abaa2d98 Get rid of direct references from dumpmenu.cpp to emulation thread 2014-05-31 22:16:15 +03:00
Ilari Liusvaara
aa7e15aa27 Cleanup direct emulation thread references in editor-authors.cpp 2014-05-31 21:48:57 +03:00
Ilari Liusvaara
d7c6cd1905 Get rid of direct references to emulation thread in branchesmenu.cpp 2014-05-31 18:16:05 +03:00
Ilari Liusvaara
6bad138d8b Instancefy base mmio stuff 2014-05-31 17:16:45 +03:00
Ilari Liusvaara
9baba2cc99 Remove unused load_rom_from_commandline 2014-05-31 16:18:41 +03:00
Ilari Liusvaara
4829c852ad Move action_update to be via dispatch 2014-05-31 14:16:18 +03:00
Ilari Liusvaara
cf21744d00 Instancefy dispatch stuff 2014-05-31 13:58:17 +03:00
Ilari Liusvaara
f036ccd02d Refactor video dump framedrop handling 2014-05-31 09:23:47 +03:00
Ilari Liusvaara
5266f96cfd Move render_video_hud and killed_audio_length to master dumper class 2014-05-31 09:10:04 +03:00