Ilari Liusvaara
6bad138d8b
Instancefy base mmio stuff
2014-05-31 17:16:45 +03:00
Ilari Liusvaara
b6b5243abe
run in emu thread: Throw exceptions over thread switches
2014-05-18 19:58:56 +03:00
Ilari Liusvaara
b1fbb804c8
Instancefy alias binds management
2014-05-18 00:38:58 +03:00
Ilari Liusvaara
2f7089da5f
Move rename_overwrite from zip:: to directory::
2014-05-15 17:54:54 +03:00
Ilari Liusvaara
927467b6ec
Move directory stuff to dedicated namespace
2014-05-15 17:47:11 +03:00
Ilari Liusvaara
3a61504580
Scope listener base classes inside respective master classes
2014-05-14 17:00:34 +03:00
Ilari Liusvaara
986640b6ba
controller_frame_vector: Use object instead of lambda for notify
2014-05-14 16:49:25 +03:00
Ilari Liusvaara
29ee02309b
Move lua-framebuffer to lua namespace
2014-05-14 11:50:59 +03:00
Ilari Liusvaara
9f7c5523d7
Namespacify mathexpr
2014-05-14 11:43:25 +03:00
Ilari Liusvaara
3a85ccc506
Move memorywatch stuff to dedicated namespace
2014-05-14 10:50:49 +03:00
Ilari Liusvaara
670f92c3f8
Kill off register-queue
2014-05-13 16:32:53 +03:00
Ilari Liusvaara
04575a789b
settingvar.cpp: Get rid of register_queue
2014-05-13 16:30:35 +03:00
Ilari Liusvaara
a77c6a4df6
Lua.cpp: Get rid of register-queue
2014-05-13 16:13:09 +03:00
Ilari Liusvaara
ba3446697e
keyboard-mapper.cpp: Get rid of register_queue
2014-05-13 15:30:16 +03:00
Ilari Liusvaara
f41142ea16
keyboard.cpp: Get rid of register_queue
2014-05-13 14:51:09 +03:00
Ilari Liusvaara
3ca96fb1b0
Reduce dependicies between header files
2014-05-13 13:42:07 +03:00
Ilari Liusvaara
d47959b618
Kill command::set::get_commands()
...
Nothing uses it
2014-05-13 12:31:34 +03:00
Ilari Liusvaara
6f35061747
Setting sets
2014-05-13 09:06:14 +03:00
Ilari Liusvaara
30d7196cd4
Listener object is better than 3 lambdas + handle
2014-05-12 23:44:12 +03:00
Ilari Liusvaara
ab9c568062
Inverse binding sets
2014-05-12 20:37:04 +03:00
Ilari Liusvaara
8eb23a34ca
Use recursive locks to deal with the locking mess in command::*
2014-05-12 19:08:45 +03:00
Ilari Liusvaara
7f8fd7b393
Simplify command::* memory management
2014-05-12 15:48:08 +03:00
Ilari Liusvaara
f4c6c6e322
Command sets WIP
2014-05-11 20:01:26 +03:00
Ilari Liusvaara
6ced0ce890
Split random number functions from misc.cpp to dedicated file
2014-05-10 15:17:12 +03:00
Ilari Liusvaara
6f65559571
Get rid of lsnes_vset[foo]
2014-05-10 12:15:57 +03:00
Ilari Liusvaara
c961f78f03
Use urandom / rtlgenrandom
...
Simplify the mess of random number generation.
Also, even if rtlgenrandom is officially documented as don't use, if
it gets changed/removed, if this emulator works is the least of your
worries (Microsoft just broke all backward compatibility).
2014-05-04 19:08:25 +03:00
Ilari Liusvaara
45388e8ee2
Support configurable URI shorthands
2014-05-01 13:56:33 +03:00
Ilari Liusvaara
be838db972
Lua: Fix some includes
2014-04-29 08:29:33 +03:00
Ilari Liusvaara
a3c81eec0c
Wipe all sorts of potentially sensitive stuff after use
2014-04-24 17:06:22 +03:00
Ilari Liusvaara
c594082dfa
Lua: Deprecate global addresses
...
These are a frequent source of bugs in Lua scripts, so deprecate those.
2014-04-21 16:16:55 +03:00
Ilari Liusvaara
4c952beb3b
Use open/read/write/close for binary saves instead of iostreams
2014-04-10 22:51:42 +03:00
Ilari Liusvaara
154abcb8d7
Numeric range class, obsolete clip_range.
2014-04-02 15:18:33 +03:00
Ilari Liusvaara
d533647560
Delete the now-unused emulator_status stuff
2014-04-02 08:43:25 +03:00
Ilari Liusvaara
7ba7fc24f6
Use overcommit for palettes, bitmaps, dbitmaps and tilemaps
...
This makes the large size of these objects visible to Lua, hopefully
allowing Lua GC to make better decisions.
2014-03-31 12:42:33 +03:00
Ilari Liusvaara
e0827ce54f
Add base support for Lua object overcommit
2014-03-31 11:31:25 +03:00
Ilari Liusvaara
4a027d5f4e
Make compiler more anal and fix what comes up
...
Probably got multiple Lua crash bugs...
2014-03-29 20:43:58 +02:00
Ilari Liusvaara
c9777bba18
Fix the 0 movie length bug
2014-03-29 17:21:50 +02:00
Ilari Liusvaara
39d2ecaa62
Refactor triple buffering logic to its own file
2014-03-26 12:27:17 +02:00
Ilari Liusvaara
99475b2a0b
Lock/Unlock multiple locks at once function / class
2014-03-23 10:28:33 +02:00
Ilari Liusvaara
32f2e2ce81
Refactor streamcompress.hpp
2014-03-23 09:56:22 +02:00
Ilari Liusvaara
4f0e636b9b
Refactor workthread.hpp and threadtypes.hpp (renamed to threads.hpp)
...
Also rename all variables and fields named "mutex" (gdb does not like
that name).
2014-03-23 09:45:42 +02:00
Ilari Liusvaara
2823958ffb
Fix another potential dtor order crash
2014-03-22 13:49:56 +02:00
Ilari Liusvaara
57992947ae
Optimize movie.find_frame()
...
The new version is about 6x faster.
2014-03-19 18:21:36 +02:00
Ilari Liusvaara
08b41877a3
Recentfiles object: named object
2014-02-25 04:03:52 +02:00
Ilari Liusvaara
960fd4f892
Move library recentfiles to its own namespace
2014-02-25 04:02:54 +02:00
Ilari Liusvaara
fc95e85126
Pass dummy object parameter to do_unregister
...
This allows getting rid of proxy objects
2014-02-23 07:07:20 +02:00
Ilari Liusvaara
c685319f88
Lua: Clean up region bounds computation
2014-02-18 20:26:50 +02:00
Ilari Liusvaara
d1176cbf9e
Lua: memory2: More functions corresponding to memory.*
2014-02-13 13:48:01 +02:00
Ilari Liusvaara
0e0ca079fa
Lua: memory.hash_region(), memory.store(), memory.storecmp()
2014-02-10 21:25:25 +02:00
Ilari Liusvaara
783d20f690
Don't use framebuffer palettes
2014-02-10 00:07:31 +02:00