Commit Graph

3486 Commits

Author SHA1 Message Date
Drahsid 95468ef91a Add ctrl+n 'new tab' shortcut to memory viewer
Sometimes you just want a new tab that is not a duplicate.
2020-02-14 08:48:51 -05:00
Drahsid e049c48b2b Fix issues 2020-02-10 22:42:25 -05:00
Drahsid f3085844f5 Added type, name, value, desc editing in the symbols window
I'm not sure if this is written how it should be, but the lack of this feature had been bugging me for a bit and I would like to see it to be standard.
2020-02-10 21:36:30 -05:00
oddMLan b393d7c91c [Nrage-input] Misc cleanup 2020-02-10 03:01:14 -07:00
oddMLan c637d66d9f [Nrage-input] Update Makefile to generate version.h 2020-02-10 03:01:14 -07:00
oddMLan d5caf89dfc [Nrage-input] Create Makefile, delete Script/MinGW/nrage.cmd
- Created a Makefile to work under MSYS2; requires the w32api package installed through MSYS2's pacman.
The old script isn't needed anymore.

Thanks to DKO for the patch.
2020-02-09 04:43:37 -07:00
oddMLan 2b15003e77 [Nrage-input] Tabs -> spaces 2020-02-09 04:36:49 -07:00
oddMLan 891e43878b [Nrage-input] Code cleanup
- Defined NOMINMAX macro to disable windef.h's min/max macros; they were clashing with the C++ standard library's std::min/std::max.
- All uses of min/max that had ambiguous type deduction were explicitly instantiated as min<long> and max<long>.
- Header includes were sorted

Many thanks to DKO for the patch.
2020-02-09 04:25:05 -07:00
zilmar 088dc17556
Merge pull request #1698 from kaitengero/debugger-scripts
Additional functionality for debugger scripts
2020-01-26 09:06:31 +10:30
shygoo 277f1c4a31 [Debugger] Clean up compiler warnings 2020-01-22 00:34:27 -06:00
shygoo bbabbc7b28 [Debugger] Fix hex string search and GS code copy 2020-01-22 00:34:13 -06:00
kaitengero 13c3f44487 Add "Edit" option to script context menu 2020-01-06 21:23:59 -08:00
kaitengero 6b45241252 Refresh "Scripts" window on script state change 2020-01-06 19:50:48 -08:00
kaitengero e15e59052c Quick script toggling on double click 2020-01-06 19:46:17 -08:00
PartyPlanner64 49d9abad4f
Add more details when alerting on AddressError 2019-12-29 16:16:17 -06:00
zilmar cf39aa5ad2
Merge pull request #1686 from krimtonz/cartdom2addr2
Cartdom2addr2
2019-12-28 12:07:48 +10:30
shygoo a2427459cb [Debugger] Fix symbols memory leak 2019-12-27 12:48:55 -06:00
KrimtonZ 33d4fed24c fix physical address offset calculations 2019-12-27 09:41:21 -06:00
KrimtonZ e955cadd44 Merge branch 'cartdom2addr2' of https://github.com/krimtonz/project64 into cartdom2addr2 2019-12-27 07:34:26 -06:00
KrimtonZ 6ebad8292e Merge branch 'master' into cartdom2addr2 2019-12-27 07:34:11 -06:00
shygoo 9406544aea [Debugger] Misc cleanup and fixes 2019-12-24 18:41:20 -06:00
zilmar 6e89842072
Merge pull request #1689 from shygoo/memview-improve
[Debugger] Improve memory viewer's follow pointer and jump menu behavior
2019-12-25 06:54:13 +10:30
shygoo 582469bf1a [Debugger] Improve memory viewer's follow pointer and jump menu behavior 2019-12-24 12:53:19 -06:00
Cranky Supertoon 4292920e99 Merge branch 'discord-rpc' of https://github.com/Project64Netplay/project64 into discord-rpc 2019-12-22 18:53:00 -05:00
Cranky Supertoon 68e59320d9 imagekey with RDB Localization 2019-12-22 18:51:22 -05:00
Cranky Supertoon 9b4ffdfac8
Merge branch 'master' into discord-rpc 2019-12-22 16:27:23 -05:00
Cranky Supertoon 801aa13623 Improved some things 2019-12-22 16:23:55 -05:00
KrimtonZ 9642bebd2f Merge branch 'master' into cartdom2addr2 2019-12-18 19:52:18 -06:00
KrimtonZ dd076add39 fix miscalculated offset, implement shygoo's recommendation for open bus read 2019-12-18 19:51:47 -06:00
KrimtonZ 58d66635df emulate n64 behavior when cartridge domain 2 address 2 addresses are accessed 2019-12-17 09:32:09 -06:00
KrimtonZ 0baf3ef263 Fix Trap Interpreter Functions, add recompiler trap functions 2019-12-17 09:08:15 -06:00
KrimtonZ 4f23b39bb3 remove incorrect assumption that all of Cartridge Domain 2 Address 2 is for save data 2019-12-16 15:19:01 -06:00
KrimtonZ 0e5c771408 remove HaveDebugger requirement, remove redundant code 2019-12-16 14:59:40 -06:00
KrimtonZ b9be612ac5 add remaining trap instructions, properly implement traps for the interpreter core 2019-12-16 14:15:26 -06:00
shygoo d76d3e82c1 [Debugger] Optimize interpreter breakpoint and callback checks 2019-12-01 04:10:36 -06:00
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
oddMLan d3f69997b1 [Audio] Move SetTimerResolution() to InitiateAudio
Enforces a timer of 1.0ms without conflicting with other plugins that might reset it unknowingly
Fixes VI drop when changing settings in GLideN64
2019-11-28 17:22:35 -07:00
zilmar e71598edaf [Project64] make sure m_pDiskInfo is initialized in RomInformation 2019-11-10 07:04:24 +10:30
Tim Wanders cc353a4712 [appveyor] fix x64 packaging 2019-11-01 14:24:06 +01:00
Cranky Supertoon 3d24d7fa2c push rpc 2019-10-23 17:12:12 -04:00
zilmar 4e2c5949dd
Merge pull request #1660 from mrexodia/sipi-randomization-setting
Implement Randomize SI/PI interrupts setting
2019-10-07 09:26:29 +10:30
Duncan Ogilvie 18686e710c
Implement Randomize SI/PI interrupts setting
closes #1656
2019-10-03 11:39:46 +02:00
oddMLan 25fe58bfb9 Actually fix Zip file name
Get the correct version string from SetGitProperties.cmd
2019-10-02 23:32:16 -07:00
oddMLan ac0a9258bd Pass Platform solution parameter to UpdateVersion.cmd and package_zip.cmd
This adds the ability to package x64 builds if requested.
2019-09-29 19:20:42 -07:00
oddMLan b323e9cf2f [build] Try to find 7z.exe on PATH first
This ensures compatibility with AppVeyor without breaking the Jenkins buildbot
2019-09-29 19:20:42 -07: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 3cca0e5549 [App] Add Command Line Combo N64 + 64DD Image Loading
With --combo <Disk Image> <ROM Image>
2019-08-22 13:16:58 +02:00
zilmar c78260ce54 Fix some warnings/errors in android build 2019-08-21 18:57:50 +09:30
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 ddaff077b2 [Disk] Add more failsafe in case of invalid offsets 2019-08-14 16:32:13 +02:00
LuigiBlood 3951fbe828 [Disk] Perform Filesize check for D64 files, remove useless check 2019-08-14 16:18:31 +02:00
LuigiBlood 0587f06317 [Disk] Handle D64 RAM Save (expand RAM Area internally) 2019-08-14 00:04:20 +02:00
LuigiBlood 97be800889 [RomList] Properly Byteswap a Development Disk 2019-08-13 22:08:38 +02:00
LuigiBlood 239c8f1128 [Rom] Use Base Game Save File if loaded both a disk and cart 2019-08-13 21:34:55 +02:00
LuigiBlood c7bbd12b41 [Rom] Do not load ROM settings if a disk is loaded
It will prioritize the settings from disk if one is loaded.
2019-08-13 20:26:23 +02:00
LuigiBlood 63d0410d79 [Disk] Make sure to avoid Saving RAM file if there's no RAM Area available + fix D64 Save Area 2019-08-12 23:50:02 +02: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 0cee922767 [Disk & N64Class] Handle Combo Loading with development disks without TOOL IPL
- You don't actually need the Development IPL for that purpose as games will never actually check.
2019-08-12 14:16:16 +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 53da2eca49 [Disk] Fix Loading Disks without Disk ID 2019-08-12 13:35:30 +02:00
LuigiBlood c8947e93ea [Disk] Perform heuristics to find System Data and Disk ID for *.ndd 2019-08-12 11:40:44 +02:00
LuigiBlood 075c82a3e3 [Disk] Support D64 Master Disk Format 2019-08-11 18:13:52 +02:00
LuigiBlood ce868c57f8 [Rom] Enable 64DD hardware when using 64DD IPL standalone 2019-08-11 18:12:41 +02:00
LuigiBlood b2f0623746 [Rom] Use IsLoadedRomDDIPL 2019-08-11 13:35:49 +02:00
LuigiBlood 3bd5595e77 [Rom] Support CRC calculation for 64DD IPLs 2019-08-11 13:30:51 +02:00
LuigiBlood 053ef11c5a [Disk] Treat 64DD TOOL IPL as seperate 2019-08-11 11:45:52 +02:00
LuigiBlood db35bd6518 [Disk] Handle Sector & Sector Size in AddressBlock function (for future D64 support) 2019-08-11 11:45:05 +02:00
LuigiBlood 444a8a6d1a [Disk] Fix Disk Header Allocation 2019-08-11 11:31:39 +02:00
LuigiBlood 90d4bf0df8 [Disk] Remove MAME Format Conversion Code, support SDK format on its own
Use LBAToByte & LBAToPhys for SDK addressing
2019-08-10 21:18:17 +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 cabef36f91 [Project64] Do not load cheat enhancements if not enabled. 2019-06-26 21:46:12 +09:30
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
Kimberly J Ortega 9315c31fb2
Fix C-buttons and DPad button bindings 2019-06-08 07:19:35 -07: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
zilmar 9c68405238
Merge pull request #1622 from shygoo/nrage-improve-bginput
[N-Rage] Make background input stable
2019-05-05 17:03:00 +09:30
shygoo c8ab33eb3c [N-Rage] Make background input stable 2019-05-05 00:10:57 -05:00
Joe Eagar 9c7f58d476 Merge branch 'master' of https://github.com/project64/project64 2019-04-28 23:29:29 -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
zilmar 7a964b058e Check for recompiler in SysEvent_ResetRecompilerCode 2019-04-29 06:26:07 +09:30
Joe Eagar 83f445f050 Fixed heap overrun error 2019-04-28 00:38:35 -07:00
zilmar 352dcff301 Have cheats to record in project64.cfg 2019-04-24 15:17:09 +09:30