Commit graph

2130 commits

Author SHA1 Message Date
Ilari Liusvaara
4e70e95e7f Lua: movie.rom_loaded() 2015-02-13 22:18:44 +02:00
Ilari Liusvaara
8967f3a261 Lua: input.controller_info(): Don't crash with out-of-range port 2015-02-13 22:01:26 +02:00
Ilari Liusvaara
7ece85f0c6 Fix movie length being wrong for imported binary tracks 2015-02-13 08:55:53 +02:00
Ilari Liusvaara
5f8f8af25f Implicitly redirect cmdhelp includes to corresponding JSON files
This should help with the superfluous building due to cmdhelp.
2015-02-12 21:56:19 +02:00
Ilari Liusvaara
c86f10376a Force game panel to window size in fullscreen mode
This should fix fullscreen mode on Win32.

Also properly letterbox the screen when in fullscreen mode
2015-02-12 16:11:12 +02:00
Ilari Liusvaara
791684edc3 wxwidgets: Hide dumper called "NULL"
This is not working dumper (it is meant for PGO using lsnes-dumpavi),
so don't show it.
2015-02-12 13:16:56 +02:00
Ilari Liusvaara
ff1004d7fa If initsram/initstate points to LSS file, pull the matching member 2015-02-12 01:40:36 +02:00
Ilari Liusvaara
bdcf21a4e1 Movie editor: Fix unnamed branch to show properly in select branch 2015-02-12 00:38:07 +02:00
Ilari Liusvaara
95ec8a8ba7 Lua: add gui.get_runmode() 2015-02-11 21:24:06 +02:00
Ilari Liusvaara
5c0f57448c Add a internal TODO list 2015-02-08 18:11:51 +02:00
Ilari Liusvaara
773e84cfd7 Movie editor: Don't lock up on trying to display error messages 2015-02-08 18:02:33 +02:00
Ilari Liusvaara
44aa95cc57 Switch to std::regex by default 2015-02-07 15:32:34 +02:00
Ilari Liusvaara
54cbe456b4 Move all regex matching to library/string.cpp
This is in preparation to having an option to use std::regex. Also should
fix a few bugs with trace log.
2015-02-07 14:37:18 +02:00
Ilari Liusvaara
94b603c9f2 Fix some compilation errors on Mac OS X 2015-02-04 21:28:25 +02:00
Ilari Liusvaara
1cb702bd5e NULL video dumper
Might be useful for abusing dumpavi for running emulation without UI
and to have autoexit.
2015-02-02 22:00:23 +02:00
Ilari Liusvaara
7c7ee6637d Fix scaling-related crashes
Turns out libswscale scribbles past end of buffer, so allocate some extra
scratch space.
2015-01-31 01:38:57 +02:00
Ilari Liusvaara
5f0b9e3315 Fix race condition in makefile 2015-01-31 01:37:22 +02:00
Ilari Liusvaara
58e4ad1b94 Show error instead silently failing tangent positive edge
If there is no file to save the stream to, tangent positive edge used to
silently fail. Fix it to show error message.
2015-01-30 20:18:18 +02:00
Ilari Liusvaara
2312324824 Only exit poll advance on poll to non-00 control 2015-01-30 19:45:46 +02:00
Ilari Liusvaara
8d5783536a Fix CUSTOMFONT text positioning
Coordinate system is supposed to be relative to game area, not draw
area.
2015-01-30 09:42:35 +02:00
Ilari Liusvaara
6e80331962 Remember video settings 2015-01-30 02:30:47 +02:00
Ilari Liusvaara
538128686a Remember volume settings across restarts 2015-01-30 02:16:08 +02:00
Ilari Liusvaara
d507a05237 keymapper: Verify gamepad config write before committing 2015-01-30 01:54:28 +02:00
Ilari Liusvaara
b3c0fc76f9 Makefile: Build cmdhelp before anything else
This should hopefully reduce strange rebuilding going on with cmdhelp
2015-01-28 17:06:51 +02:00
Ilari Liusvaara
7584121717 Add $LSNES_NO_SOUND_IN to disable sound input
It seems that sound input sometimes causes crashes and lockups on
start-up.
2015-01-28 17:01:30 +02:00
Ilari Liusvaara
792bb0867e Lua: Don't lua_error() out of context with pending dtors
That likely would cause memory leaks. Also make a commit in order to
tell apart rr2-β22b1 from rr2-β22.
2015-01-28 13:07:50 +02:00
Ilari Liusvaara
43e2ce5906 lsnes rr2-β22 2015-01-24 17:14:01 +02:00
Ilari Liusvaara
d4c6bd3bbd bsnes: Support IRQ/NMI tracing 2015-01-24 16:48:40 +02:00
Ilari Liusvaara
162a57c950 bsnes: DMA tracing 2015-01-20 10:36:22 +02:00
Ilari Liusvaara
2f9782fd9c Fix bad download crashing the emulator
Turns out the way download timer was stopped was buggy and crashed the
emulator in some cases (especially if download failed or couln't be
loaded).

Abuse the focus timer to clean up download timers, so to avoid timer
stopping and cleaning up itself.
2015-01-19 12:28:02 +02:00
Ilari Liusvaara
8403744ba6 Pluginmanager: Autocreate directory instead of crashing
Pluginmanager was crashing the emulator if opened without autoload
directory existing. Fix it to create the directory (and not crash the
emulator if this fails).
2015-01-19 06:27:10 +02:00
Ilari Liusvaara
0346a1ea3e Readd rule for font.cpp.dep in different way
Turns out Win32 build broke from removing font.cpp.dep
2015-01-17 09:37:38 +02:00
Ilari Liusvaara
94732b0bc4 Remove target for font.cpp.dep
This was causing build failures
2015-01-17 09:26:12 +02:00
Ilari Liusvaara
d09d301849 Add commands and Lua functions to manipulate running speed 2015-01-17 09:25:50 +02:00
Ilari Liusvaara
ac51bf61e8 Clean up all build helper programs on make clean 2015-01-16 05:45:05 +02:00
Ilari Liusvaara
201d65116a Fix compile error with Lua 5.1 2015-01-14 03:29:06 +02:00
Ilari Liusvaara
346ea41e0d Fix Win32 build 2015-01-13 22:49:32 +02:00
Ilari Liusvaara
680be72a8f Add wide (64 bits) versions of bit functions if Lua 5.3 is used 2015-01-06 19:20:25 +02:00
Ilari Liusvaara
71b57756ca Cleanup Lua multiversion support 2015-01-06 08:13:10 +02:00
Ilari Liusvaara
f4c1bc6e84 Lua 5.3 support 2015-01-06 05:19:39 +02:00
Ilari Liusvaara
50fd1b6b5f Don't let one unload currently used core (crashes the emulator) 2015-01-06 02:55:03 +02:00
Ilari Liusvaara
aff0370e35 Show error from Lua if parsing Lua expression fails 2015-01-03 02:24:38 +02:00
Ilari Liusvaara
667f7df3c1 Don't use arbitrary garbage as amount of samples to squash 2015-01-02 02:37:03 +02:00
Ilari Liusvaara
f68459ac53 Ignore some build helper programs, now that the .exe rule doesn't cover those 2015-01-01 21:47:47 +02:00
Ilari Liusvaara
696cab4862 Fattest? Really? 2015-01-01 21:42:26 +02:00
Ilari Liusvaara
82b7c8d5e2 Use $DOT_EXECUTABLE_SUFFIX instead of hardcoding .exe 2015-01-01 21:41:39 +02:00
Ilari Liusvaara
16da5396aa Remove some utilities that should not be there anymore 2015-01-01 21:26:37 +02:00
Ilari Liusvaara
0e844d4720 Libao: Don't crash on quit 2015-01-01 21:09:09 +02:00
Ilari Liusvaara
9c484d819e Update the default build options
Remove references to SDL, which hasn't been supported for a while, make
bsnes default to compat and switch to std::thread by default
2015-01-01 20:34:02 +02:00
Ilari Liusvaara
4262be0b93 Exit immediately on double fault 2014-12-31 00:11:57 +02:00