Ilari Liusvaara
2da4177f87
Fix Win32 building
...
Turns out build is broken. Fix it.
2012-02-12 13:13:33 +02:00
Ilari Liusvaara
2cd0bbdcc3
Switch to dedicated SHA-256 implementation
...
This is in preparation of splitting the emulation cores away.
2012-02-07 17:35:18 +02:00
Ilari Liusvaara
7b9b67b9ec
More code file moving
...
Move platform files from src/plat-* to src/platform/* (and similarly
for include files).
2012-02-07 16:34:58 +02:00
Ilari Liusvaara
7e168c59d4
Merge branch 'rr1-maint'
2012-02-06 22:04:50 +02:00
Ilari Liusvaara
c905c698f5
Also set core ports when loading savestate
...
While patched bsnes versions automatically reassign port types on
loadstate, future stock versions may not do so, so do it manually.
2012-02-06 21:59:56 +02:00
Ilari Liusvaara
4f1bcd2112
Wxwidgets: Pass correct mode when dumping
...
Wxwidgets dumping incorrectly passed mode description instead of mode
to the dumper. Fix this.
2012-02-06 21:56:08 +02:00
Ilari Liusvaara
d45b316380
Refactor makefile
...
Refactor the makefile and move some code files to more logical places.
2012-02-06 05:38:51 +02:00
Ilari Liusvaara
f292f7babe
Do some small fixups with dumpers
...
- Merge simpler dumpers (JMD, RAW and SDMP) with control code.
- Remove unused code from AVI(CSCD) dumper.
- Remove non-threaded dumper support from AVI(CSCD) dumper.
- Use advanced dumpers API to start/stop dumpers from command line.
- Move dumping-related code to avi/
2012-02-04 16:57:41 +02:00
Ilari Liusvaara
7d378804ea
Let one control the method AVI dumper preturbs the sampling rate
2012-01-23 13:36:54 +02:00
Ilari Liusvaara
79d7f37282
Rewrite lsnes-dumpavi to use adv_dumper interface
...
Now lsnes-dumpavi can use any dumper compiled in without changes.
2012-01-23 11:26:32 +02:00
Ilari Liusvaara
622abffc22
Merge commit 'lsnes-rr1'
2012-01-23 01:41:15 +02:00
Ilari Liusvaara
6850314662
Raw dumping support
2012-01-23 01:40:22 +02:00
Ilari Liusvaara
2cfa118f96
Fix unattended dumping
2012-01-23 01:30:24 +02:00
Ilari Liusvaara
133957eeb8
Fix compression settings in lsnes-dumpavi
2012-01-23 00:53:37 +02:00
Ilari Liusvaara
9f841f0844
ROM/savestate handling fixes
...
* Update ROM checksum when writing savestates
* Error out the load if trying to load savestate using wrong ROM
2012-01-21 15:17:30 +02:00
Ilari Liusvaara
9a9670105e
Don't append trailing '-' to prefix when saving movie.
2012-01-21 14:57:06 +02:00
Ilari Liusvaara
4006919340
Wxwidgets: Increase number of autohold slots (in case more are needed)
2012-01-20 23:03:01 +02:00
Ilari Liusvaara
3578394e70
Wxwidgets: No, Lua code does not support reading script from .zip
2012-01-20 20:14:05 +02:00
Ilari Liusvaara
72c42cc28d
Wxwidgets: Read the watch expressions in the right thread
2012-01-20 19:37:16 +02:00
Ilari Liusvaara
23d80813f6
Wxwidgets: Fix system -> reset
2012-01-20 16:46:50 +02:00
Ilari Liusvaara
894840244f
Wxwidgets: Refactor dialog code
2012-01-20 16:44:53 +02:00
Ilari Liusvaara
fdbf57c942
Some more modal pause RAII stuff
2012-01-20 14:11:34 +02:00
Ilari Liusvaara
a3ab2973f9
Use RAII for modal pauses
2012-01-20 14:09:38 +02:00
Ilari Liusvaara
aa06a54a06
Wxwidgets: Inline some menu handling
2012-01-20 14:02:28 +02:00
Ilari Liusvaara
354c8809b4
Cancel pending saves function
2012-01-20 07:34:02 +02:00
Ilari Liusvaara
74eba1869b
Fix cross calls in dumper menu code
2012-01-19 19:04:15 +02:00
Ilari Liusvaara
a138d92ab6
SDL: Fix compilation error
2012-01-18 22:56:57 +02:00
Ilari Liusvaara
66f7bd6deb
True movie slot support
2012-01-18 22:53:04 +02:00
Ilari Liusvaara
4f65fcf2fa
Merge status panel and main window
2012-01-18 20:56:54 +02:00
Ilari Liusvaara
2afe928e45
SDL: Fix NUL codepoints in commands (fix weird cursor behaviour)
2012-01-18 00:09:26 +02:00
Ilari Liusvaara
99d5ad2215
Make mouse be ordinary keys instead of being special
2012-01-17 23:48:13 +02:00
Ilari Liusvaara
dfe264f629
Lua: input.keyhook
2012-01-17 21:35:49 +02:00
Ilari Liusvaara
af655f14f3
Lua: New function input.raw, which gives data for all buttons
2012-01-17 16:24:50 +02:00
Ilari Liusvaara
7b9a9590c1
Fix compiling on win32
...
Turns out the value of .native() can't be put into std::string.
Also provode way to link against boost_thread
2012-01-17 01:17:08 +02:00
Ilari Liusvaara
291024486a
Remember absolute path for last save
2012-01-17 00:40:44 +02:00
Ilari Liusvaara
2c4ffdc341
Remember last saved file when populating file to load
2012-01-17 00:31:17 +02:00
Ilari Liusvaara
996cecd164
Add warning about calling synchronous queue in callback to UI
...
This combo seems to trigger lots of deadlocks, so print warnings about
it so instances of this can be found.
2012-01-15 20:47:57 +02:00
Ilari Liusvaara
9908dc094f
wxwidgets: GUI for memory search
2012-01-15 16:50:08 +02:00
Ilari Liusvaara
c07fecc4bc
wxwidgets: Actually implement load state preserving input
2012-01-15 01:15:20 +02:00
Ilari Liusvaara
83d72721ac
Evdev: Don't call keygroup::set_position in invalid thread
...
keygroup:::set_position is only supposed to be called in emulation
thread, not in joystick thread. Change it to platform::queue, which
can be safely be called in any thread.
2012-01-14 16:25:12 +02:00
Ilari Liusvaara
603730411e
Wxwidgets: Fix thread memory managment
...
This seems to fix those "invalid handle" errors on Win32.
2012-01-14 11:40:48 +02:00
Ilari Liusvaara
6af6708bf1
NULL some window pointers when quitting
...
This makes it much less likely that the emulator would segfault when
quit on Win32.
2012-01-14 10:38:24 +02:00
Ilari Liusvaara
ebaaf010ce
Fix another order-of-global-ctor bug
2012-01-14 00:58:56 +02:00
Ilari Liusvaara
a2872a20ab
SDL: Fix order-of-global-ctor bug
2012-01-14 00:05:16 +02:00
Ilari Liusvaara
07f0969ba5
SDL: Fix command history
2012-01-13 23:28:45 +02:00
Ilari Liusvaara
0a17ffdc3e
Support ${project} for filenames
...
When loading/saving, ${project} is translated into whatever value
$prefix (plus '-', defaulting to 'movieslot') has when saving.
2012-01-13 22:12:52 +02:00
Ilari Liusvaara
b47ebee363
wxwidgets: Save settings on exit, load settings on startup
2012-01-13 21:36:02 +02:00
Ilari Liusvaara
9740d24a29
wxwidgets: Allow editing jukebox from the GUI
2012-01-13 20:42:49 +02:00
Ilari Liusvaara
6b727c9628
Fix desyncs with rewind movie to begnning function
2012-01-13 09:24:19 +02:00
Ilari Liusvaara
63b65ea04d
Fix frame number reported to Lua in repaint after load
2012-01-13 08:52:18 +02:00