Commit graph

1751 commits

Author SHA1 Message Date
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
896b7144b8 Fix potential dtor ordering crash in file hasher 2014-03-22 13:37:45 +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
e1c890de1d Speed up font init
regex() is slow, use normal string manipulation functions. Cuts the time
to initialize fonts (which is about 75% of the startup time) to about
20% of what it was.
2014-03-22 12:17:13 +02:00
Ilari Liusvaara
b7cf3921e0 Some missing string conversions and headers 2014-03-21 14:50:13 +02:00
Ilari Liusvaara
92465b929f Move one #ifdef BSNES_HAS_DEBUGGER to the proper place 2014-03-21 14:12:31 +02:00
Ilari Liusvaara
a26de8a081 lsnes rr2-β18 2014-03-19 18:23:57 +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
1436aa7d3d Make setting/unsetting non-bus breaks much faster.
The new code seems to be about 400x faster, at least in some cases...
2014-03-17 14:26:50 +02:00
Ilari Liusvaara
f73e59688c SNES: Fix disassembly of long offsets 2014-03-16 19:38:16 +02:00
Ilari Liusvaara
7f511cd1f7 Allow bsnes tracelogger to trace execution in controller registers 2014-03-16 16:54:43 +02:00
Ilari Liusvaara
2325e501b3 Lua: Get lag count function 2014-03-15 15:24:07 +02:00
Ilari Liusvaara
34aa56d429 Fix deleting executing breakpoint 2014-03-11 14:56:51 +02:00
Ilari Liusvaara
4556e01edf Don't double-close audio output
Fixes an error in Valgrind and error on switching sound devices.
2014-03-09 02:14:26 +02:00
Ilari Liusvaara
cfbccd9518 Correctly show axes as disabled even if offline 2014-03-09 02:07:24 +02:00
Ilari Liusvaara
2af2a30e6a Force some configuration windows to be larger 2014-03-09 02:04:07 +02:00
Ilari Liusvaara
6e93d2c786 Add JSON linter utility
This might be handy for debugging bad JSON.
2014-03-08 13:59:54 +02:00
Ilari Liusvaara
d6cfb451b7 Tweak new movie dialog layout a bit 2014-03-08 00:12:12 +02:00
Ilari Liusvaara
8226514183 Fix mouse electronics test 2014-03-07 02:09:50 +02:00
Ilari Liusvaara
a0ac5a3b84 Fix compilation on Mac OS X 2014-03-06 13:11:05 +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
455d43b2ba C interface: Check for value != 0, not for control != 0 for lag check 2014-03-02 02:21:27 +02:00
Ilari Liusvaara
89f31f328b C interface: Fix lag counting without LSNES_CORE_CAP1_PFLAG 2014-03-02 00:56:29 +02:00
Ilari Liusvaara
e44468f426 bsnes core: Raise bus breaks against correct address 2014-02-28 23:35:13 +02:00
Ilari Liusvaara
8a430a657e lsnes rr2-β17 2014-02-28 15:49:09 +02:00
Ilari Liusvaara
aa420b8297 Fix exact core matching when loading projects 2014-02-28 05:38:29 +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
defb1cba72 Don't crash if recentfiles line fails to deserialize 2014-02-25 04:02:54 +02:00
Ilari Liusvaara
960fd4f892 Move library recentfiles to its own namespace 2014-02-25 04:02:54 +02:00
Ilari Liusvaara
733881d232 Fix system plugins not getting loaded if user plugin enum failed 2014-02-25 04:02:53 +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
bad1141c65 Memory search: Fix display of unsigned dword and signed qword 2014-02-22 12:50:25 +02:00
Ilari Liusvaara
bb40d868f6 Properly set Read-Only mode if rewinding 2014-02-22 12:03:32 +02:00
Ilari Liusvaara
75d15409f9 Wxwidgets: --unpause to auto-unpause on start 2014-02-18 20:26:50 +02:00
Ilari Liusvaara
02749cc650 Some cleanup 2014-02-18 20:26:50 +02:00
Ilari Liusvaara
c685319f88 Lua: Clean up region bounds computation 2014-02-18 20:26:50 +02:00
Ilari Liusvaara
c1699a0c8c Lua: Fix gui.repaint() when paused 2014-02-16 12:33:36 +02:00
Ilari Liusvaara
fa8b07b4d8 bsnes: redump sprite/palette functions 2014-02-16 01:22:59 +02:00
Ilari Liusvaara
0f6bf458d8 wxwidgets: Allow entering fullscreen mode from commandline 2014-02-16 01:06:17 +02:00
Ilari Liusvaara
89b8cd91f4 Lua: Run startup scripts after amode has been initialized
This fixes using unpause-emulator in startup script
2014-02-16 00:39:29 +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
ccc7fa2fba Show dialog if loading ROM/movie from command line fails 2014-02-15 12:23:46 +02:00
Ilari Liusvaara
8438774606 Some tweaks to Lua docs 2014-02-15 12:23:46 +02:00
Ilari Liusvaara
ef1f61a6e7 Lua: COMPARE_OBJ: Check strided memory block for modifications 2014-02-14 22:22:45 +02:00
Ilari Liusvaara
b53979bcd1 Makefile: platclean: Only clean emulation files 2014-02-14 10:17:27 +02:00