Commit graph

2199 commits

Author SHA1 Message Date
Ilari Liusvaara
c51cfe9099 Add back reload-rom and close-rom
These commands have seemingly gotten lost somewhere
2015-04-11 04:37:39 +03:00
Ilari Liusvaara
71d649c487 Remove some unnecressary casts 2015-04-10 23:01:07 +03:00
Ilari Liusvaara
ae3cb19a03 SNES: Functions for messing with clockrate (for debugging games) 2015-04-09 04:18:59 +03:00
Ilari Liusvaara
f2169b725f Don't callback to Lua in inconsistent state when loading a new ROM 2015-04-09 04:18:05 +03:00
Ilari Liusvaara
046bc221ef Lua: movie.get_game_info 2015-04-04 22:22:33 +03:00
Ilari Liusvaara
5f0d5dcdb0 Wxwidgets: Fix some compile errors in window-fileupload.cpp 2015-04-04 00:52:48 +03:00
Ilari Liusvaara
3eb7585947 Wxwidgets: Fix some compile errors in editor-memorywatch.cpp 2015-04-04 00:24:49 +03:00
Ilari Liusvaara
d7744e00e7 Wxwidgets: Fix § 2015-03-23 19:31:54 +02:00
Ilari Liusvaara
52dff27f3e Wxwidgets: Add keycode entries for å, ä and ö
Allows these keys to be used as bindings, hotkeys or controller keys
2015-03-21 17:33:10 +02:00
Ilari Liusvaara
93875839b9 bit.(r)flagdecode: Fix unicode in on/off strings 2015-03-11 03:18:49 +02:00
Ilari Liusvaara
929155f14d Fix typo in resolve_filename documentation 2015-03-10 22:40:13 +02:00
Ilari Liusvaara
63b59e35f7 Lua: Don't run class destructor if constructor failed 2015-03-04 22:34:03 +02:00
Ilari Liusvaara
aade7a9fb8 Fix race condition in do_mix_tsc()
The lock needs to protect count from concurrent update. Especially since
if double increment happens in the wrong place, the routine starts
scribbling memory until whole thing crashes.
2015-03-04 21:48:14 +02:00
Ilari Liusvaara
fd65e1e435 Fix hostendian memory watches 2015-02-27 19:02:43 +02:00
Ilari Liusvaara
8e95c54d68 Throw mic in to entropy pool 2015-02-27 19:02:25 +02:00
Ilari Liusvaara
e3fc1ed5fa Make gitlinks for bsnes and gambatte
HTTP Code 418...
2015-02-14 10:05:52 +02:00
Ilari Liusvaara
94170ec2d5 wxwidgets: exit-fullscreen to forcibly exit fullscreen mode 2015-02-14 01:45:43 +02:00
Ilari Liusvaara
ea78fecb1b Force a repaint when becoming fullscreen
Fixes game screen when fullscreen is entered with game pauses
2015-02-14 01:25:17 +02:00
Ilari Liusvaara
19b12b1215 Lua: movie.get_rom_info() 2015-02-13 22:49:43 +02:00
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