Ilari Liusvaara
323db52b6b
Add <functional> to files that use std::function
2017-10-26 04:41:20 +03:00
Ilari Liusvaara
4c9bb20270
Fix crash if mouse_x or mouse_y are hooked
...
Turns out framebuffer draw recalibrates mouse_x and mouse_y, which then
calls into hook. Which is no-no, because framebuffer draw runs in GUI
thread, and hooks must run in game thread.
2016-07-23 11:16:34 +03:00
Ilari Liusvaara
eb6ff6c38b
Virtualize audio system for instances
2016-04-17 10:14:05 +03:00
Ilari Liusvaara
40ac5d56e3
Some new hotkeys
...
- Flush slotinfo cache
- Reload current ROM
- Close current ROM
- Increase speed
- Decrease speed
2016-04-15 12:50:15 +03:00
Ilari Liusvaara
d287f64c14
Allow modifying button to be autofire/autohold/typed
2016-04-14 20:22:13 +03:00
Ilari Liusvaara
05ad5b9da1
Fix "empty path points to root" bug
...
Unset paths are supposed to point to the current directory, not the
root.
2016-01-01 07:57:48 +02:00
Ilari Liusvaara
6a580bb332
Add regex sanity checks on startup and add --sanity-check
2015-12-15 04:17:11 +02:00
Ilari Liusvaara
918dc6db7b
Fix gamepad reset
...
Don't create duplicate keys for gamepads during reset (causing those
keys to stop working) and properly offline all buttons and axes in
gamepad that is offlined.
2015-08-01 00:25:37 +03:00
Ilari Liusvaara
2da23de987
Small whitespace cleanup
2015-05-27 23:08:54 +03:00
Ilari Liusvaara
0d83c3aba6
Rework how memory tracking works
...
Also adds a few new tracking categories, like movie storage
2015-05-27 17:59:00 +03:00
Ilari Liusvaara
0960e967ea
Memory tracker: Add tracking of render objects
2015-05-27 16:28:01 +03:00
Ilari Liusvaara
56deafcd4a
Framework for memory usage tracking
...
Adds tracking for Lua VM and ROM images. The rest comes later.
2015-05-26 13:16:09 +03:00
Ilari Liusvaara
eeaf3706d8
Add dedicated method for resetting to poweron state
...
This speeds up "rewind to beginning" operation.
2015-04-27 10:03:28 +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
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
a1b96d75da
Split overly large loaded_rom constructor
2015-04-11 20:31:23 +03:00
Ilari Liusvaara
8e95c54d68
Throw mic in to entropy pool
2015-02-27 19:02:25 +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
95ec8a8ba7
Lua: add gui.get_runmode()
2015-02-11 21:24:06 +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
d09d301849
Add commands and Lua functions to manipulate running speed
2015-01-17 09:25:50 +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
9fdd0bdd38
Tweak format of command help files and do some further command cleanup
2014-11-18 16:19:01 +02:00
Ilari Liusvaara
028a51066c
Show VMA relative hex address when dumping debug hook list
2014-11-18 07:43:05 +02:00
Ilari Liusvaara
5ddf119ef0
Reinitialize gamepads command and fix EVDEV going bonkers on gamepad suddenly disconnecting
2014-11-17 20:12:20 +02:00
Ilari Liusvaara
3b2298180a
Allow binding commands to class instance
2014-11-17 15:55:14 +02:00
Ilari Liusvaara
5ee7962cb9
Rudimentary library unloading support
...
Rather easy to crash the emulator with this, but...
2014-11-17 15:10:13 +02:00
Ilari Liusvaara
b218c1aaa0
Allow memory watch to read registers
2014-11-11 20:56:54 +02:00
Ilari Liusvaara
212d554ad1
Split audioapi to core interface and driver interface parts
2014-11-10 19:52:10 +02:00
Ilari Liusvaara
b5ed0f73b1
Refactor library GC to its own namespace
2014-11-10 16:06:04 +02:00
Ilari Liusvaara
9a69dc3511
Namespace library port-controller stuff
2014-11-10 05:13:34 +02:00
Ilari Liusvaara
a00d357bef
Remember sound devices
2014-10-19 02:37:55 +03:00
Ilari Liusvaara
c3982c8902
Clean up instance usage in editor-voicesub.cpp
2014-06-09 18:43:19 +03:00
Ilari Liusvaara
a2f4ba6dfd
Clean up use of project->moviepath/otherpath
2014-06-09 18:39:30 +03:00
Ilari Liusvaara
b13e9ef12c
Clean up window-fileupload.cpp
2014-06-09 18:24:00 +03:00
Ilari Liusvaara
b6dac6c1ed
Factor updating status to its own class
2014-06-09 02:05:56 +03:00
Ilari Liusvaara
b8b4233255
Make class for emulator run mode
2014-06-09 01:10:29 +03:00
Ilari Liusvaara
4afda2550e
Refactor save jukebox handling into its own class
2014-06-08 15:13:01 +03:00
Ilari Liusvaara
ae17d41df4
Privatefy loaded_rom rtype, region and orig_region
2014-06-08 14:24:57 +03:00
Ilari Liusvaara
301198e98f
Instancefy currently loaded ROM
2014-06-08 04:15:01 +03:00
Ilari Liusvaara
7914d0bd70
Make some static variables in audioapi functions fields of audioapi class
2014-06-07 17:37:17 +03:00
Ilari Liusvaara
8f54db2902
Instancefy audioapi core (but not driver) stuff
2014-06-07 17:33:03 +03:00
Ilari Liusvaara
f62caa4b08
Some non-instance variables cleanup
2014-06-07 15:27:06 +03:00
Ilari Liusvaara
a30c8f0890
Don't crash if exiting on panic
2014-06-06 15:30:57 +03:00