Commit graph

1889 commits

Author SHA1 Message Date
Ilari Liusvaara
4be906fa36 Instancefy inthread.cpp stuff 2014-05-10 13:12:42 +03:00
Ilari Liusvaara
6f65559571 Get rid of lsnes_vset[foo] 2014-05-10 12:15:57 +03:00
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
46feccd206 Remove unused variable and some commented out debug code 2014-05-10 10:33:38 +03:00
Ilari Liusvaara
e9e9fd4394 Zeroize: Don't crash if size=0 2014-05-08 18:33:33 +03:00
Ilari Liusvaara
4e29357123 Lua: memory.getregisters() 2014-05-06 20:42:22 +03:00
Ilari Liusvaara
24af115b47 lsnes rr2-β21 2014-05-04 19:27:03 +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
40d5f30d1c TAS input keyboard support 2014-05-04 19:06:05 +03:00
Ilari Liusvaara
965cc73bfa Some Win32 build fixes 2014-05-04 18:55:15 +03:00
Ilari Liusvaara
6af073792a Tweak the RNG a bit 2014-05-03 20:45:14 +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
579c20988a Fix loading states with movie-ahead without ROM 2014-05-01 19:28:14 +03:00
Ilari Liusvaara
192d876e96 Movie editor: Insert multiple lines at once 2014-05-01 19:18:36 +03:00
Ilari Liusvaara
9ccd279646 Movie editor: Draw clear / fix current column 2014-05-01 19:06:42 +03:00
Ilari Liusvaara
45388e8ee2 Support configurable URI shorthands 2014-05-01 13:56:33 +03:00
Ilari Liusvaara
7f0da4d4eb Trace logger: Don't double free trace hooks
Trying to free already freed hook should do nothing, but still don't
do that.
2014-05-01 12:32:46 +03:00
Ilari Liusvaara
3b5ccbaf36 lsnes-dumpavi: Support downloading movies 2014-05-01 09:26:16 +03:00
Ilari Liusvaara
7534bf66d9 Fix potential crash on exit 2014-05-01 09:09:10 +03:00
Ilari Liusvaara
499e85fbab Trace logger: Allow deleting lines / clearing 2014-05-01 04:27:47 +03:00
Ilari Liusvaara
e10a2fcfe5 Trace logger (Window): Show start of frame 2014-05-01 04:12:15 +03:00
Ilari Liusvaara
6fc0cf9cf6 Fix SA1 open bus 2014-04-30 00:26:29 +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
f4102dc311 Memory peek/poke: Accept and show relative addresses 2014-04-26 20:20:23 +03:00
Ilari Liusvaara
a3c81eec0c Wipe all sorts of potentially sensitive stuff after use 2014-04-24 17:06:22 +03:00
Ilari Liusvaara
a0d293a7b6 Use curl-config instead of -lcurl 2014-04-22 04:08:44 +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
acb0c481a5 Memory search: Resolve memory area if possible 2014-04-21 15:51:08 +03:00
Ilari Liusvaara
ebf7a1e90e SNES: Pseudo-registers hcounter and vcounter 2014-04-18 21:19:43 +03:00
Ilari Liusvaara
91f63c4d63 SNES: SA1 registers for memory.getregister/setregister 2014-04-18 19:38:20 +03:00
Ilari Liusvaara
2e8c828f05 ZMBV full search mode
This is pretty much unusuably slow, but useful if one really wants
to compress the dump.
2014-04-18 19:31:15 +03:00
Ilari Liusvaara
dffb2d614b Recognize SA1IRAM for purposes of breakpoints 2014-04-16 18:35:11 +03:00
Ilari Liusvaara
2e4d9098cd SA1 tracing support + memorywatch/search SA1 IRAM 2014-04-14 21:23:41 +03:00
Ilari Liusvaara
602166c5d3 Advance macros after frame is complete, not before frame starts 2014-04-14 15:03:26 +03:00
Ilari Liusvaara
4ffdbdd695 Fix macros getting frame duplicated after loadstate 2014-04-13 21:50:11 +03:00
Ilari Liusvaara
119fefedd4 Select slot hotkeys 2014-04-12 20:22:11 +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
0e0989b568 Don't use -Werror
Good idea for debugging, dad idea in source code...
2014-04-06 16:58:40 +03:00
Ilari Liusvaara
3752a3f8a2 src/lua/gui-bitmap.cpp Initialize spal to avoid compiler warning
The variable can't really be used uninitialized, because it is only
used if src_p is true, and the same variable causes it to be initialized.
2014-04-06 16:49:19 +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
ff45e27d5e Lua: gui.solidrectangle 2014-04-02 15:27:58 +03:00