Ilari Liusvaara
773c3068ad
lsnes rr0-β6
2011-09-18 19:41:35 +03:00
Ilari Liusvaara
b975ebaea5
Don't crash if initial savestate can't be loaded
...
Instead of crashing if initial savestate can't be loaded, enter system
state corrupt mode.
2011-09-18 17:27:03 +03:00
Ilari Liusvaara
3ad61393dc
Backup savestates before overwriting
2011-09-18 12:55:34 +03:00
Ilari Liusvaara
89d511f321
Major source reorganization
2011-09-18 12:42:33 +03:00
Ilari Liusvaara
c97be81246
lsnes rr0-β5
2011-09-18 10:22:28 +03:00
Ilari Liusvaara
9a0e890157
Support specifying extra configuration files to run from commmand line
2011-09-18 10:13:42 +03:00
Ilari Liusvaara
bb54273daa
Try to fix nasty corner cases of failing loads
...
Hopefully one no causes a desync if one tries to load state/movie
that can't be loaded or resolve corrupt system using a savestate.
2011-09-18 10:06:05 +03:00
Ilari Liusvaara
96d1ef665c
rr0-β4
2011-09-18 02:49:14 +03:00
Ilari Liusvaara
3f11a63a52
Implement save jukebox
...
Handy if you want to control the game using gamepad.
2011-09-18 02:47:45 +03:00
Ilari Liusvaara
9fef45851d
Add some missing changelog entries.
2011-09-18 02:20:30 +03:00
Ilari Liusvaara
232df64731
Fix binding to multi-button keygroup
...
Oops, the code didn't check subkey number. Fix this.
2011-09-18 02:16:18 +03:00
Ilari Liusvaara
fe7112bc24
lsnes rr0-β3
2011-09-18 01:28:37 +03:00
Ilari Liusvaara
faafcd2c7d
Make joysticks actually work
2011-09-18 01:26:45 +03:00
Ilari Liusvaara
6bb1685a36
lsnes rr0-β2
2011-09-17 13:45:02 +03:00
Ilari Liusvaara
83b5a68abe
Autofire support
2011-09-17 13:43:22 +03:00
Ilari Liusvaara
6a823be7d1
Pass tokensplitter& as argument to command handler
2011-09-17 13:15:20 +03:00
Ilari Liusvaara
9564054f27
Create function pointer to lua function adapter and migrate what we can
2011-09-17 12:26:58 +03:00
Ilari Liusvaara
08b416c94c
Fix crash on invalid Lua function arguments
2011-09-17 12:17:14 +03:00
Ilari Liusvaara
000d45b9eb
Allow variable arguments to command functions
2011-09-17 12:00:49 +03:00
Ilari Liusvaara
a396b9c39f
Move take-screenshot: mainloop.cpp -> framebuffer.cpp
2011-09-17 11:33:35 +03:00
Ilari Liusvaara
e203b4f492
Make AVI dumper setting names more specific
2011-09-17 11:30:57 +03:00
Ilari Liusvaara
5d9465f578
Migrate the rest to function_ptr_command
2011-09-17 11:29:10 +03:00
Ilari Liusvaara
e0a4bfa510
Get rid of fieldsplitter
...
It was used more before, now it was just used to split author names
into component parts. This can be much better done with a dedicated
function.
2011-09-17 10:15:35 +03:00
Ilari Liusvaara
0c4431001c
More random cleanups
2011-09-17 09:55:35 +03:00
Ilari Liusvaara
d47eaa277b
Migrate settings.cpp to function_ptr_command
2011-09-17 01:12:53 +03:00
Ilari Liusvaara
35d1875b44
Since window is singleton anyway, get rid of window* parameters
2011-09-17 01:05:41 +03:00
Ilari Liusvaara
d38da1b04b
More code cleanups
2011-09-17 00:06:20 +03:00
Ilari Liusvaara
2f9338fd75
Settings: Use std::ostream& instead of window*
2011-09-16 21:16:27 +03:00
Ilari Liusvaara
366336d560
More cleanups
2011-09-16 21:09:22 +03:00
Ilari Liusvaara
1e0d57b503
Allow forcing maximum number of frames per segment
2011-09-16 15:24:34 +03:00
Ilari Liusvaara
247a1ba33a
Refactor .avi dumping
...
Extract the sample rate reduction and SOX writing code from AVI writing
code. Place sample rate reduction to AVI dump control code and split
SOX code to its own class.
2011-09-16 11:25:55 +03:00
Ilari Liusvaara
b4d18f7309
Refactor mainloop.cpp a lot
2011-09-16 06:13:33 +03:00
Ilari Liusvaara
bbb4241f68
Factor stuff related to our_movie into separate file
2011-09-16 03:49:04 +03:00
Ilari Liusvaara
75e095b451
Add lua functions to manipulate emulator settings
2011-09-16 03:35:54 +03:00
Ilari Liusvaara
4f3f8ac79f
Make git diff --check happy
2011-09-15 22:56:33 +03:00
Ilari Liusvaara
c38c4f207f
Allow adding borders to dumps even without lua
...
Handy for those PAL dumps that are 239/478 high, as such odd sizes could
cause problems.
2011-09-15 22:46:20 +03:00
Ilari Liusvaara
35fe9346ba
screen::copy_from fix bug if vscale > 1 and originx > 0
...
screen::copy_from did vertical scaling incorrectly if originx is positive,
as it copied n first pixels of each row as opposed to copying n pixels
starting from originx as it should.
2011-09-15 22:45:04 +03:00
Ilari Liusvaara
6e66f954d8
Describe command changes from last commit
2011-09-15 16:43:45 +03:00
Ilari Liusvaara
6877c2f63b
Make video dumping to go through generic A/V snooping interface
2011-09-15 16:42:52 +03:00
Ilari Liusvaara
b015451c38
Clean up some header files
2011-09-15 15:12:26 +03:00
Ilari Liusvaara
dfa543c6b2
Describe the new on_snoop callback
2011-09-14 23:28:18 +03:00
Ilari Liusvaara
14955e7238
Add on_snoop Lua callback
...
This could prove useful for outputting movie file for console
verification.
2011-09-14 23:26:11 +03:00
Ilari Liusvaara
d9a5aefd5e
Compact dummy lua code a bit
2011-09-14 23:16:36 +03:00
Ilari Liusvaara
35979abcd3
Add large-video option to force hires dumping
2011-09-14 23:16:24 +03:00
Ilari Liusvaara
5932ff1384
Migrate the rest of Lua functions to the new framework
2011-09-14 22:59:54 +03:00
Ilari Liusvaara
679efd1563
Migrate memory.*
2011-09-14 22:30:14 +03:00
Ilari Liusvaara
dd8966de2c
Migrate gui.* stuff to the new framework
2011-09-14 22:18:24 +03:00
Ilari Liusvaara
19ab8000d8
Use render_text in render_object_text and not vice versa
...
Creating render objects in primitive functions makes no sense.
2011-09-14 21:24:15 +03:00
Ilari Liusvaara
feb1a5d841
Allow dynamic loading of Lua functions
...
Dynamically loading Lua functions allows distributing implementations
to multiple places.
Additionally, migrate bit.* functions to the new framework.
2011-09-14 21:19:54 +03:00
Ilari Liusvaara
f170c7bab2
Major reorganization of command handling
...
Make commands objects instead of functions calling each other.
Now there is '?' command that can display command list and help about
individual command. Also the command handling is more distributed into
places where it belongs.
2011-09-14 20:06:36 +03:00