Commit graph

2212 commits

Author SHA1 Message Date
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
Ilari Liusvaara
37d587da21 Fix some valgrind warnings 2014-12-30 23:59:17 +02:00
Ilari Liusvaara
5dedb34943 Lua: PALETTE:get() 2014-12-20 06:38:47 +02:00
Ilari Liusvaara
b074cb2e31 Fix some nondeterminism (probably wouldn't cause desyncs) 2014-12-19 18:12:43 +02:00
Ilari Liusvaara
0ae6981b5c Redraw framebuffer when entering break pause
Fixes memory watches with tracelogging.
2014-12-13 00:10:34 +02:00
Ilari Liusvaara
dc0a6e1282 Portaudio: Don't blacklist ALSA default/sysdefault for input 2014-12-11 08:50:27 +02:00
Ilari Liusvaara
386405aace Oops from previous commit 2014-12-11 08:21:32 +02:00
Ilari Liusvaara
0ea814c0c3 wxwidgets: Add some missing conversions for string arguments 2014-12-11 08:18:49 +02:00
Ilari Liusvaara
03a57aa421 runuifun: Allow marking cb routine to run once at a time 2014-12-10 08:55:02 +02:00
Ilari Liusvaara
4d86f19837 Add the UI thread checking code
Might still have some false positives.
2014-12-09 16:46:50 +02:00
Ilari Liusvaara
0e29ab43eb Memory editor: Squash another wrong-thread bug
This appears if ROM is loaded for any reason while memory editor is open.
2014-12-09 16:36:59 +02:00
Ilari Liusvaara
a98208c284 Squash some wrong-thread bugs 2014-12-09 13:33:28 +02:00
Ilari Liusvaara
4b44f8ee10 If project switch loads savestate, mark position at point of save 2014-12-04 22:21:41 +02:00
Ilari Liusvaara
b6349a0980 Fix error message if trying to load ROM with project active 2014-12-04 09:58:01 +02:00
Ilari Liusvaara
03de099aae Fix most hotkeys to show up in configuration (were missing due to errant !) 2014-12-03 08:50:52 +02:00
Ilari Liusvaara
8e6eb72351 Wxwidgets: Fix loading ROM from commandline 2014-11-28 18:51:28 +02:00
Ilari Liusvaara
d19d0e8945 Music playback: Guard against crazy pcmpos
Previously crazy pcmpos values could cause division by zero or signed
overflows.
2014-11-27 19:31:01 +02:00
Ilari Liusvaara
3146ec5352 Tracelogger: Unregister the frame callback even on hard kill
Fixes memory corruption if ROM is reloaded and then tracelogger window
is closed.
2014-11-27 16:44:58 +02:00
Ilari Liusvaara
60f9d3b217 bsnes: Add hcounter/vcounter registers 2014-11-24 12:42:29 +02:00