Commit Graph

1237 Commits

Author SHA1 Message Date
andres.delikat c5f2d02f68 Ram Watch/Cheat Window/Lua Console - when deleting, clear selected items 2011-08-17 00:26:34 +00:00
andres.delikat 2330126b84 Ram Search - when deleting, clear selected items 2011-08-16 02:47:32 +00:00
andres.delikat 90233868cf Slight dialog cleanups on ram search & autofire config 2011-08-15 19:33:18 +00:00
andres.delikat 89c5dcb9ec Ram Search - Make DoUndo() set the previous value to the current value. Better would be to keep a previous value undo list and restore that, but this is adequate for preventing crashes. 2011-08-15 19:08:52 +00:00
zeromus 019ad69459 disc subchannel Q calculation; make TOC a little more useful by adding TOCPoints which are easier to search than nested sessions, tracks, and indices; and change path browser to use a superior folder browser which lets you enter paths into a textbox. I refuse to click to navigate folders 2011-08-14 23:13:31 +00:00
beirich 0a5157d9a6 Extremely preliminary TurboCD support 2011-08-14 18:20:13 +00:00
beirich c7178543c7 split gamedb up into more files 2011-08-12 03:30:23 +00:00
andres.delikat 124da117b8 Add default constructor to GameInfo to avoid null reference crashes, right click menu during null emulator now no longer crashes (and probably a number of other situations). Added BizHawk back to the Main form text property instead of 0 2011-08-10 23:50:01 +00:00
andres.delikat 9e9b3051a8 Remove hard coded "Backspace" hotkey mapping for nes reset (the soft reset hotkey handles reset just fine). Add Reset hotkey mapping to Reset menu item 2011-08-10 22:58:06 +00:00
zeromus 5bf7b33f4a fix crash relating to null AutofireNullControls 2011-08-10 04:31:07 +00:00
andres.delikat 6f3bc27c59 Autofire is smarter now and keeps track of when a button was pressed and then uses that for the basis of the autofire pattern 2011-08-10 00:34:33 +00:00
beirich 4b65d9e9cf Fix someone's freudian typo 2011-08-10 00:14:21 +00:00
andres.delikat 852c37d63b Autofire Config - minimum values should be 1 not 0 2011-08-10 00:13:07 +00:00
andres.delikat abf7d24106 and as usual, I forgot the new winform files 2011-08-09 23:42:30 +00:00
andres.delikat 034b2e6e68 Autofire config dialog 2011-08-09 23:27:47 +00:00
andres.delikat cde05919ad Refactor autofire into an autofire controller. Added On & Off values that can be used to create any combination of On/Off patterns, hooked them to Global.Config values 2011-08-09 22:13:57 +00:00
andres.delikat 8fa630c0fa Autofire UI for PCE, GG, GB 2011-08-09 02:40:22 +00:00
andres.delikat 63b1f9b93a Input Config - autofire for SMS/GG/SG, disable autofire pulldown item for TI83 2011-08-09 02:16:46 +00:00
andres.delikat 4cd457ada6 Hook up autofire nes controls to the input config dialog 2011-08-09 01:38:51 +00:00
andres.delikat d10f38af5d Remove autofire from IController & inherited objects other than Controller 2011-08-09 00:57:56 +00:00
andres.delikat 9b2ba5c85c Basic implementation of Global.ActiveController, uses an ORAdapter to OR against Active Controller. Still TODO: setting up autofire controllers for platforms and a UI in the Controller Config 2011-08-09 00:51:46 +00:00
andres.delikat 0d01af5c7b Refactor autofire, remove the autofire adaptor. Added an autofire bool to IController and implemented it in the Controller object. Setting to true will turn the controller buttons into autofire buttons 2011-08-08 23:35:13 +00:00
zeromus e4305823c5 disc-more gracefully handle missing ffmpeg, and checkin an ffmpeg finally 2011-08-08 02:02:01 +00:00
zeromus 1f541be6df disc: cue+mp3/mpc/flac decoding 2011-08-08 01:48:31 +00:00
andres.delikat d92c27f89d Autofire Input Adaptor, currently no UI for it 2011-08-07 23:26:06 +00:00
andres.delikat 7357f82ffa oops 2011-08-07 20:55:06 +00:00
andres.delikat 9809cb317a MemoryViewer - slight refactoring 2011-08-07 20:54:26 +00:00
andres.delikat d55debbb3e Hex Editor - refresh address display after typing in values or highlighted address changes by key press 2011-08-07 20:31:49 +00:00
andres.delikat 19b4072346 Hex Editor - refix typing in of values 2011-08-07 20:20:07 +00:00
andres.delikat 6953782167 Hex Editor - remove useless text box that was going to be a find by value box, will put that off until a future release 2011-08-07 20:00:35 +00:00
andres.delikat fae70a6e0e Hex Editor - scroll when pressing up or down, fix some crash bugs, implement Pg Up/Down, Home, End hotkeys 2011-08-07 19:53:52 +00:00
andres.delikat 53fd0aa877 Hex Editor - Dump To File implemented 2011-08-07 19:30:01 +00:00
andres.delikat c00fe0d00b Hex Editor - add char viewer, shrink font, make drawing a bit more efficient 2011-08-07 19:12:26 +00:00
andres.delikat 52507fbb24 Hex editor - correctly use stringbuilder 2011-08-07 17:34:33 +00:00
andres.delikat 548c881ace Hex Editor -Revert previous commit because it made every row the same, also applied some very tiny speed ups 2011-08-07 16:32:50 +00:00
andres.delikat cce572f0c8 Hexeditor - stringbuilder for a slight speedup 2011-08-07 15:54:29 +00:00
andres.delikat c8a4a14021 Ram Search/Watch - context menu will show Unfreeze instead of Freeze if highlighting a frozen address 2011-08-07 04:19:49 +00:00
andres.delikat fdacd090db Ram Search - GUI fixups 2011-08-07 03:11:54 +00:00
andres.delikat fd36356536 Mainform Status Label - add a Cheats status button. Displays if there are active cheats, clicking it opens the cheat window 2011-08-07 02:12:41 +00:00
andres.delikat 7a6bc33ebc Removing a cheat turns off the cheat as well 2011-08-07 01:50:50 +00:00
andres.delikat 6c252d08fa Fix so that cheat list isn't cleared after loading a .cht file automatically in mainform. Add a destructor to the Cheat Object that clears the corresponding memory pulse. Make a Clear() function on CheatList that clears the MemoryPulse, Cheat Window - Disable All Cheats clears the memory pulse even those not in the CheatList 2011-08-07 01:16:55 +00:00
andres.delikat 15743552e2 Cheat Window / Ram Watch - Select All menu item and Ctrl+A hotkey. Ram Search - add Ctrl+Z hotkey to Undo menu item 2011-08-07 00:56:21 +00:00
andres.delikat c903ff505d Ram Watch/Ram Search/Cheats - Delete key deletes selected items 2011-08-07 00:43:04 +00:00
andres.delikat 9814cc26c9 Ram Search & Ram Watch - Freeze function freezes all selected list items 2011-08-07 00:32:22 +00:00
andres.delikat df5d27e0f3 Cheats - better icon, fix Save function to use default filename and save automatically, refactored into its own Save() function 2011-08-06 22:25:37 +00:00
andres.delikat 95c8e709b6 Cheats - more fixes, in particular saving & loading the .cht file from the same path! 2011-08-06 22:03:10 +00:00
andres.delikat 9826e26a4b Cheats - fix the adding of a cheat from another dialog (Ram Watch/Search, Hex Editor, etc) 2011-08-06 19:49:21 +00:00
andres.delikat d69abc909d Cheats - more refactoring by putting code into the CheatList object 2011-08-06 19:30:21 +00:00
andres.delikat c3d08b3b7b Pull the cheat list and some related functions out of the Cheats winform and into a CheatList object. Still some bugs to work out, but at least the cheat window doesn't crash when opened a 2nd time 2011-08-06 02:34:24 +00:00
beirich ff6323a362 client can handle opening/dragging a .cue, hashing the data sector, looking it up in the DB, and passing it to the correct core 2011-08-04 04:00:00 +00:00
beirich b27673f26c M-M-M-MONSTER COMMIT! change Game-load api stuff 2011-08-04 03:20:54 +00:00
andres.delikat 788cd17317 oops 2011-08-04 03:00:40 +00:00
andres.delikat 51ccd7ec9a TI83 - add NumberPadEnter to the default input key mapping along with Enter since our hotkey system differentiates between the two 2011-08-04 03:00:02 +00:00
zeromus ae3b4fad83 fix reset menu item? 2011-08-04 02:47:05 +00:00
andres.delikat 933b4a60bc Ram Watch/Search, TASStudio - use of the blazingfast option of virtuallistview only during the updatevalues function yields significantly less flickering without the bad side effects of that option 2011-08-04 02:28:25 +00:00
beirich a1c562259d Client-side cheats system added, works on all cores with working PokeByte() 2011-08-03 03:00:19 +00:00
beirich 6f379cee76 remove freeze system; replacement incoming 2011-08-03 02:13:42 +00:00
beirich 74a58186df fix Disc/Disc name collision
add function to disc-api to get game-ID hash from 1st data track
2011-08-03 00:57:01 +00:00
andres.delikat 183ef7f14c Cheats implemented in the TI83 core, show messagebox on Cheat enable failure 2011-08-02 22:41:47 +00:00
zeromus 19d0cc627e get some of the disc api interop stuff checked in 2011-08-02 08:26:33 +00:00
andres.delikat 7bfd9779fe Hide Selection = false on all the virtuallistview objects 2011-08-02 03:07:47 +00:00
andres.delikat 60d14b7efe Add message to screen whenever a cheat (freeze) action is performed in a dialog 2011-08-02 03:00:12 +00:00
andres.delikat 11c5dd04ac Cheats Window stores the cheat list while not open, thus is should probably not erase it on load 2011-08-02 02:49:29 +00:00
andres.delikat 54b7d7b528 Cheats - try/catch all cheat enablings, disable dialog if core isn't supported (hacky but informative) 2011-08-02 01:12:43 +00:00
andres.delikat 3011757978 Cheats - don't crash when loading a .cht file if cheats have not been freezedata has not been implemented on that particular core 2011-08-01 23:47:40 +00:00
andres.delikat 97ba81c95d Cheats - If cheat directory doesn't exist when saving, create it. Fix bug where PCE cheats were saved in GB folder, if adding a cheat from another dialog - flag Changes 2011-08-01 23:42:09 +00:00
beirich 1c72c144af odds and ends, pre-commit for turbocd stuff 2011-08-01 23:18:22 +00:00
andres.delikat bfd3956796 Redo Savestate context menu item implemented 2011-07-31 23:25:00 +00:00
andres.delikat 04d41975d0 Implement Help menu item (links to googlecode page) 2011-07-31 23:00:19 +00:00
andres.delikat 6711995c5b Undo savestate context menu item implemented 2011-07-31 22:29:56 +00:00
andres.delikat 3fc7e6c95f Backup savestates feature + toggle to turn it off 2011-07-31 21:39:54 +00:00
andres.delikat fc1e5224d8 refactor savestate functions a bit 2011-07-31 20:57:14 +00:00
zeromus 1edc51f41d etc 2011-07-31 20:19:44 +00:00
zeromus a71fe428c2 better diagnostics for win32 console startup 2011-07-31 20:13:57 +00:00
zeromus aff85d5885 add better diagnostics for win32 console startup 2011-07-31 20:09:27 +00:00
zeromus f356d5b354 add core scanning system 2011-07-31 19:46:42 +00:00
andres.delikat 64e38e83c8 Movie Loadstate - GUID checking in read-only mode + fix a crash bug 2011-07-31 17:35:02 +00:00
andres.delikat 3481943b74 Overhaul movie savestate logic - cleaned up a lot of code, implemented GUID, Future Event, and Timeline checks to read-only situations. Prevented loading of state if an error occurs. Still TODO - GUID checks in read+write mode 2011-07-31 16:41:27 +00:00
andres.delikat 35180dbae4 A real about box 2011-07-31 02:13:24 +00:00
andres.delikat ce3bb25409 Movie object cleanup, movie savestate handling cleanup, save GUID into movie savestates 2011-07-31 01:15:14 +00:00
andres.delikat 60a4ea4426 Refactor movie code - a Loaded property, removed a lot of code that was a work around for this needed feature, movie can not write to disk unless this property is true 2011-07-30 23:59:31 +00:00
andres.delikat ccae3cc1c9 Add NullGame as an inherited class of RomGame and assign Global.Game to this instead of null whenever a ROM is not loaded. This fixes using the record dialog with no game loaded and lots of other situations during Null Emulator. Also cleaned up the record dialog a bit 2011-07-30 23:20:49 +00:00
andres.delikat 2e68314e01 Movies that start from savestate now supported. Record Movie dialog "Record from Now" option implemented. ResetFrameCounter() added to IEmulator and implemented in all existing cores 2011-07-30 20:49:36 +00:00
andres.delikat 6dc3c25a8d TAStudio - don't attempt to do winform things in Restart() if window is not open 2011-07-30 18:54:49 +00:00
andres.delikat ab97cb04a9 Remove TI83's Disable Slot Hotkeys option (now that the numpad is properly used) 2011-07-30 18:39:33 +00:00
andres.delikat e121498c4c TAStudio - fix updating of nes control pad, add menu item "Update Pads on Movie Playback", different color for control pad button background when pressed 2011-07-30 17:59:18 +00:00
andres.delikat e4ba668d31 NES & SMS controls VirtualPads (Reset/Pause/Power/Etc) 2011-07-30 13:48:13 +00:00
andres.delikat 1cef6ac3be fix build error in last commit, oops 2011-07-30 12:22:33 +00:00
andres.delikat 6af8649e84 TAStudio - virtualpads update on movie playback, used monospace font for listview 2011-07-30 03:00:18 +00:00
andres.delikat 672b8455fd TAStudio - use saved window position, save window size, slight GUI tweaks 2011-07-30 01:26:13 +00:00
andres.delikat d6897ad328 Tastudio - PCE virtualpad done, 4 pce controllers added to controller box 2011-07-30 01:09:44 +00:00
beirich 564f829fd7 [PCE] PSG volumes are less wrong. Still poking.
[Client] improved some config defaults
2011-07-28 05:28:03 +00:00
zeromus 85419ab656 fix recently crashing archive file loading 2011-07-28 05:24:33 +00:00
zeromus 4d648e13b1 fix rewind better maybe this time. 2011-07-26 06:34:45 +00:00
beirich 956fb42191 Fix unmanaged/VRAM memory leak causing eventual crashes once VRAM is exhausted 2011-07-26 04:26:20 +00:00
andres.delikat 81fe6e200c TAStudio - Fix SMS virtualpad so that it controls input 2011-07-26 02:47:21 +00:00
andres.delikat ef33763383 TAStudio - fix rewind 2011-07-26 01:08:38 +00:00
andres.delikat de0e7770fc TAStudio - implement ClearPads() and Restart() and hook them up to the stop movie button. Fix Virtualpad objects so they don't crash on the Clear() function 2011-07-26 00:26:05 +00:00
andres.delikat ac032d1b92 Refix rewinding in movie finished mode. It now properly restores the movie to playback mode. 2011-07-26 00:11:23 +00:00
zeromus 63e4eaef79 handle user input vs MovieMode.FINISHED better 2011-07-25 01:47:02 +00:00
andres.delikat 503ecac44c Path Config for PCE Bios 2011-07-25 01:30:18 +00:00
zeromus 08903b8985 fix rewind speed 2011-07-25 00:08:04 +00:00
zeromus 5580295085 movie input refactoring 2011-07-24 23:14:16 +00:00
zeromus 695625d63b warnings begone 2011-07-24 21:29:17 +00:00
zeromus 29b2e30c36 cleanup Controller class (remove old sticky and forcing code) 2011-07-24 20:37:10 +00:00
zeromus e4f9f76198 fix ti-83 virtual keypad 2011-07-24 20:23:27 +00:00
andres.delikat ea472ee043 Clean up virtualpads to use StickyXORAdapter, have a Clear() function, and to be aware of what controller they are using 2011-07-24 20:17:21 +00:00
beirich 06d8792830 [PCE] fix Youkai Douchuuki, Yo Bro, and Order of the Griffon 2011-07-24 19:52:20 +00:00
zeromus 198431b8a2 add StickyXORAdapter 2011-07-24 19:52:13 +00:00
andres.delikat 813e0d0d97 SMS virtual pad, but pressing the buttons crashes currently 2011-07-24 19:31:58 +00:00
andres.delikat 58e2e65c7f TAStudio - refix frame advance 2011-07-24 17:35:53 +00:00
andres.delikat 45414435b4 TAStudio - make virtualpads load dynamically, load 2 nes pads if an nes controller 2011-07-24 17:29:09 +00:00
zeromus 15d7148926 forgot an add 2011-07-24 07:00:54 +00:00
zeromus 8a1e0c2b09 unmanaged core experiment 2011-07-24 06:45:05 +00:00
beirich c30529685d [PCE] regretfully implement sprite limit, fixing some anomalies 2011-07-24 03:32:39 +00:00
andres.delikat 206329a7c8 Add Restart Movie to context menu 2011-07-24 00:58:48 +00:00
andres.delikat a7bf8362cc Play Movie - scroll to highlighted index when index changes, fix tab orders 2011-07-24 00:21:58 +00:00
andres.delikat 36eef14f60 Play Movie - add .state to browse dialog and do logic to check if it has an inputlog, if not then show a message and don't load, else load it as a movie. Also dialog cleanups 2011-07-23 22:30:51 +00:00
andres.delikat c383319082 Play Movie - rescan button 2011-07-23 21:14:20 +00:00
andres.delikat c73112cdf6 Play Movie Dialog - add a "include .state" checkbox. If checked it will show .state files that have input data 2011-07-23 20:52:47 +00:00
beirich 8295e6d65b PCE GameDB overhaul 2011-07-23 20:22:32 +00:00
andres.delikat b78202a4c6 Fix input widget so that when auto-tab is off, escape still immediately updates the text 2011-07-23 19:43:08 +00:00
zeromus 33dc19ded2 change console window title format 2011-07-23 09:18:18 +00:00
zeromus fa179198a0 superior win32 console support: capture output during debug mode, dont interfere with stdout redirect 2011-07-23 08:17:09 +00:00
andres.delikat eda56bac8c Mainform cleanup - move all menu/event handling functions to Mainform.MenuItems.cs, move some more code to Mainform.Movie.cs, minor code cleanup 2011-07-22 01:34:21 +00:00
andres.delikat f4d02ff49e Some code cleanup on Mainform, also moved all the mainform movie functions to their own file 2011-07-22 01:14:13 +00:00
andres.delikat bc2293a482 Ripped out inputlog, for now 2011-07-22 00:19:25 +00:00
andres.delikat 66a854d75b Main Form - opening log window from status bar Rom icon - StopSound & StartSound() should always be run before and after modal dialog calls to avoid annoying stuttering while window is open 2011-07-21 22:51:32 +00:00
beirich 3bedad1e95 Update SGX with new timing & support frameskip... huge success!
100% SGX compatibility (not that this is difficult)
2011-07-20 03:57:41 +00:00
beirich 47def064fa significant PCE timing/compat improvements, still poking at a few things 2011-07-19 03:53:07 +00:00
zeromus 2f27bf783e gamedb updater script tech. rearrange to suit your tastes. 2011-07-18 23:10:25 +00:00
zeromus 1ed8315b7a optionally restore win32 console window for now, until the windows one is fast enough to replace it 2011-07-18 02:41:57 +00:00
beirich cc9cf04a57 "Fix" PCE Paranoia by marking bad roms 2011-07-18 00:11:16 +00:00
zeromus 1634a6c042 crude log console 2011-07-17 22:42:52 +00:00
andres.delikat 72699b4ad7 another round of refactoring the Movie object 2011-07-17 17:52:39 +00:00
andres.delikat e6b2c794d4 Refactor the movie object, replacing Getfunctions with public properties, renaming of some functions, removing a duplicate function, other misc things 2011-07-17 14:39:15 +00:00
andres.delikat bc31a49c4a Fix prev/next slot functions to that they navigate to slot 0 2011-07-17 13:59:41 +00:00
andres.delikat 1ee864666b update status bar saveslots on NextSlot() and PreviousSlot() 2011-07-17 13:33:09 +00:00
andres.delikat 7445ff887c small amount of work on NES Sprite viewer, added nesasm.pdf to NES docs 2011-07-16 18:16:21 +00:00
andres.delikat b1abe27bfc a couple of icons 2011-07-16 13:48:05 +00:00
andres.delikat ee713acded Edit Subtitles Form - minor tweaks 2011-07-16 13:31:36 +00:00
andres.delikat 5ccf27eb4a Don't show Add Subtitle in context menu when no movie is loaded 2011-07-16 02:22:15 +00:00
andres.delikat b551d9dbdd Movie Subtitles - in Edit Subtitle dialog, parse color value as hex, in render panel read the subtitle color 2011-07-16 02:11:51 +00:00
andres.delikat 211889c73d Restore Inputlog recording 2011-07-15 03:25:32 +00:00
beirich 3f27ac0b2a Fix PCE Populous by supporting its custom SaveRAM.
+ Unsubstantial TurboCD progress.
2011-07-15 02:08:18 +00:00
andres.delikat 7293cd05cc Add error messages to movie convert functions, and other small cleanups, refactor calls to them to handle error messages 2011-07-14 01:12:18 +00:00
zeromus 2f050d5751 avi size segmentation 2011-07-13 04:24:55 +00:00
zeromus bff3957c7e avi rez-change segmentation 2011-07-13 04:04:58 +00:00
andres.delikat a8c66418e7 Movie Convert - started implementing an error message system, did FCM and MMV 2011-07-13 02:11:20 +00:00
zeromus 2c683dc90a dont crash on exit while writing inputlog 2011-07-13 01:45:40 +00:00