Commit graph

1937 commits

Author SHA1 Message Date
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
Ilari Liusvaara
c5372a4826 Some optimizations & fixes 2014-05-23 04:21:00 +03:00
Ilari Liusvaara
f20d522c4c Remove broken crap 2014-05-22 21:04:51 +03:00
Ilari Liusvaara
2d811d2b4e Faster arithmetic modulo 2^255-19 on 64-bit
Cuts the time to compute DHF from ~760k to ~360k cycles.
2014-05-22 14:03:12 +03:00
Ilari Liusvaara
adb1b29c67 Refactor debugging into instance object 2014-05-21 18:32:17 +03:00
Ilari Liusvaara
c5a31e85d8 Add some test commands 2014-05-19 16:52:55 +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
Ilari Liusvaara
7f586e55b6 Make the emulator harder to imporperly quit 2014-05-19 13:09:16 +03:00
Ilari Liusvaara
7fb5407541 Don't corrupt memory when trying to GC various items on exit 2014-05-19 12:43:04 +03:00
Ilari Liusvaara
7834906157 Gambatte: Fix execute breaks on bus and IOAMHRAM 2014-05-19 12:21:34 +03:00
Ilari Liusvaara
606ce072a7 Gambatte: Fix bus write breaks 2014-05-19 12:17:28 +03:00
Ilari Liusvaara
b6b5243abe run in emu thread: Throw exceptions over thread switches 2014-05-18 19:58:56 +03:00