Ilari Liusvaara
8d832263fb
search-memory update
...
This function performs update of old values without discarding new value.
Handy when you don't know how some value has changed in between.
2011-11-13 20:30:15 +02:00
Ilari Liusvaara
cc41fb792e
Fix mixup between macro and field
2011-11-13 18:58:02 +02:00
Ilari Liusvaara
769f90c2dc
lsnes rr0-β22
2011-11-12 00:46:27 +02:00
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
244454fdf0
Add patch to fix unserialization of 64-bit integers
2011-11-11 03:23:50 +02:00
Ilari Liusvaara
99059b2061
Merge branch 'master' of gite://key-Ilari@localhost/pub/lsnes
2011-11-10 21:37:44 +02:00
Ilari Liusvaara
73e59c092d
Add missing ignore for src/fonts/font.cpp
2011-11-10 21:37:01 +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
Ilari Liusvaara
96ea11dd6d
Move the wxwidgets stuff to one directory
2011-11-05 22:18:54 +02:00
Ilari Liusvaara
b35b554fd3
Get rid of win32-crap.[ch]pp
2011-11-05 22:13:05 +02:00
Ilari Liusvaara
27249bdec6
lsnes rr0-β19
2011-11-05 20:57:47 +02:00
Ilari Liusvaara
920a113a3e
Remove debug print left there
2011-11-05 20:48:00 +02:00
Ilari Liusvaara
b497bd7ed6
Wxwidgets graphics plugin
...
As opposed to SDL graphics plugin, this has full GUI.
2011-11-05 20:46:18 +02:00
Ilari Liusvaara
7b3fc13b22
Port the generic control stuff from wxwidgets work
2011-11-05 20:09:10 +02:00
Ilari Liusvaara
ea44387020
Make emulator finish pending saves if loading/quitting
2011-11-05 00:54:47 +02:00
Ilari Liusvaara
02ad621b2c
Various improvements and cleanups to video dumping
2011-11-05 00:37:32 +02:00
Ilari Liusvaara
f73a2debd3
More backports of stuff from the wxwidgets branch
2011-11-04 01:19:00 +02:00
Ilari Liusvaara
9e8ba1f68c
More backporting changes to core from wxwidgets work
2011-11-03 23:07:21 +02:00
Ilari Liusvaara
1fd32a963c
Mention EVDEV for joystick plugin
2011-11-03 22:09:06 +02:00
Ilari Liusvaara
28fc6e6f99
Rework makefile
...
- Remove the package skipping (that was a bad idea).
- Add CROSS_PREFIX to make cross-builds easier
- Add LUA to give Lua package name.
- Don't try linking against libdl (what the heck was that about?)
- Add missing #include to portaudio code
2011-11-03 22:01:19 +02:00
Ilari Liusvaara
dc83a70f3e
Whitespace fixes
2011-11-03 17:57:46 +02:00
Ilari Liusvaara
bc12e70cbf
Backport some improvements to other stuff from Wxwidgets work
2011-11-03 17:49:23 +02:00
Ilari Liusvaara
2ca094bd4f
Oops, add missing files for EVDEV joystick plugin
2011-11-01 21:34:21 +02:00
Ilari Liusvaara
829cd4a2d0
Refactor message handling
...
Refactor message handling so that message buffering and window handling
are in the main window code, leaving only message window rendering to
the platform code.
2011-11-01 14:58:27 +02:00
Ilari Liusvaara
2f20963264
lsnes rr0-β18
2011-11-01 00:25:48 +02:00
Ilari Liusvaara
cdbe7d0b39
Correct documentation of --rtc-subsecond
2011-10-31 23:48:25 +02:00
Ilari Liusvaara
446ed44470
Move mouse compensation code to generic window code
2011-10-31 21:14:16 +02:00
Ilari Liusvaara
9433afa7a9
Reorganize the window code a bit
2011-10-31 21:05:54 +02:00
Ilari Liusvaara
fe699e9756
More small documentation fixups
2011-10-31 18:38:58 +02:00