Commit graph

92 commits

Author SHA1 Message Date
Ilari Liusvaara
4c38e3784a Merge branch 'rr1-maint'
Conflicts:
	Makefile
	src/core/render.cpp
2012-03-07 21:12:14 +02:00
Ilari Liusvaara
626ff5e200 Add patchseries for v087
Additionally, fix the mouse input craziness.
2012-03-07 17:12:42 +02:00
Ilari Liusvaara
afca090265 Special-case render object allocation
This is a slight optimization
2012-03-07 15:50:02 +02:00
Ilari Liusvaara
72a8296eb9 Lock palettes to protect color array structure 2012-03-07 14:44:24 +02:00
Ilari Liusvaara
94cb7ac097 Merge branch 'rr1-maint' 2012-03-07 14:00:08 +02:00
Ilari Liusvaara
2fb19ea144 Refactor render queue management
This makes it easier to switch render queue object memory management
to internal implementation, speeding stuff up.
2012-03-07 13:33:54 +02:00
Ilari Liusvaara
c3dd13fb3f Merge remote-tracking branch 'origin/rr1-maint'
Conflicts:
	Makefile
	src/lua/core.cpp
	src/lua/lua.cpp
2012-03-07 06:19:06 +02:00
Ilari Liusvaara
4012f9914a Wxwidgets: Fix the "internal focus lost" problem 2012-03-06 18:33:41 +02:00
Ilari Liusvaara
44233e3897 Lua: Add on_idle() and on_timer() 2012-03-06 13:48:39 +02:00
Ilari Liusvaara
2124f3b9b6 Add emulator_ready() lua function
This function gives a flag telling if emulator has finished booting
up.
2012-03-06 05:24:43 +02:00
Ilari Liusvaara
b0bb6053a9 Add new lua hooks
Add new lua hooks:
- on_rewind
- on_frame_emulated

Additionally, on_paint now has a parameter.
2012-03-06 05:11:50 +02:00
Ilari Liusvaara
9405c809e0 Debug multithreading-related errors 2012-03-04 15:41:06 +02:00
Ilari Liusvaara
bd0ef203c1 Merge branch 'rr1-maint' 2012-03-03 13:32:09 +02:00
Ilari Liusvaara
e646c60600 Merge branch 'rr1-maint'
Conflicts:
	include/core/render.hpp
2012-03-03 11:31:44 +02:00
Ilari Liusvaara
d8319ef4a9 Lua Bitmap WIP 2012-03-03 11:27:26 +02:00
Ilari Liusvaara
0514dd989e Lua class system 2012-03-03 11:26:49 +02:00
Ilari Liusvaara
58c7860d83 Premultiplied_color default constructor (transparent color) 2012-03-03 11:26:20 +02:00
Ilari Liusvaara
4fc30a3c4c Merge branch 'rr1-maint'
Conflicts:
	Makefile
	src/core/avidump-control.cpp
	src/core/jmd-control.cpp
	src/core/keymapper.cpp
	src/core/raw-control.cpp
	src/core/rom.cpp
2012-03-02 22:00:20 +02:00
Ilari Liusvaara
b1c2441da4 Refactor remaining tokensplitters
Also fixes some bugs with memory search.
2012-03-02 21:02:15 +02:00
Ilari Liusvaara
325935258d Get rid of setting::print_all() 2012-02-27 22:32:26 +02:00
Ilari Liusvaara
6adc07acc8 Introduce some string functions to refactor the rest of code with 2012-02-27 21:11:25 +02:00
Ilari Liusvaara
0f56afbffd Merge branch 'rr1-maint' 2012-02-27 07:41:33 +02:00
Ilari Liusvaara
ccde3f21be Fix generic_port_read()
Generic_port_read() was returning undefined values if read with out of
bounds control index. This was breaking everything on certain builds.
2012-02-27 07:40:44 +02:00
Ilari Liusvaara
e4e3874007 Fix compilation (missing header) 2012-02-23 23:05:48 +02:00
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
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
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
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
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
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
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
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
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
2cfa118f96 Fix unattended dumping 2012-01-23 01:30:24 +02:00
Ilari Liusvaara
894840244f Wxwidgets: Refactor dialog code 2012-01-20 16:44:53 +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
74eba1869b Fix cross calls in dumper menu code 2012-01-19 19:04:15 +02:00
Ilari Liusvaara
66f7bd6deb True movie slot support 2012-01-18 22:53:04 +02:00