Commit graph

372 commits

Author SHA1 Message Date
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
Ilari Liusvaara
3d1d920fff Factor message stream stuff to its own files 2014-05-28 20:31:08 +03:00
Ilari Liusvaara
cfc18e9e91 Combine some small headers together 2014-05-28 20:11:09 +03:00
Ilari Liusvaara
205b8eccdf Make helper class for instance member allocation / deallocation 2014-05-28 19:14:08 +03:00
Ilari Liusvaara
ed7496cc88 Instancefy button manager stuff 2014-05-28 18:24:54 +03:00
Ilari Liusvaara
a6a110bac9 Rewrite basic video dumping framework 2014-05-28 13:51:24 +03:00
Ilari Liusvaara
88a526d9cd Remove unused dump_region_map() 2014-05-24 14:19:30 +03:00
Ilari Liusvaara
0a0cd049b1 Make instance vars to be pointers
This saves compilation time by reducing number of deps.
2014-05-24 14:05:04 +03:00
Ilari Liusvaara
1b2bd60455 Factor queue stuff to its own file 2014-05-24 12:05:38 +03:00
Ilari Liusvaara
f3c081da1e Do some more stuff missed in last commit 2014-05-24 11:56:48 +03:00
Ilari Liusvaara
7b4eadbe3e Make various instance stuff to take references to other instance objs 2014-05-24 11:39:36 +03:00
Ilari Liusvaara
878100b52c Instancefy framebuffer stuff 2014-05-23 20:14:12 +03:00
Ilari Liusvaara
52864d3aaa Instancefy framerate stuff 2014-05-23 19:43:03 +03:00
Ilari Liusvaara
95d1b5130f Move some debug stuff to be in class scope 2014-05-23 18:11:06 +03:00
Ilari Liusvaara
adb1b29c67 Refactor debugging into instance object 2014-05-21 18:32:17 +03:00
Ilari Liusvaara
f2de04266e Fix all sort of Windows stupidities
- Using _export as method name is no-no on certain bad OS
- Don't re-declare certain defines involved in brain-dead linking
  shit
- Actually build crandom::arch_get_tsc/arch_get_random on Win32
2014-05-19 13:35:33 +03:00