Commit graph

376 commits

Author SHA1 Message Date
Ilari Liusvaara
30360a86d8 Merge branch 'rr1-maint'
Conflicts:
	Makefile
	include/library/minmax.hpp
	src/core/avidump-control.cpp
	src/core/rom.cpp
2012-02-23 17:44:28 +02:00
Ilari Liusvaara
e88023a17f Code cleanup WIP 2012-02-23 16:48:56 +02:00
Ilari Liusvaara
eaf7497027 lsnes rr1-Δ3 2012-02-21 15:39:52 +02:00
Ilari Liusvaara
79286ad0db Merge branch 'rr1-maint' 2012-02-21 14:37:21 +02:00
Ilari Liusvaara
eef420e6c6 Wxwidgets: Improve key selector by loading the existing key if available 2012-02-21 14:36:58 +02:00
Ilari Liusvaara
4967dc8264 Merge branch 'rr1-maint' 2012-02-20 21:21:15 +02:00
Ilari Liusvaara
b3e81054f3 Merge remote-tracking branch 'origin/rr1-maint' into rr1-maint 2012-02-20 21:21:03 +02:00
Ilari Liusvaara
7d19748ed2 Merge branch 'rr1-maint'
Conflicts:
	src/platform/wxwidgets/mainwindow.cpp
2012-02-20 21:19:53 +02:00
Ilari Liusvaara
1b464b9e6b wxwidgets: Hotkey configuration
Allow configuring hotkeys, not just keybindings (more usable).
2012-02-20 21:15:51 +02:00
Ilari Liusvaara
9ecb1e97dc Merge branch 'rr1-maint' 2012-02-20 18:48:00 +02:00
Ilari Liusvaara
65dec6c688 Wxwidgets: Reposition buttons a bit 2012-02-20 18:47:47 +02:00
Ilari Liusvaara
3804ac8e5a Merge branch 'rr1-maint' 2012-02-20 14:11:03 +02:00
Ilari Liusvaara
308412e502 Fix the speed throttle
This new algorithm shouldn't give ridiculously low framerates
nor be prone to oscillation.
2012-02-20 14:08:53 +02:00
Ilari Liusvaara
2e0886b284 Fix SDL event polling 2012-02-20 13:37:57 +02:00
Ilari Liusvaara
67da5fdf39 Merge branch 'rr1-maint' 2012-02-19 20:19:44 +02:00
Ilari Liusvaara
8aa5bf1b90 Add option to skip the ROM patching screen 2012-02-19 19:59:27 +02:00
Ilari Liusvaara
5e60e41ef5 Try to autodetect headered ROMs 2012-02-19 19:44:36 +02:00
Ilari Liusvaara
2c9baffce1 Start unpaused and preserve pause/unpause over load-type ops 2012-02-19 19:35:16 +02:00
Ilari Liusvaara
581e833697 Don't prompt before quitting 2012-02-19 19:24:29 +02:00
Ilari Liusvaara
dd0a66f758 RAW dump over TCP/IP support
Support RAW dumping over TCP/IP(v6).
2012-02-19 17:30:38 +02:00
Ilari Liusvaara
c969a854c9 Refactor codec zlib handling
Make common utility class for deflate into vector with some prefix type
operation.
2012-02-18 14:15:24 +02:00
Ilari Liusvaara
228d6a7851 Hicolor raw dumping
Support hi-color (16bits/channel RGB) raw dumping, since 8 bits
per channel are not enough to resolve all the colors.
2012-02-17 00:07:30 +02:00
Ilari Liusvaara
61f86a8796 Make settings window scrollable so it doesn't grow excessively large 2012-02-16 20:41:31 +02:00
Ilari Liusvaara
6956ca9f8b Don't corrupt AVI if emulator is closed while dumping 2012-02-16 17:15:25 +02:00
Ilari Liusvaara
af88bd28df TSCC video codec
The TechSmith Camtasia Screen Codec usually has better compression ratio
than Camstudio Codec and compresses at about equal speed. Add support
for this codec.
2012-02-16 17:15:00 +02:00
Ilari Liusvaara
298ead2f6c AVI dumping fixups
- Write video dimensions correctly if codec pads the video
- Uncompressed: Pad video right
- CSCD: Pad video right
- Print message when starting a new segment
- Delete some unused code
2012-02-16 16:57:13 +02:00
Ilari Liusvaara
37761ac6f5 Merge branch 'rr1-maint' 2012-02-13 19:12:17 +02:00
Ilari Liusvaara
d6af918d5b Allow compiling against bsnes v086
Add the patches and code changes needed by v086
2012-02-13 19:09:28 +02:00
Ilari Liusvaara
de52e5889e Add header file in order to make it compile with bsnes v086 2012-02-13 18:58:53 +02:00
Ilari Liusvaara
c72078e42c Some dumping improvements
- Add commandline commands to print dumper listings.
- Add option for lsnes-dumpavi to load shared objects.
2012-02-13 09:57:26 +02:00
Ilari Liusvaara
2ff46964a0 Add missing LF in cscd.cpp 2012-02-12 22:17:16 +02:00
Ilari Liusvaara
a0663b5450 Add the needed support for internal buffering by audio codec
Some audio codecs may want to internally buffer to send the audio in
larger blocks. Add method avi_audio_codec::flush() that signals to the
codec that incomplete block should be flushed in preparation to close
the AVI file (after calling that, audio packet queue is flushed).
2012-02-12 21:39:06 +02:00
Ilari Liusvaara
043cac8894 Refactor AVI dumping a lot (WIP) 2012-02-12 20:23:36 +02:00
Ilari Liusvaara
fab8d8f4e3 Library loading support
Support loading shared objects and such at runtime.
2012-02-12 13:16:12 +02:00
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
a62460950e lsnes rr1-Δ2 2012-02-06 22:02:06 +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
29d94212a8 Split AVI file structure related classes to dedicated file 2012-02-04 22:36:59 +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
caf13d2da4 lsnes rr1-Δ1 2012-01-23 13:39:26 +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
8f8c2146ad Documentation for the raw dump mode 2012-01-23 09:27:23 +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