Ilari Liusvaara
9aa8578e74
Circle coordinates can go negative and thus must be signed
...
Fixes the bug where only one fourth of circle was drawn.
2015-04-27 08:20:26 +03:00
Ilari Liusvaara
17efbec1a6
Clean up dynamic state handling a bit
2015-04-25 15:51:18 +03:00
Ilari Liusvaara
39286f820a
Refactor unsafe rewinding a bit now that state is its own subobject
2015-04-25 13:18:37 +03:00
Ilari Liusvaara
653f44e353
Refactor dynamic state to its own subobject
...
This is meant as base for further refactoring
2015-04-14 15:39:50 +03:00
Ilari Liusvaara
a45baf5559
Mark the core methods that should be idempotent as const
2015-04-14 13:06:13 +03:00
Ilari Liusvaara
4d3d483a34
A bit of code cleanup
2015-04-14 12:40:57 +03:00
Ilari Liusvaara
3571fb3e08
Refer to loaded ROM imagesets as handles
2015-04-14 12:34:19 +03:00
Ilari Liusvaara
b7aedc6cd9
Internally refactor loaded ROM imageset out of loaded ROM code
2015-04-14 11:25:10 +03:00
Ilari Liusvaara
1bf49d532d
Move NULL core code to its own file
2015-04-14 10:27:35 +03:00
Ilari Liusvaara
a6b7391da5
Refactor loaded_rom to make public fields private
2015-04-14 10:21:31 +03:00
Ilari Liusvaara
8af9dda77f
Fix speed going out of whack after doing unsafe rewind
2015-04-12 23:10:57 +03:00
Ilari Liusvaara
a1b96d75da
Split overly large loaded_rom constructor
2015-04-11 20:31:23 +03:00
Ilari Liusvaara
2842b76907
Add load-rom command
...
This is not really complete: There are three ROM load modes, this is just
one of those.
2015-04-11 06:01:20 +03:00
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