Commit Graph

691 Commits

Author SHA1 Message Date
goyuken 900568f5ed flush rewind buffer on CloseROM() 2012-10-12 01:19:49 +00:00
goyuken 1f0189dd2c MainForm: fix sound-related crashes on CloseROM() 2012-10-12 01:13:55 +00:00
adelikat 2dacb356c2 OOPS! Undo my change with moving UpdateToolsBefore() 2012-10-11 22:37:44 +00:00
goyuken 92827272a6 reunbreak turbo (both normal turbo and turboturbo) with sound throttling 2012-10-11 01:00:36 +00:00
goyuken b40897bb77 sound api changes. added a new ISyncSoundProvider, which works similarly to ISoundProvider except the source (not the sink) determines the number of samples to process. Added facilities to metaspu, dcfilter, speexresampler to work with ISyncSoundProvider. Add ISyncSoundProvider to IEmulator. All IEmulators must provide sync sound, but they need not provide async sound. When async is needed and an IEmulator doesn't provide it, the frontend will wrap it in a vecna metaspu. SNES, GB changed to provide sync sound only. All other emulator cores mostly unchanged; they just provide stub fakesync alongside async, for now. For the moment, the only use of the sync sound is for realtime audio throttling, where it works and sounds quite nice. In the future, sync sound will be supported for AV dumping as well. 2012-10-11 00:44:59 +00:00
adelikat f234e15df6 Movie UpdateToolsBefore() earlier in the frame loop 2012-10-10 23:38:15 +00:00
adelikat d5885938de Update Statusbar slots when the emulator is loaded 2012-10-10 22:52:11 +00:00
goyuken 927fb7070c sound throttle now respects forced throttle off (user hits fastfoward button, etc) 2012-10-10 17:19:51 +00:00
goyuken 9417eac96c move NesCarts.7z to gamedb subfolder 2012-10-09 20:33:14 +00:00
goyuken 79731827f4 avoid using literal backslash in gamedb path loading 2012-10-09 01:54:15 +00:00
goyuken 8c24417f8d gamedb stuffed into gamedb subfolder 2012-10-09 01:34:21 +00:00
goyuken 3832352dbe add default RomStatusDetails (name, sha1, md5). add pcecd specific RomStatusDetails generated from the Disc 2012-10-08 20:37:41 +00:00
adelikat 0dfbfb592f Re-hook up Load Config, menu item got disabled at some point. Trace logger - update number of instructions when clear button is clicked, show OSD message when saving to disk 2012-10-08 00:27:21 +00:00
adelikat 8545f94315 Status Bar - right-clicking the status slots will invoke a savestate 2012-10-07 19:52:09 +00:00
adelikat 972d8f2f5b Status bar - make selected slot more obvious of a background color 2012-10-07 18:42:42 +00:00
adelikat 7fd74ecb04 dummy commit to mark the end of 1.1.1a and start 1.1.2 2012-10-07 15:41:22 +00:00
goyuken 3d52ed49e5 fix GBC input config tab
fix GBC savestate locations
fix GBC saveram locations
fix GBC screenshot locations
fix GBC titlebar text
2012-10-07 14:52:03 +00:00
adelikat 2a9c78220f Update interim version number, dummy commit to mark the beginning of 1.1.2 2012-10-07 01:28:16 +00:00
goyuken b9b2292a3f restore recently lost behavior where the system-specific mainform menu is called "SGB" when running SGB instead of SNES. this involves no changes to internal passed IDs 2012-10-07 00:00:23 +00:00
goyuken 329ca16bdf unbreak toolstrip menu and controller function for GBC 2012-10-06 23:53:05 +00:00
goyuken 5c4e147da3 fix loading a compressed archive containing a single .gbc file. the number of different places where you can find various extension lists is rather terrifying... 2012-10-06 22:14:10 +00:00
pasky1382 37b054ad43 Re-added the 'GBC' switch. 2012-10-06 22:02:24 +00:00
pasky1382 b1ba573695 Revert that fix, did not upload a GBC db (thought I did) 2012-10-06 21:58:44 +00:00
pasky1382 a52a9b0d44 Fixed a crash when loading a GBC rom (apparently there was no GBC case switch option) 2012-10-06 21:50:48 +00:00
goyuken a9ff371e63 mainform: add slightly informative error message to certain rom load exceptions 2012-10-06 20:59:44 +00:00
goyuken c51d3f787c fix crash in snesgraphicsdebugger when it is immediately moused over after load 2012-10-06 20:00:59 +00:00
pasky1382 d1248e0379 Imported movies retain their original extensions + .bkm 2012-10-06 18:52:33 +00:00
pasky1382 03e4403b9c Imported movie files are now automatically copied over to .\Movies directory and no longer keep their old extensions (i.e. movie.fcm2 is not longer movie.fcm2.bkm but movie.bkm) 2012-10-06 18:19:07 +00:00
adelikat b8070bc92f Lua - fix emu.registerbefore() and emu.registerafter() 2012-10-06 16:13:45 +00:00
adelikat 1c17f8dbed Lua Drawing - fix so that multiple scripts can draw at once 2012-10-06 14:36:02 +00:00
adelikat 644ed40f59 Move lua drawing to after the frame instead of before 2012-10-06 14:24:12 +00:00
adelikat 6aa9608a77 GGHawk - Hook up Highlight Active Display Region option, make this and Show Clipped Regions take effect on Core load 2012-10-06 12:37:38 +00:00
adelikat b88d5ffd5e GGHawk - add option to show clipped regions, show GG menu item, also show on SG-1000, cleanup of the sms/gg/sg menu 2012-10-06 12:27:56 +00:00
goyuken 2229b0ab93 add "FirmwareSHA1" to movie header for SGB and PCECD 2012-10-05 21:04:46 +00:00
zeromus a00081386d fix some things related to sgb movies 2012-10-05 18:20:27 +00:00
zeromus 96089026cd remove "SGB" systemid because its gonna cause a lot of trouble if we dont hook it up in a lot of places.. why can't we set it up as just a regular snes core? and run the sgb rom through the snes firmwares directory. 2012-10-05 04:47:45 +00:00
goyuken 6c723e6815 move ramsearch\ramwatch\hexeditor from toolsbefore to toolsafter. for live play, there is real change. for frame advance play, you now get the most current value when paused between frames. this also fixes a host of minor bugs where tools could have their values change while paused because something else triggered an update to the most current state. 2012-10-04 21:56:40 +00:00
goyuken 98d9f13600 change IEmulator.DeterministicEmulation to get-only; the old interface implies that a core should be able to take a change to the property at any time, which isn't feasable. most existing cores changed to return true all the time. SNES now takes determinism parameter in Load() 2012-10-03 15:31:04 +00:00
goyuken c8849a8422 work around memory leak in captureOSD; probable original cause: SysdrawingRenderPanel 2012-10-02 21:28:14 +00:00
adelikat 13150961cb Controller Config - make input widgets work, also consistent namespace on hotkey dialog (no ((intended)) functional change) 2012-10-02 00:23:37 +00:00
goyuken d4f5ed2f50 Movie playback and recording will now set IEmulator.DeterministicEmulation = true; only snes core actually does anything with this. It hasn't been explained before in a log; so I'll do it now: When in deterministic mode, the snes core internally does exactly one savestate each and every frame. Then, if the frontend calls savestate at all, it always gets the same internal cached savestate. If the frontend doesn't call savestate, then the internal savestate is simply discarded. This way, the exact same number of RunToSave() calls occur every time. 2012-10-01 14:39:52 +00:00
goyuken 2e70656dde add bilinear filter display option (d3d only) 2012-10-01 02:30:25 +00:00
adelikat 64b3b73464 Bizhawk - progress on new controller config 2012-09-30 21:31:32 +00:00
adelikat 075a97f1c4 Checking in my 2nd attempt at an input config overhaul, currently not hooked up 2012-09-30 19:57:33 +00:00
goyuken 89cf8e75fe mainform: fix the bug where choosing a small size from the menu (typically 1x) would cause unexpected black bars 2012-09-30 14:18:21 +00:00
adelikat 247cef6835 Trace Logger - log to the window only up to the maximum number of lines, ability to set max lines, save window position option, show status and instruction count on window, don't autoload trace logger if core doesn't have it available, close trace logger if switching to a non-traceable core 2012-09-30 13:38:37 +00:00
adelikat e865790086 Trace Logger - Hook up autoload 2012-09-30 03:09:41 +00:00
adelikat 52b8161b39 Start a Trace Logger, currently only NES has the right hooks, but it crashes when used 2012-09-30 00:53:08 +00:00
goyuken ddf99f789c when attempting to load SGB, unset SGB config mode if we fail to load the bios file. this avoids a catch-22 where you can't load an SGB because you don't have a rom, and you can't reset to GB mode because you can't get the menu item. 2012-09-29 23:21:55 +00:00
adelikat ff117d2c49 Add a status icon and notification system for settings that require a core reboot, status bar icon if clicked performs the reboot. Hooked up to the GB/SGB set, SMS Enable FM Chip and overclock settings. May need to flag some other settings too 2012-09-29 23:03:51 +00:00