Commit Graph

390 Commits

Author SHA1 Message Date
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
shygoo 346d21cd56 [Debugger] Improve the search tool 2019-04-03 13:56:45 -05:00
shygoo 22b4a3e94f [Debugger] Make DMA log stable 2019-04-02 14:16:39 -05:00
shygoo 27bc76d089 [Debugger] Make DMA log stable 2019-04-02 13:28:46 -05:00
zilmar eef2ed27aa
Merge pull request #1586 from shygoo/debugger-cleanup
[Debugger] Clean up compiler warnings
2019-01-28 17:53:24 +10:30
shygoo 03ba3640b5 [Debugger] Clean up compiler warnings 2019-01-27 16:40:23 -06:00
zilmar e286d90dab
Merge pull request #1576 from LuigiBlood/64dd_load
64DD support overhaul
2019-01-28 06:01:48 +10:30
LuigiBlood 0870ecbc0d Handle case where IPL ROM is not found (or not yet set up) to display an error message 2019-01-27 13:17:31 +01:00
LuigiBlood 047f611c81 Replace tabs with spaces 2019-01-25 21:32:26 +01:00
LuigiBlood 95e31542cf Refactor 64DD game loading (supports custom settings and RDB)
(Nothing done for plugins yet)
2019-01-25 20:20:59 +01:00
LuigiBlood cd80e4f0a4 Handle 64DD loading from ROM Browser, Recent Games, RomInfo
Partially handles settings (loads from RDB and CFG, but unused as emulation starts)
2019-01-25 08:11:40 +01:00
LuigiBlood c714584fac Cause register access for scripts 2019-01-24 19:48:26 +01:00
shygoo 62baab2877 [Debugger] JS: Make debug.breakhere stable 2019-01-20 17:38:34 -06:00
shygoo 7a1dd3835b [Debugger] Add GPR read/write breakpoints 2019-01-20 02:52:49 -06:00
zilmar 9a80a4970a
Merge pull request #1564 from shygoo2/cpu-log-improvements
[Debugger] CPU Log: More UI behavior improvements
2019-01-20 09:53:52 +10:30
zilmar e974576c00 Merge branch 'master' of https://github.com/project64/project64
# Conflicts:
#	Source/Project64/UserInterface/UIResources.rc
#	Source/Project64/UserInterface/resource.h
2019-01-20 09:02:18 +10:30
zilmar ce03386007 [Project64] Add gamesharks to enhancements 2019-01-20 08:51:38 +10:30
shygoo 98e933be1b [Debugger] CPU Log: More UI behavior improvements 2019-01-19 14:14:26 -06:00
zilmar 557892e47e
Merge pull request #1556 from shygoo2/cmds-fix-addr-textbox
[Debugger] Commands: Update address textbox when address is changed
2019-01-18 15:29:30 +10:30
zilmar afa4619bc0 [Project64] Add enhancements right click edit 2019-01-18 12:30:19 +10:30
shygoo 6b34e8f77c [Debugger] Add CPU exception breakpoint window 2019-01-17 03:34:24 -06:00
shygoo 26151f1d9e [Debugger] Commands: Update address textbox when address is changed 2019-01-16 14:06:33 -06:00
oddMLan 46ddb42017 [Debugger] Fix DList/Alist and Recompiler Code Buffer Size status bar clear
Before they wouldn't clear the status bar message properly when toggling them off
2019-01-15 01:58:24 -07:00
shygoo 42613f96e1 [Debugger] CPU Log: fix mousewheel scrolling 2019-01-14 23:19:28 -06:00
shygoo 12b97b83d8 [Debugger] CPU Log: fix wrong indeces after scrolling 2019-01-14 05:11:15 -06:00
shygoo 4d322191c2 [Debugger] Add CPU Log, break and show log/commands window on CPU errors 2019-01-14 03:18:43 -06:00
oddMLan 2b96fdaa94 [Debugger] Clean and refactor Window position retrieving & saving code
Many thanks to Shygoo for the general template of the code
2019-01-14 00:08:00 -07:00
oddMLan 786a519433 [Debugger] Stack Trace: Remember window position 2019-01-13 23:02:05 -07:00
oddMLan c949b8e107 [Debugger] Stack View: Remember window position 2019-01-13 22:59:24 -07:00
oddMLan d60558dacb [Debugger] Symbols: Remember window position 2019-01-13 22:55:19 -07:00
oddMLan fc6ef16cb3 [Debugger] Scripts: Remember window position 2019-01-13 22:52:11 -07:00
oddMLan ad7df17b96 [Debugger] DMALog: Remember window position 2019-01-13 22:43:14 -07:00
oddMLan cd0d067982 [Debugger] Fix DMA Window load position 2019-01-13 22:37:51 -07:00
oddMLan a1726ba51f [Debugger] Commands: Save position OnExitSizeMove 2019-01-13 22:29:11 -07:00
oddMLan 7ed3c9b0ba Fix compilation 2019-01-13 22:19:53 -07:00
zilmar 82ff21f255 Clean up some of the debugger code 2019-01-14 14:33:02 +10:30
zilmar 31c2c16f52
Merge pull request #1547 from oddMLan/debugger-ux-improvements
Debugger ux improvements
2019-01-14 08:11:20 +11:00
oddMLan 12351337d1 [Debugger] UI: Get window position and size from cfg 2019-01-13 01:13:59 -07:00
oddMLan f1927648ac [Debugger] DebugDialog.h: Implement functions to manipulate window position and size 2019-01-13 01:12:00 -07:00
zilmar 05ae250a01 [Project] Fix up showing/hiding advanced tab 2019-01-13 09:21:10 +11:00
zilmar f8e49ae37d Merge branch 'master' of https://github.com/project64/project64 2019-01-12 09:50:51 +11:00
zilmar ed079e4b16 [Project64] Start to add code for enhancements 2019-01-12 09:50:25 +11:00
oddMLan 798e19b2a6 [Debugger] ShowWindow(): Restore window if minimized 2019-01-10 21:05:21 -07:00
shygoo 7ef9b19dc9 [Debugger] Improve OpInfo::ReadsGPR/WritesGPR 2019-01-05 19:55:26 -06:00
shygoo 707e4a5fdd [Debugger] Add step-over button to dlg resize map and fix tooltip (fix #1541) 2019-01-03 15:21:03 -06:00
oddMLan dfc6d46e4a Add Unaligned DMA options to Defaults and Game Settings
This allows some romhacks to run
2018-12-29 00:42:44 -07:00
oddMLan 578aa012d1 [Rom Browser] Add Show File extensions option and disable it by default 2018-12-28 20:57:01 -07:00
oddMLan 12c2bd54fc [Rom Browser] Show Filename instead of Internal Name when there is no Good Name 2018-12-28 04:26:23 -07:00
shygoo f669447039 Merge https://github.com/project64/project64 into wine-fix-settings 2018-12-28 00:33:43 -06:00
shygoo 943f2d109b Hack to get settings window working in wine 2018-12-28 00:32:56 -06:00
shygoo 75cc059501 [Debugger] Fix issue with the address field ignoring first input 2018-12-27 16:08:14 -06:00
shygoo 2408fa0f08 [Debugger] Fix opcode editor in the commands window 2018-12-27 15:57:18 -06:00
zilmar 9ab7a83c26 [Project64] Remove FR_None option 2018-12-20 16:08:26 +10:30
shygoo d3aadf75cc [Debugger] Make AddressRange inclusive in the JS API 2018-12-09 18:44:30 -06:00
shygoo 1b34937307 [Debugger] Add events.ongprvalue to JS API 2018-12-09 15:24:11 -06:00
oddMLan 57ef4bf026 [Rom Browser] Supplant "Good Name" with "Name" column
"Good Name" can still be added under Settings > ROM Selection
2018-12-09 03:27:53 -07:00
oddMLan 28bd4ab983 [Rom Browser] Add "Name" column
Do not renumber items in the language file
2018-12-09 03:27:53 -07:00
shygoo d7ad7be6cb [Debugger] Improve address checks (fix #1515) 2018-12-08 22:26:11 -06:00
zilmar be73dcd459
Merge pull request #1511 from shygoo2/onexecopcode
[Debugger] Add events.onopcode to JS API
2018-12-09 05:01:10 +10:30
shygoo 9c2c716355 Merge https://github.com/project64/project64 into memview-autorefresh-option 2018-12-08 06:47:00 -06:00
shygoo a2808d94ce [Debugger] Make auto-refresh optional in memory viewer 2018-12-08 06:45:52 -06:00
zilmar 88386600ed [Audio] Have sync audio only if plugin enables it 2018-12-08 21:23:06 +10:30
shygoo 98c6b5f336 whitespace 2018-12-06 23:56:46 -06:00
shygoo 4b87f25f5f Merge https://github.com/project64/project64 into onexecopcode 2018-12-06 23:52:29 -06:00
shygoo d7e02760b8 update api doc 2018-12-06 23:47:56 -06:00
shygoo 91ec99bd52 rename 2018-12-06 22:19:28 -06:00
shygoo 9f4323c06b add events.onexecvalue 2018-12-06 22:10:55 -06:00
zilmar 6a8405f7ed [Project64]Add option to not show VI/s and make it default 2018-12-02 16:00:56 +10:30
zilmar 75b78e02a7 [Project64] Renumber IDC_ROM_FIXEDAUDIO 2018-11-26 11:25:26 +10:30
zilmar d531abc885 [Project64] Add ability to change defaults 2018-11-25 20:14:15 +10:30
zilmar b93736414f [Project64] Normalize paths 2018-11-19 21:16:58 +10:30
zilmar 3b0e7a8527 [Project64] Clean up some code and warnings in Common code 2018-11-18 11:36:02 +10:30
zilmar 9cb3ed48e2 Try to make debugger more stable 2018-07-30 23:45:23 +10:00
zilmar d2e67dc1d9 [Projecy64] Pause emulation during changing breakpoints 2018-04-14 22:23:28 +10:00
zilmar f48995a1e1 [Project64] CDebuggerUI::CPUStepStarted should not be testing read memory Breakpoints 2018-04-14 11:49:06 +10:00
zilmar 1a6c579d3e
Merge pull request #1438 from pj64d-merge/memlocks
[Debugger] Add memory locks feature (interpreter)
2018-04-04 06:16:12 +10:00
zilmar d9aedd84eb [Debugger] When changing memory in viewer, clear memory based of physical address 2018-04-04 03:28:46 +10:00
zilmar 7e4c9a8b84 Rename and move Settings files 2018-04-03 04:30:50 +10:00
zilmar 403f003372 [Project64] Make sure index for settings are uint32_t 2018-03-28 19:28:02 +11:00
zilmar 4967242a11 [Common] Get ini handling to use std::string instead of stdstr 2018-03-27 06:39:34 +11:00
shygoo 77daf1bad4 [Debugger] Add memory locks feature (interpreter) 2018-03-17 20:14:52 -05:00
zilmar c506db57f3 Merge branch 'master' of https://github.com/project64/project64 2018-03-02 22:05:46 +11:00
zilmar cfbd181ff9 [Debugger] Do not update register if have not finished attaching 2018-03-02 17:34:27 +11:00
zilmar be9b0e6bc5 [Debugger] Some clean up of Debugger-RegisterTabs.h header 2018-03-01 18:12:16 +11:00
shygoo b682fc4c89 [Debugger] Refresh commands window on click
WA_ACTIVE and WA_CLICKACTIVE
2018-02-19 12:16:56 -06:00
zilmar 29dcf75b49 [Debugger] Flush recompiler code on memory viewer changes 2018-02-19 18:17:35 +11:00
shygoo d409dbc86e [Debugger] Add file system interface to the JS API 2018-02-18 15:37:03 -06:00
zilmar f28823ec50 [Debugger] Fix CBreakpoints::WriteBPExists32 2018-02-13 17:37:27 +11:00
zilmar 91999a1eba [Debugger] add missing code 2018-02-06 07:25:53 +11:00
zilmar 2fdf8e5a09 Merge branch 'master' of https://github.com/project64/project64 2018-02-06 07:05:11 +11:00
zilmar d7708b6952 [Debugger] Refresh breakpoints display on activate 2018-02-06 07:04:20 +11:00
zilmar 94c7a51b48 [Debugger] Fix a few breakpoint issues 2018-02-05 18:11:39 +11:00
zilmar 622d5d5d3f [Debugger] Fix Read break points 2018-02-05 17:43:46 +11:00
zilmar 076280b9ba [Debugger] Add unaligned write breakpoints 2018-02-02 04:28:08 +11:00
shygoo 4bd9611986 [Debugger] Add step over button to commands window 2018-01-25 00:07:51 -06:00
zilmar deada521bb [Debugger] Remove temporary out of read/write Breakpoints 2018-01-24 21:51:04 +11:00
shygoo 86d309afc8 [Debugger] Support all commands in code editor 2018-01-21 03:36:20 -06:00
zilmar 95358b1ac1 [Debugger] Have memory viewer to be able to write to rom 2018-01-21 12:51:36 +11:00
zilmar 0ffb6bb159 [Proeject64] Add execution break point in recompiler 2018-01-21 10:18:52 +11:00
zilmar f445483f9c [Debugger] Show commands on stepping 2018-01-18 23:25:36 +11:00
zilmar 73944b2636 [Debugger] clean up warnings and code 2018-01-18 17:53:07 +11:00
zilmar 3d7e9b40b0 [Debugger] Make skip a setting 2018-01-17 22:36:28 +11:00
zilmar 8a85f1e6a4 [Debugger] Make waiting for step a setting 2018-01-17 08:26:54 +11:00
zilmar 7d9d54aaa8 [Debugger] re-add some code accidentally commented out 2018-01-16 08:28:54 +11:00
zilmar 7e1e7bf39b [Debugger] Change bHaveDebugger to HaveDebugger 2018-01-16 08:23:21 +11:00