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
3bd8f21369
lsnes rr2-β20
2014-04-01 14:35:07 +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
5f5e709cb1
Coalesce UI events.
2014-04-01 13:28:16 +03:00
Ilari Liusvaara
b14bc7a3a7
Add option to emulate fucked up GBC timings
2014-04-01 12:35:07 +03:00
Ilari Liusvaara
9754bbc5f4
Fix bug in printing MSU-1 track playback messages
2014-04-01 02:47:52 +03:00
Ilari Liusvaara
9e0277636f
Fix typo in changelog
2014-04-01 00:36:26 +03:00
Ilari Liusvaara
f4d7b6cf73
lsnes rr2-β19
2014-04-01 00:18:14 +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
47b5e9b6be
SNES: Support VRAM, OAM, CGRAM and APURAM breakpoints
2014-03-31 20:20:21 +03:00
Ilari Liusvaara
d210680315
Use overcommit in memory compares
2014-03-31 14:47:25 +03:00
Ilari Liusvaara
59300d2339
Fix printing of tilemaps and compare objects
2014-03-31 14:47:01 +03:00
Ilari Liusvaara
5745859815
Fix compare objects
2014-03-31 14:46:17 +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
7a1e20e9db
Lua: bit.mul32
2014-03-30 00:40:37 +02: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
c50c458bd1
Work around compiler warning on -2^63 written as constant
2014-03-29 17:36:43 +02:00
Ilari Liusvaara
7d4a8b3742
Don't crash if trying to load movie with unknown sysregion
2014-03-29 17:21:51 +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
b0503ad245
Make redraw_framebuffer call update_movie_state();
2014-03-28 11:44:21 +02:00
Ilari Liusvaara
1b844492c7
Lua: bit.test, bit.testn, string.hex, string.lpad, string.rpad
2014-03-27 11:58:54 +02:00
Ilari Liusvaara
45ab432c61
Tweak description of bit.multidiv
2014-03-27 10:48:12 +02:00
Ilari Liusvaara
80d4f30ee2
Lua: bit.multidiv
2014-03-27 01:29:03 +02:00
Ilari Liusvaara
5562a2fc2c
Lua: string.regex
2014-03-27 01:11:27 +02:00
Ilari Liusvaara
bc6b3adc6c
Small tweak to previous (convert multiplication to bitshift)
2014-03-26 13:00:52 +02:00
Ilari Liusvaara
39d2ecaa62
Refactor triple buffering logic to its own file
2014-03-26 12:27:17 +02:00
Ilari Liusvaara
debb6dd421
GB: Fix tracelogger not to screw up breaks
2014-03-24 14:15:52 +02:00
Ilari Liusvaara
2592a724bc
GB: Fix read/write of A, PC and CycleCounter when executing
2014-03-24 14:03:01 +02:00
Ilari Liusvaara
3ab62196fd
Fix loading memory watches on project change
2014-03-24 13:26:04 +02:00
Ilari Liusvaara
efa7a3bb4e
Initialize project active_branch/next_branch
...
Fixes a crash when creating a new project
2014-03-24 11:22:16 +02:00
Ilari Liusvaara
97f72c2952
Gambatte: Mark system bus as I/O special
...
Otherwise memory search will try to read BUS+FF00, which will deadlock
the emulator...
2014-03-24 11:03:57 +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
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