Commit graph

23 commits

Author SHA1 Message Date
Ilari Liusvaara
109a37fdf4 Fix the version number in window title 2011-11-12 00:41:53 +02:00
Ilari Liusvaara
22a41d1094 Some core debugging features:
- Lua function hashing core state
- Command to dump core state to file.
2011-11-12 00:40:02 +02:00
Ilari Liusvaara
18663a4caa Add pause-on-movie-end 2011-11-12 00:39:16 +02:00
Ilari Liusvaara
91279556cd Control bsnes random seeding
Even if bsnes randomness is disabled, the random seed is in savefiles,
so control it to make debugging easier.
2011-11-12 00:38:37 +02:00
Ilari Liusvaara
8d0a39e1df Fix wrong variable in commented out debug code in rrdata.cpp 2011-11-10 21:23:04 +02:00
Ilari Liusvaara
0fb3536c7a Add Lua function movie.read_rtc() 2011-11-10 21:22:38 +02:00
Ilari Liusvaara
54e0ed37e0 save_core_state() is not supposed to call runtosave! 2011-11-10 21:22:05 +02:00
Ilari Liusvaara
5138e9f8a9 Lua on_frame() callback 2011-11-10 21:20:34 +02:00
Ilari Liusvaara
88e27dee03 Don't misdecode 1 byte repeat counts 0xFE and 0xFF 2011-11-10 00:54:28 +02:00
Ilari Liusvaara
63fbeeed5a Fix signedness mixup in loading rrdata
This bug caused the emulator to crash if rrdata repeat contained bytes
with high bit set.
2011-11-10 00:39:51 +02:00
Ilari Liusvaara
63ec84ba93 lsnes rr0-β21 2011-11-09 20:04:07 +02:00
Ilari Liusvaara
f65e0b7139 Fix memory corruption bug in lcscreen::load()
lcscren::load() didn't compute the number of pixels to load correctly.
The data has 2 byte header followed by 3 byte pixels, meaning the number
of pixels is (size - 2) / 3. But the code assumed 2 byte pixels, causing
load loop to trash memory after end of screen memory.
2011-11-09 19:48:58 +02:00
Ilari Liusvaara
85d00b243e SNES is little-endian, not big-endian! 2011-11-09 19:18:40 +02:00
Ilari Liusvaara
2b7620f6d5 Patch problems in libsnes
Add patches for libsnes for making it suitable for rerecording and
add code to support some of the new features (remove time interception).
2011-11-09 02:08:57 +02:00
Ilari Liusvaara
ff4d045882 lsnes rr0-β20 2011-11-09 00:05:57 +02:00
Ilari Liusvaara
44d8822af2 Make wxwidgets gui load and save various settings 2011-11-08 23:59:10 +02:00
Ilari Liusvaara
348d597543 Fix crash on multiline aliases 2011-11-08 23:54:19 +02:00
Ilari Liusvaara
223c5d7cea Fix zero luma corner case 2011-11-08 23:09:49 +02:00
Ilari Liusvaara
d04999ae89 Concentrate inter-component communication to one place 2011-11-08 21:22:30 +02:00
Ilari Liusvaara
ed2d4e846c Bump bsnes core version to v084 2011-11-08 10:58:48 +02:00
Ilari Liusvaara
9f51c1d969 Get rid of need for host C++ compiler 2011-11-06 17:37:53 +02:00
Ilari Liusvaara
3f5686bd32 Make find_glyph return a pointer to glyph data, not offset 2011-11-06 15:58:26 +02:00
Ilari Liusvaara
044691d555 Move files around a lot 2011-11-06 14:41:41 +02:00