Commit Graph

3820 Commits

Author SHA1 Message Date
zilmar 5ed48cbb97 Project64: Make UniqueSaveDir on by default 2020-10-27 17:00:28 +10:30
zilmar 1751b2fd8b Project64: Only show support window once per hour 2020-10-27 16:41:50 +10:30
shygoo 1f6b0140c9 [Debugger] Add missing cop1 cvt ops to assembler, remove constexprs 2020-10-26 12:01:21 -05:00
zilmar f3fc84b569 Merge branch 'master' of https://github.com/project64/project64 2020-10-22 12:41:36 +10:30
zilmar 890e9b5c2c Project64: Have nag use the registry 2020-10-22 12:41:19 +10:30
zilmar 373df2a912 Project64: Provide ability for alternate identifier game settings 2020-10-22 12:37:09 +10:30
zilmar 7e503dc192 Project64: In ini handling change SectionList from vector to set 2020-10-12 16:51:23 +10:30
zilmar f5c2c33149 Project64: Add CN64Rom::IsPal 2020-10-12 15:01:28 +10:30
zilmar 0bff53e11c Project64: Update language enum 2020-10-12 14:11:19 +10:30
zilmar 6caa9ea47a Project64: Some code clean up of N64RomClass.h 2020-10-12 12:10:21 +10:30
zilmar a497e9ef38 Project64: welcome screen was not saving drive 2020-10-12 11:48:38 +10:30
zilmar 76a197f26e Project64-Input: Fix input plugin to compile as 64bit 2020-08-19 14:54:49 +09:30
zilmar 883632b4a4 Project64: Add choosing game dir on welcome screen 2020-08-04 22:28:40 +09:30
zilmar 3110a92f3f Project64: Debug build to default to recompiler 2020-08-04 09:48:32 +09:30
zilmar f4106c97ce Project64-input: Make default input plugin 2020-08-03 21:58:13 +09:30
zilmar c2e1b892a9 Project64-input: Handle multiple controllers 2020-08-03 21:49:24 +09:30
zilmar 3f5069cb59 Project64-input: axis for button press 2020-08-03 20:42:00 +09:30
zilmar 1fad798573 Project64-input: Be able to configure controller PAK 2020-07-28 21:56:45 +09:30
zilmar 6c6bdaef6a Project64-input: If setup fails clear 2020-07-28 21:24:59 +09:30
zilmar be8af060e7 Project64-input: Disable page if not plugged in 2020-07-28 17:47:42 +09:30
zilmar f0f887ce86 Project64-input: Remove duplicate mappings 2020-07-28 12:55:04 +09:30
zilmar 9d3bbe4659 Project64-input: Ignore empty button on device name 2020-07-28 12:42:59 +09:30
zilmar f218c2bfc9 Project64-input: Real N64 Range 2020-07-27 21:21:30 +09:30
zilmar 6417eaf866 Project64-input: Cancel should reset buttons 2020-07-27 17:03:35 +09:30
zilmar 878725490b Project64-input: Display device bound to 2020-07-22 13:13:42 +09:30
zilmar fc51e39738 Project64-input: fix resource.h 2020-07-21 12:43:34 +09:30
zilmar fa3196f75a Project64-input: Allow deadzone to be configurable 2020-07-21 12:41:40 +09:30
zilmar f89d027a09 Project64-input: Update the layout 2020-07-21 11:16:51 +09:30
zilmar 7fe46940b4 Project64-input: Add dependency on UpdateVersion 2020-07-20 09:57:12 +09:30
zilmar b42ccbc998 Add Project64-input to installer/zip 2020-07-15 21:36:03 +09:30
zilmar ac45d34b29
Merge pull request #1837 from project64/input-plugin
Input plugin
2020-07-15 21:20:24 +09:30
zilmar eef13e78d3 Project64-input: remove debug string 2020-07-15 21:13:53 +09:30
zilmar f7315801cb Project64-input: Set the version as 1.0 2020-07-15 21:09:32 +09:30
zilmar 22adc2e782 Project64-input: Add reset button 2020-07-15 21:08:48 +09:30
zilmar bdb670f48c Project64-input: Add scanning game pad 2020-07-15 21:02:48 +09:30
zilmar 2b049a2a53 Project64-input: Add Device notification files to project 2020-07-15 20:42:20 +09:30
zilmar f2b35fb5b4 Project64-input: Detect devices changed 2020-07-15 20:40:20 +09:30
zilmar d21c3a89f2 Project64-input: Add Setup button 2020-07-15 20:34:23 +09:30
zilmar 1be3f869d6 Project64: CSettingTypeApplication::Save: do not compare default if passing NULL 2020-07-15 20:01:55 +09:30
zilmar 931289a662
Merge pull request #1789 from LuigiBlood/ddstate
[Save State] Add Disk Interface to Save State file
2020-07-08 15:24:19 +09:30
zilmar 5d59156ee4 Project64-input: Add selecting of device 2020-07-07 11:59:49 +09:30
zilmar 64a3e69cce Project64-input: Get axis on GetKeys 2020-07-07 11:56:40 +09:30
zilmar 7bbba05024 Project64-input: Find the first plugin plugged in 2020-07-07 11:53:32 +09:30
zilmar f1d8910e5f Project64-input: Add controller present 2020-07-07 11:50:36 +09:30
zilmar 8df9403bce Project64-input: Add saving/loading of range 2020-07-07 11:46:08 +09:30
zilmar 00556d4524 Project64-input: Flip x/y axis in structure 2020-07-07 11:36:10 +09:30
zilmar 09de7617bf Project64-input: Start to implement GetKeys 2020-07-01 13:17:36 +09:30
zilmar ba2ea24274 Project64-input: Be able to load/save controller 2020-07-01 13:07:55 +09:30
zilmar acd835cfc4 Project64-input: Add more buttons to be scanned 2020-07-01 11:42:13 +09:30
zilmar 31afb1cf6e Project64-input: Add Analog buttons to n64 controller 2020-07-01 10:31:41 +09:30
zilmar 1a19934916 Project64-input: Add device to button 2020-07-01 10:24:29 +09:30
zilmar f78e292796 Input plugin: Start to scan keyboard 2020-06-23 17:17:46 +09:30
LuigiBlood 4205f989a4 [Save State] Compare 64DD save state header more proper 2020-06-19 21:37:08 +02:00
shygoo e1b2fee7af [Debugger] Use better charset for memory viewer's text 2020-06-18 22:46:17 -05:00
zilmar 9dac9eff31
Merge pull request #1819 from LuigiBlood/dderror
[Disk] Error when reading invalid blocks + fix LBAToByte
2020-06-19 11:56:47 +09:30
shygoo 564e1bb938 [Debugger] Fix string search 2020-06-18 21:03:21 -05:00
m000z0rz 0e9f6f183b Allow undefined (optional) callbacks for Socket.connect and Socket.write 2020-06-17 18:41:49 -05:00
LuigiBlood efe848f9a5 [Disk] Error when reading invalid blocks + fix LBAToByte 2020-06-17 23:11:08 +02:00
zilmar be939dca65 Project64-input: Add base config UI 2020-06-17 16:53:10 +09:30
zilmar 51b78c117e Plugin-input: Add version resource 2020-06-16 17:10:03 +09:30
zilmar ec6e7620d9 Project64-input: Add basic project 2020-06-16 16:11:01 +09:30
pcca-matrix 529dc52ae1 Merge remote-tracking branch 'upstream/master' 2020-06-14 11:20:16 +02:00
pcca-matrix da734b552a Fix savestate and rumble
* When you switch from mempak to rumble , rumble pack is never initialized.

* Rumble stops working after loading a savestate.

* No shortcut working when you have 4 xinput controller plugged.

There is a performance hit when you check for a controller that wasn't attached last time you called it.
This fix minimizes a performance issue with XInput on Windows when checking for a disconnected controller.

If you get ERROR_DEVICE_NOT_CONNECTED from XInputGetState, you shouldn't call that slot for a little while.
2020-06-14 11:19:49 +02:00
shygoo f82ee04173 Fix pasting for EditNumber32 textboxes 2020-06-14 03:04:41 -05:00
LuigiBlood 9f3bab30b9 [Save State] Include both g_Rom and g_Disk Header/ID information in the save state to differenciate different combos 2020-06-12 16:31:11 +02:00
LuigiBlood 8bb117e4de [Save State] Recover Disk Seek Address when loading from Zip 2020-06-10 15:30:06 +02:00
LuigiBlood c5c6167f05 [Save State] Recover Disk Seek Address for more stability 2020-06-10 13:58:03 +02:00
LuigiBlood e805c709b3 [Save State] Put Disk Interface info in Extra Info + cleanups
It should also be backward compatible.
2020-06-10 13:34:55 +02:00
zilmar 5087ae6ecd NRage: Fix up some some unicode issues 2020-06-10 11:18:41 +09:30
zilmar 5e78937c16 Fix up removal of version information from UIResources.rc 2020-06-10 08:21:29 +09:30
LuigiBlood b2ed47c44f [Save State] Make sure g_Disk exists 2020-06-09 22:52:42 +02:00
LuigiBlood 34ec690acc [Save State] Use Disk ID to recognize the currently loaded Disk game 2020-06-09 22:45:34 +02:00
LuigiBlood 9dc121ffbb [Save State] Add Disk Registers to Save State file 2020-06-09 22:22:25 +02:00
zilmar 366c0c69ae Force CharacterSet to be Unicode in the Property Sheets 2020-06-09 22:34:38 +09:30
zilmar 9217b0cf4d Remove Cheats from ini about 2020-06-09 20:04:24 +09:30
zilmar 1b00f9a8f6 Add ability to translate cheats to new format 2020-06-09 19:27:52 +09:30
zilmar 56ccef8ee0 Join Settings: escape ":" with splitting file 2020-06-08 16:52:41 +09:30
zilmar b9dac46bdc Merge branch 'master' of https://github.com/project64/project64 2020-06-06 10:34:47 +09:30
zilmar ae0410487c Fix up short cut name with multiple selectors 2020-06-06 10:34:27 +09:30
zilmar f3747c2802
Merge pull request #1783 from LuigiBlood/ddtiming
[Disk] Introduce Seek Times
2020-06-06 09:09:28 +09:30
LuigiBlood 737383b695 [Disk] Simplify Seek Timing calculation at expense of accuracy 2020-06-06 00:28:02 +02:00
LuigiBlood cc2c4e8786 [Disk] Timing changes for Motor 2020-06-05 17:25:01 +02:00
LuigiBlood 2ad2b969f0 [Disk] Emulate Motor Status & 3779 mSEC disk seek speeds 2020-06-05 16:48:19 +02:00
LuigiBlood b428c14a27 [Disk] Put Mecha Interrupt management in DiskCommand(), delay seek times 2020-06-05 14:36:49 +02:00
zilmar 9a712bd038 Convert cheats back to standard GS version 2020-06-02 18:05:57 +09:30
zilmar d48b79379d Update cheat names based off rdb 2020-06-02 08:19:07 +09:30
zilmar 98db6bd93c Fix up unicoding of menu shortcuts 2020-05-27 10:00:09 +09:30
zilmar dbf63a7647 Fix compile issue in CheatClassUI for release 2020-05-25 20:43:14 +09:30
zilmar 8dc26cc3eb Fix end emulation when paused 2020-05-25 20:25:15 +09:30
zilmar f4e5ae8efa Allow cheat window to be open while game is running 2020-05-25 20:08:31 +09:30
zilmar c764d79e74
Merge pull request #1760 from m000z0rz/fix-js-api-callback-gc
Add a strong backing reference cache, single use callback helper func…
2020-05-22 12:50:54 +09:30
m000z0rz 4d546ee36b Add a strong backing reference cache, single use callback helper function, and use it on all non-hook callbacks passed to native code 2020-05-21 21:09:37 -05:00
zilmar 8fbdf8f02a Update cheat adds 2020-05-22 11:27:16 +09:30
m000z0rz 9b9ab2af75 Fix script hanging when you stop a script with open listeners 2020-05-20 12:39:30 -05:00
m000z0rz 82716b247b Prevent stack overflow by popping the pcall return value / error 2020-05-20 12:10:42 -05:00
zilmar e44af28b8e
Merge pull request #1754 from shygoo/fix-installer-apidoc
[Debugger] Fix apidoc's install directory
2020-05-20 06:29:09 +09:30
zilmar dd80e7cad1
Merge pull request #1753 from shygoo/fix-dmalogsig
[Debugger] Fix DMA log signature byte order
2020-05-20 06:28:50 +09:30
shygoo d0caf49363 [Debugger] Fix apidoc's install directory 2020-05-19 12:15:08 -05:00
shygoo 7b005f709f [Debugger] Fix DMA log signature byte order 2020-05-19 11:51:27 -05:00
shygoo 94af698aa6 [Debugger] Fix COpInfo::IsLoadCommand false positives 2020-05-19 11:40:53 -05:00
zilmar f6434d1870 Merge branch 'master' of https://github.com/project64/project64 2020-05-19 11:56:34 +09:30
zilmar 71160d08c0 Make cheat UI to be wtl based 2020-05-19 11:55:57 +09:30
oddMLan 2be276a7bc Tabs -> spaces 2020-05-16 06:43:04 -07:00
oddMLan 4020735b26 Add "Note: 8 MB is forced for Unknown ROMs" to Defaults tab
Closes #1747
2020-05-16 06:37:35 -07:00
zilmar 48abaff90f Get cheats ui to use wstring for EM_GETLINE 2020-05-16 07:44:22 +09:30
zilmar 0462f637c4 Add UNICODE to Project64 project 2020-05-12 21:49:05 +09:30
zilmar 0429c207e6 Show timeout in support window 2020-05-11 16:42:58 +09:30
bryc 94cdc8dc0f More accurate MPK initialization 2020-05-09 03:00:06 -04:00
zilmar b2652cadae Re add cheats in to Installer 2020-05-06 06:01:42 +09:30
zilmar 55c6980a84
Merge pull request #1737 from Drahsid/master
Fixed incorrect display of vector values in symbols window
2020-05-06 05:05:25 +09:30
Drahsid 1fb7598e03 Fixed incorrect display of vector values in symbols window 2020-05-05 09:39:43 -04:00
oddMLan ad9d3fc244 Discord-rpc: Code cleanup
This is inspired by the Dolphin-emu approach

The internal name is not as informative so now it'll try to use GoodName first then FileName (same as RomBrowser)
Checked and it also works good with zip/7z files
2020-05-05 03:05:36 -07:00
oddMLan 059ae511b8 Add Protect Memory option to Defaults panel
Fixes #1733
2020-05-04 19:47:34 -07:00
Drahsid 43cbeb3517 Added Vector2, Vector3, and Vector4 to the symbols window and memory viewer. 2020-05-02 06:25:28 -04:00
zilmar 1bf44b9e53 temporarily remove cheat from installer 2020-04-30 10:36:05 +09:30
zilmar a37e3f2c3e Add discord dependency 2020-04-30 10:29:31 +09:30
zilmar 368a280da4 Update missing </ClCompile> in Project64/Project64.vcxproj.filters 2020-04-30 10:06:52 +09:30
zilmar b9cf06bdaa Some basic clean up of discord-rpc.vcxproj 2020-04-29 06:33:29 +09:30
zilmar 507bd783b5 Change out client id for discord 2020-04-29 06:15:54 +09:30
zilmar b9363cb0e7
Merge pull request #1665 from Project64Netplay/discord-rpc
Discord RPC
2020-04-29 05:48:10 +09:30
zilmar 61b19cae37
Merge pull request #1718 from Summate/copy-regs
Adding buttons to copy registers in the commands window
2020-04-28 19:54:40 +09:30
zilmar 65ce3f8a05 Add GlideN64 ini files 2020-04-26 14:36:13 +09:30
zilmar e3ce2e915b Add gliden64 to package_zip 2020-04-26 11:41:54 +09:30
zilmar 2e0882a06d Add script to try and copy GlideN64 from build bot 2020-04-26 10:56:37 +09:30
zilmar cb0472fc90 Common: Update delete section in IniFileClass 2020-04-13 12:24:21 +09:30
Summate af0b0e18ea Adding label IDs to correspond to debugger register edit IDs
Abstracting pairing edit IDs with label IDs
Extracting definition of register tab data to a separate file
Adding a facility to get the text of a CWindow, there didn't seem to be a straightforward mechanism to do this Adding functionality to clipboard the current tab's registers or registers from all tabs
Fixing FCSR to have the same styling as all of the other register edit fields
2020-04-09 01:17:19 -05:00
Summate fef045baed Cleaning up unclear booleans with a clearer enum class 2020-04-08 07:00:17 -05:00
zilmar 37358298e3 Project64: move Debugger_ShowUnhandledMemory into DebugSettings 2020-04-01 10:24:10 +10:30
zilmar fdc1a51f28 Project64: Some clean up of the N64RomClass 2020-03-18 13:41:40 +10:30
zilmar 185c6586b4 Project64: Add TLB_WRITE_EXCEPTION 2020-03-04 10:33:18 +10:30
zilmar 28c9118912
Merge pull request #1708 from shygoo/dbg-fix-cmd-syms
[Debugger] Fix symbol display in commands window
2020-02-24 09:59:01 +10:30
shygoo 65b2ecb3bd [Debugger] Fix symbol display in commands window 2020-02-23 11:28:25 -06:00
zilmar f2462cbc18
Merge pull request #1705 from Drahsid/master
Added type, name, value, desc editing in the symbols window; 'new tab' shortcut to memory viewer
2020-02-20 12:30:26 +10:30
shygoo e375cde458 [Debugger] Add warning for recompiler 2020-02-18 14:04:18 -06:00
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
zilmar bf269454dd Automatically combine cheat files on build 2019-04-23 14:46:36 +09:30
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
zilmar ffc24d4e7d Fix up DisplayMessage for android 2019-04-23 07:01:10 +09:30
oddMLan cfbc2ee75e [Status Bar] Tweak duration of some messages
Makes debugging with CPU profiling much more pleasant
2019-04-20 13:35:05 -07:00
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
zilmar cad17b23a0
Merge pull request #1614 from shygoo/nrage-bginput
[N-Rage] Add background input option
2019-04-20 16:27:39 +09:30
shygoo abbfb0361f [Debugger] Adjust font/size of some controls 2019-04-20 00:39:14 -05:00
shygoo 1b53acad89 [N-Rage] Add background input option 2019-04-19 23:44:04 -05:00
zilmar 34aeb0ab8f
Merge pull request #1607 from oddMLan/ux-improvements
Minor UI improvements
2019-04-20 10:07:30 +09:30
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
zilmar 57a0ddcef4 Add project to join multiple cheats together 2019-04-18 16:57:20 +09:30
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 b377f48440 Use Per monitor scaling where supported
Fixes blurriness in higher DPI systems
2019-04-15 10:33:54 -07:00
oddMLan 564ac883a4 Revert "Delete Project64.exe.manifest"
This reverts commit 3a7de99930.
2019-04-15 09:35:46 -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
zilmar ff8d6f2462 try to update build.cmd 2019-04-15 08:02:24 +09:30
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
Francois Berder da37c46cbc Project64-core: Fix undefined behavior in CPifRam::LogControllerPakData
Signed-off-by: Francois Berder <fberder@outlook.fr>
2019-03-27 09:40:37 +00:00
Francois Berder f2e6199fcb RSP: Fix undefined behavior in RDP_LogDlist
When calling sprintf, source and destination must not overlap
otherwise it is undefined behavior as specified by
C99 standard, 7.19.6.6.

Signed-off-by: Francois Berder <fberder@outlook.fr>
2019-03-27 09:38:44 +00:00
zilmar eb2b1f0a2c [Android] Add review menu 2019-02-20 11:48:28 +10:30
zilmar f6d4290992 [Android] Missed some patreon settings 2019-02-13 15:52:21 +10:30
zilmar 19328cc7ef [Adnroid] Remove all mentions of patreon 2019-02-13 15:39:47 +10:30
zilmar 9902b542c3 [Android] Turn ABL off by default in android 2019-02-13 15:12:35 +10:30
zilmar be2ee76e79 Start to add in support menu item 2019-02-13 15:11:35 +10:30
zilmar 92d22a014b [Android] Change forum menu link to discord 2019-02-13 11:55:58 +10:30
zilmar 03700db740 [Project64] Add checks around g_Debugger->FrameDrawn 2019-02-10 09:14:51 +10:30
zilmar cfc510880c [Android] Put android settings under settings 2019-02-09 06:31:17 +10:30
zilmar aca70f317c [Project64] Fix CPath::IsRelative for non WIN32 2019-02-09 05:02:02 +10:30
zilmar 23f040c0dd
Merge pull request #1585 from Frank-74/master
[Project64-Audio] Remove FAT from audio plugin.
2019-02-03 05:51:24 +10:30
zilmar eaab627f64 [Project64] change memcpy_s to memcpy 2019-01-31 18:41:24 +10:30
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
Frank-74 a5e6f55a47 [Project64-Audio] Remove FAT from audio plugin.
Fixes main.cpp error.
2019-01-27 21:59:42 +00:00
LuigiBlood 29a97e6c8b Handle m_RomName for disks that don't have any disk ID (use CRC instead) and also forge disk header differently for plugins. 2019-01-27 22:03:52 +01:00
LuigiBlood b8c47d0087 Alternate calculation of "CRC" for disks that don't have IDs 2019-01-27 21:21:25 +01:00
zilmar e286d90dab
Merge pull request #1576 from LuigiBlood/64dd_load
64DD support overhaul
2019-01-28 06:01:48 +10:30
Frank-74 cbb973a824
Move Fixed Audio setting back to Project64.rdb 2019-01-27 19:14:27 +00:00
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 0a347f59f1 DD IPL ROM check in CN64Rom instead 2019-01-27 13:06:36 +01:00
LuigiBlood 3e52ff7b48 Manage 64DD IPL loading errors 2019-01-27 12:52:22 +01:00
zilmar c85054f0c0
Merge pull request #1577 from shygoo/input-require-focus
[N-Rage] Ignore input if main window isn't focused
2019-01-27 16:27:21 +10:30
LuigiBlood 0233d848c2 Forge 64DD Disk Header for plugins
(For some reason, no idea how common that gets, but CMainGui::ProcessAllMessages can crash the entire emulator with some kind of access violation error...)
2019-01-26 16:58:41 +01:00
LuigiBlood f312476b8b Handle Disk "Header" for Plugins (not forged, may be unreliable) 2019-01-26 14:31:24 +01:00
LuigiBlood 48ce8fbee7 Enable Disk based on what is loaded instead (fix Combo loading) 2019-01-26 09:40:58 +01:00
LuigiBlood b1a2fcfddd Fix Memory leak when switching back and forth from 64DD to N64 2019-01-25 23:12:01 +01:00
LuigiBlood c0b3246a2e Set up EnableDisk when anything 64DD is being loaded 2019-01-25 23:11:33 +01:00
LuigiBlood f300fd9cb5 Uninitialize g_Disk and g_DDRom to prevent exception when ending emulation of a regular ROM after playing 64DD content previously. 2019-01-25 22:53:50 +01:00
LuigiBlood 40841f0d71 Handle Loading in Progress properly (fix Main Menu refresh) 2019-01-25 22:39:05 +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
shygoo c51232bc37 [N-Rage] Ignore input if main window isn't focused 2019-01-24 13:50:22 -06:00
zilmar 1789dccda2
Merge pull request #1574 from LuigiBlood/cause_reg_pull
COP0 Cause register access for Scripts
2019-01-25 06:16:51 +10:30