Commit graph

1948 commits

Author SHA1 Message Date
Ilari Liusvaara
63dfbd59d6 Make render queue scratch variables instance variables 2014-06-07 03:24:33 +03:00
Ilari Liusvaara
0631826095 Make some arrow magic constants in gui-arrow.cpp const 2014-06-07 03:20:48 +03:00
Ilari Liusvaara
c87c5de458 Remove Lua 5.1 support 2014-06-06 16:09:43 +03:00
Ilari Liusvaara
99577e806a Actually don't start if sysrc.lua is bad 2014-06-06 15:53:38 +03:00
Ilari Liusvaara
b021e7b5af read_lua_fragment: Don't duplicate the script infinite number of times 2014-06-06 15:51:53 +03:00
Ilari Liusvaara
7f271989d9 When panicing, show last message (as it is presumably related) 2014-06-06 15:38:56 +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
b8c72344c1 lua::state::reset(): Use get instead of get_soft 2014-06-05 00:08:44 +03:00
Ilari Liusvaara
fc8484f984 Kill emulation_thread, nothing uses it 2014-06-04 19:37:32 +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
bf0ca9b2f9 Do not use CORE() multiple times in the same function, it is pointless 2014-06-03 00:08:46 +03:00
Ilari Liusvaara
7e22f32429 Push instance vars out of keyboard/mouse driver code 2014-06-02 15:28:48 +03:00
Ilari Liusvaara
86da0775e0 Push instances up out from settings window code 2014-06-02 14:48:51 +03:00
Ilari Liusvaara
e6e3c71925 Eliminate settings_tab::call_window_fit(), nothing uses it 2014-06-02 11:43:50 +03:00
Ilari Liusvaara
6ba5fdfca8 More sweeping instance variables up 2014-06-02 11:41:41 +03:00
Ilari Liusvaara
2e36040731 Fix repainting status panel 2014-06-02 11:11:45 +03:00
Ilari Liusvaara
c634a74cf9 Sweep instance variables upward in UI code 2014-06-02 11:08:37 +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
a2f6ba2b6f Use variable obtained earlier for current branch 2014-05-31 18:22:43 +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
f89ecc3870 More include cleanups 2014-05-31 16:56:48 +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
11f231b9ee Some #include cleanup 2014-05-28 20:58:17 +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
ee59859dd3 Properly handle deletes if those behave oddly on some platform 2014-05-24 14:08:08 +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
16663f7786 Some more optimization, some test code for this thing 2014-05-23 11:49:50 +03:00