Commit Graph

294 Commits

Author SHA1 Message Date
shygoo 5c2aa06f7c [Debugger] Rewrite memory viewer
replace the list control with a custom hex editor control
add ability to select/copy/paste/delete multiple bytes
add byte group size option
make window resizable
fix DPI-related issues
speed up auto-refresh
remove option to disable auto-refresh (new control's cpu usage is insignificant)
move the dump and search buttons into the context menu
change colors of breakpoints to match the command window's
highlight CPU read and write targets while stepping
move address info into a status bar
allow window to open before MMU is initialized
add shortcut keys for various actions
add "follow pointer" feature
add "safe mode" feature
add copy gameshark code feature
add copy with row/group addresses feature
add tabs feature
add jump menu for hardware regions
fix cartridge ROM addresses not being viewable
allow writes to cartridge ROM
use thread-safe functions for reading/writing memory
2019-11-30 11:48:46 -06:00
zilmar e71598edaf [Project64] make sure m_pDiskInfo is initialized in RomInformation 2019-11-10 07:04:24 +10:30
Duncan Ogilvie 18686e710c
Implement Randomize SI/PI interrupts setting
closes #1656
2019-10-03 11:39:46 +02:00
shygoo 1ede902abb [Debugger] Fix register UI problems 2019-09-26 11:07:28 -05:00
zilmar a7710229be Fix up cheat menu language strings 2019-09-20 04:19:13 +09:30
LuigiBlood f43201fdea [App] Add "Open Combo" File Menu for Combo N64 + 64DD Loading.
Also added seperate functions for generic game loading, N64 ROM loading, and 64DD Disk loading.
2019-08-22 13:44:30 +02:00
LuigiBlood 01ae9450fc [Disk] Undo changes to compile 64DD Settings Page 2019-08-21 09:25:16 +02:00
zilmar 3079edfd95
Merge pull request #1644 from LuigiBlood/ddrevamp
[Disk] Add Disk Drive Settings file
2019-08-21 16:46:24 +09:30
LuigiBlood 5eb8c8715f [Disk] Add Disk Drive Settings file 2019-08-21 08:50:47 +02:00
zilmar 95a0659e8d
Merge pull request #1643 from shygoo/exc-bp-intr-float
[Debugger] Add breakpoints for specific interrupts and FP exceptions
2019-08-21 09:28:48 +09:30
zilmar 081541cf64 Fix compile error 2019-08-21 09:28:19 +09:30
shygoo 2137b365bb [Debugger] Add breakpoints for specific interrupts and FP exceptions 2019-08-20 17:20:49 -05:00
zilmar b57250427b
Merge pull request #1641 from LuigiBlood/ddrevamp
[64DD] Updated 64DD emulation
2019-08-21 07:08:37 +09:30
Julio C. Rocha 05c2b59c3a Use _Pairib in VC versions below 14.2. 2019-08-17 00:59:45 -07:00
Julio C. Rocha 1ad1f71d2f Make code base compatible with Visual Studio 2019.
- Allow building with the MSVC 14.2 toolset.
- Removed explicit reference to deprecated typedef std::map::_Pairib.
2019-08-16 20:46:11 -07:00
LuigiBlood affc694149 [Core & UI] Add RAM Area Only (*.ram) Disk Save Type
- It's a bit hacky but it works for *.ndd files.
- For *.d64 files, it might be more problematic for now
2019-08-12 23:07:33 +02:00
LuigiBlood bfd793c184 [UI] Add 64DD Tab in Options 2019-08-12 19:55:10 +02:00
LuigiBlood bbabf5d98d [RomBrowserClass] Fix "Play Game with Disk" to stop appearing for Disk games. 2019-08-12 18:13:34 +02:00
LuigiBlood 0c6936d67e [Core] Perform more thorough disk validity checks & change DiskIdent for Config/RDB
- It didn't detect NUD-4567-JPN dump.
2019-08-12 17:50:04 +02:00
LuigiBlood cf576246e1 [Core & UI] Handle and Select IPLs depending on Disk Country Code
- Removes 64DD IPL loading when not found, so the user has to either load the IPL ROMs once or set them in the settings
2019-08-12 13:39:56 +02:00
LuigiBlood 075c82a3e3 [Disk] Support D64 Master Disk Format 2019-08-11 18:13:52 +02:00
LuigiBlood 3bd5595e77 [Rom] Support CRC calculation for 64DD IPLs 2019-08-11 13:30:51 +02:00
shygoo e7e91b878f [Debugger] Add copy buttons to memviewer popup menu 2019-08-04 17:50:52 -05:00
Azimer 84c164ff66 Fix for Windows XP compatibility
I neglected FreeLibrary and have multiple calls to LoadLibrary without freeing.  This is fixed by moving it to the class member level and allocating and deallocating through the class constructor/destructor.
2019-08-01 09:39:39 -05:00
Azimer a972773b6a Windows XP Fixes?
Does this actually work?
2019-07-31 23:28:49 -05:00
zilmar eace1a7ba1
Merge pull request #1627 from shygoo/fix-regtabs
[Debugger] Make register tabs stable
2019-06-15 20:50:11 +09:30
shygoo 946284a09a [Debugger] Make register tabs stable 2019-06-15 06:04:37 -05:00
oddMLan 3b9cafc058 [Debugger UI] Try to handle spaces in Mem Viewer address editbox
FormatClipboard() doesn't seem to be doing anything for some reason.
2019-05-13 01:32:00 -07:00
oddMLan 2bbd724b91 [Debugger UI] Fix address text box size
It was 2 pixels too small to hold 10 characters (head + address)
Also added ES_AUTOHSCROLL just to be extra careful in case the user has custom UX Style with a different font.
2019-05-13 00:31:54 -07:00
oddMLan 82df61d9ce [Debugger UI] Tweak Commands window size
Avoids the registers from being cut off in HIDPI
2019-05-10 10:17:42 -07:00
oddMLan 06d0e27af6 [Debugger UI] Fix TLB window in HDPI configs 2019-05-10 09:23:41 -07:00
Joe Eagar 82463fbdd8 Fixed a few bugs with the scripts system. I suspect there are more; the
threading code needs some refactoring.  List of changes:

* Script threads no longer call the debugger UI (e.g. refresh) nor do
  they call the script system's cleanup function
  (deleteStoppedInstances).
* Changed API.js Server.on method to queue calls to nativeAccept if .listen()
  hasn't been called yet (otherwise winsock gives errors).
* Added various paranoia thread locks.
* Forced termination of script threads now works.  The (commented) call
  to TerminateThread didn't work because getCurrentThread() doesn't return
  a "real" HANDLE.  The solution is to pass the result of getCurrentThread
  to DuplicateHandle to get a "real" handle.
2019-04-28 23:28:12 -07:00
Joe Eagar 83f445f050 Fixed heap overrun error 2019-04-28 00:38:35 -07:00
zilmar a3d9249fdb
Merge pull request #1613 from oddMLan/restore-oc-gamesettings
Restore Overclock modifier in Game Settings panel
2019-04-23 13:30:53 +09:30
oddMLan 61465ce2a5 [Frame Rate Counter] Shrink it a little bit
Prevents "Show CPU Usage" from cutting off in HIDPI configurations
2019-04-20 13:17:42 -07:00
oddMLan ead4d9311e [Game Settings] Restore Overclock Modifier 2019-04-20 11:57:33 -07:00
shygoo abbfb0361f [Debugger] Adjust font/size of some controls 2019-04-20 00:39:14 -05:00
oddMLan c7a6e51d62 Make Rom Browser DPI Aware 2019-04-19 17:08:24 -07:00
oddMLan b1e950be20 Move CListViewCtrlVarDPI class code into ATL 2019-04-19 16:48:53 -07:00
oddMLan de29d0c157 [Icon] Add 256x256 size
It should be XP-compatible. XP is just going to take the 48x48 and ignore this one.
2019-04-19 14:41:13 -07:00
oddMLan 05f98f8c09 Make Status Bar, About Dialog and Language Selector DPI Aware 2019-04-19 13:51:42 -07:00
oddMLan 2f9529a2cf [Cheats] Improved UI layout 2019-04-18 22:41:49 -07:00
oddMLan b9025667f8 [Debugger UI] Save window size only when the window is resizable.
Prevents some dialogs from becoming clipped at high DPI
2019-04-18 18:18:55 -07:00
oddMLan df9967b782 [Debugger] Change Commands and Registers font to Lucida Console 2019-04-18 16:29:07 -07:00
oddMLan d21e7c8684 Fix warning 2019-04-18 15:35:54 -07:00
oddMLan d83c8597b6 [Debugger] Make Debugger DPI-Aware
Thanks @Shygoo for the class code
2019-04-18 14:10:04 -07:00
oddMLan b42e61f505 Remove black border around Cheat separator button 2019-04-15 20:55:49 -07:00
oddMLan a27b3440e0 Get rid of ugly WS_EX_CLIENTEDGE 2019-04-15 20:48:33 -07:00
oddMLan 2555485eb9 [Debugger UI] Center CPU Exception Breakpoints dialog
Also fix capitalization in menu
2019-04-15 08:58:22 -07:00
oddMLan 01d4ed0bc3 Change some error message boxes to warnings 2019-04-15 08:58:22 -07:00