Ilari Liusvaara
b57e6d5eda
lsnes_vsetc -> lsnes_instance.setcache
2014-05-10 11:54:15 +03:00
Ilari Liusvaara
d95f247e9f
lsnes_memorywatch -> lsnes_instance.mwatch
2014-05-10 11:41:08 +03:00
Ilari Liusvaara
ee6b522395
lsnes_lua_state -> lsnes_instance.lua
2014-05-10 11:32:48 +03:00
Ilari Liusvaara
5ee9514791
Don't extern lsnes_lua_state, it is only used in one file
2014-05-10 11:28:11 +03:00
Ilari Liusvaara
c84a8125c9
lsnes_memory -> lsnes_instance.memory
2014-05-10 11:22:31 +03:00
Ilari Liusvaara
dcd9bec1fc
movb -> lsnes_instance.mlogic
2014-05-10 11:09:28 +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
ffcdc987bd
If loading ROM with multiple candidates, prompt before adding to recentrom
2014-05-03 08:27:18 +03:00
Ilari Liusvaara
45388e8ee2
Support configurable URI shorthands
2014-05-01 13:56:33 +03:00
Ilari Liusvaara
e10a2fcfe5
Trace logger (Window): Show start of frame
2014-05-01 04:12:15 +03:00
Ilari Liusvaara
be838db972
Lua: Fix some includes
2014-04-29 08:29:33 +03:00
Ilari Liusvaara
175a080382
Autodetect followed by undefined with multiple choices: Ask user
2014-04-26 20:55:42 +03:00
Ilari Liusvaara
a3c81eec0c
Wipe all sorts of potentially sensitive stuff after use
2014-04-24 17:06:22 +03:00
Ilari Liusvaara
4560782668
moviefile::get_movie_length: Use milliseconds, not nanoseconds
...
The fractional division should still be exact (but rounds up).
2014-04-21 21:46:29 +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
ceed4f622f
Merge multiple versions of get_read_address() into one
2014-04-21 15:54:36 +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
d7daa8963c
c-interface: Add some translation templates
2014-04-06 16:42:58 +03:00
Ilari Liusvaara
f2e1930909
Lua: (D)BITMAP:draw_clip, (D)BITMAP:draw_outside, TILEMAP:draw_outside
2014-04-03 00:59:05 +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
12c9a5fdfb
Don't update statusbar fast outside paint event
...
Turns out spamming wxStatusBar::SetStatusText() outside paint event
causes wxWidgets to livelock.
2014-04-01 14:25:11 +03:00
Ilari Liusvaara
5cc3661437
Refactor emulator status reporting (and fix the statusbar doesn't update bug)
2014-04-01 00:13:36 +03:00
Ilari Liusvaara
5d0fb0f39a
Error out creating too large bitmaps / tilemaps instead of corrupting memory
2014-03-31 14:15:24 +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
2498bad58d
Autosave settings immediately after closing settings
2014-03-30 21:20:21 +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
b367334238
Only update emulator status from within update_movie_state()
2014-03-28 12:36:21 +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
5a0ccb1401
Free some more memory before quitting
2014-03-22 13:28:53 +02:00
Ilari Liusvaara
9a1895eaea
Fix some memory leak complaints from Valgrind
2014-03-22 13:11:51 +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
432185f37d
Fix core callbacks being undefined if loading ROM from cmdline
2014-03-06 10:29:48 +02:00
Ilari Liusvaara
1d72c3c4f8
C interface
2014-02-27 22:45:44 +02:00
Ilari Liusvaara
76c9599369
New projects menu
2014-02-25 04:03:55 +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
1994af1d09
Tracelogger: Breakpoints
2014-02-22 21:31:13 +02:00
Ilari Liusvaara
c685319f88
Lua: Clean up region bounds computation
2014-02-18 20:26:50 +02:00
Ilari Liusvaara
0f6bf458d8
wxwidgets: Allow entering fullscreen mode from commandline
2014-02-16 01:06:17 +02:00
Ilari Liusvaara
9bd1791701
Lua: Don't run Lua until the emulator has fully started up
2014-02-15 13:51:39 +02:00
Ilari Liusvaara
ef1f61a6e7
Lua: COMPARE_OBJ: Check strided memory block for modifications
2014-02-14 22:22:45 +02:00
Ilari Liusvaara
d1176cbf9e
Lua: memory2: More functions corresponding to memory.*
2014-02-13 13:48:01 +02:00