Commit Graph

3573 Commits

Author SHA1 Message Date
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