Commit Graph

1473 Commits

Author SHA1 Message Date
Derek "Turtle" Roe 39e3253d57 Update MenuClass.h
Add a space and add capitalization
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe 432e91b697 Update MenuClass.cpp
Add newline
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe a1b5cdd58c Update MainWindow.h
Add spacing, add capitalization where appropriate
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe c6b914aee2 Update LoggingUI.cpp
Add newline
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe e65b5533cd Update EnhancementUI.cpp
Add newline
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe 04d23cf107 Update DiscordRPC.h
Add newline
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe 7f1e4e6aa1 Update CheatClassUI.h
Add newline
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe 84ecfb0c01 Update CheatClassUI.cpp
Adjust spacing, fix title case, and capitalize some comments
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe a8bcc414f9 Update API.js
Remove some spaces, fix title case, and update capitalization
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe 55d5ba7bc8 Update About.h
Add newline
2021-03-17 20:45:24 -05:00
Derek "Turtle" Roe df871637ee Update About.cpp
Add a hyphen in high-definition, lower case the t in thanks, and add a newline
2021-03-17 20:45:24 -05:00
zilmar 1249e1f9f0 Add ability to remove the status bar 2021-03-18 11:02:37 +10:30
Derek "Turtle" Roe 0a7f421c0c Add final new lines to 2 files and beautify 2 files in the settings directory 2021-03-10 03:37:35 -06:00
zilmar 93b35cdf28 Add Overclock to enhancment 2021-03-10 18:09:01 +10:30
zilmar 0f605a06d3 Remove Notes from being displayed by default 2021-03-08 18:24:49 +10:30
zilmar a29cdd75dd
Merge pull request #1999 from vgturtle127/master
Code and comment beautification (starting with main.cpp)
2021-03-06 10:58:06 +10:30
zilmar 5cf6a7729f
Merge pull request #2000 from flagrama/fix-settings-close-x
Settings: Fix titlebar Close button
2021-03-06 10:57:47 +10:30
zilmar b35d59408a Add diable gameshark code 2021-03-06 10:56:24 +10:30
zilmar bc81e041f8 Have Cheat UI validate via CEnhancement 2021-03-04 14:29:31 +10:30
Vincent Cunningham 971f19745b Settings: Fix titlebar Close button
IDCANCEL is still sent by the native Close button in the titlebar and
should still be handled.
2021-03-03 11:32:20 -05:00
Derek "Turtle" Roe 65fb1e472b Update main.cpp 2021-03-03 01:22:41 -06:00
Derek "Turtle" Roe 796a2ade62 Comment cleanup of main.cpp
Eliminate title case in some instances, improve some wording, and add a space after the single line comment block to improve readability
2021-03-03 01:12:05 -06:00
Vincent Cunningham 8ece98efc4 Fix WelcomeScreen setting Default_GFX_Plugin
Settings.cpp - Was missing a value for the new SettingID while running a
Debug build causing breakpoint to be handled when clicking OK. A new
handler with a default value has been added.

WelcomeScreen.cpp - Would set the Default_GFX_Plugin value and the value
would be used when launching a game or viewing the Plugins menu in
Options and set the Current_GFX_Plugin, but if a user were to try to
configure their Graphics Plugin prior to launching a game, they would
always open the Project64 Video config screen, even if they had chosen
GLideN64 as the default plugin. The Current_GFX_Plugin is now set with
the value of the Default_GFX_Plugin to ensure the correct configuration
dialog is opened.

WelcomeScreen.cpp - String value would always load the non-debug version
of Project64 Video after the above changes. The string to use is now
loaded from the Default_GFX_Plugin so if the default has never been set
the proper default value should now be used. If it has been set before
and is not a Project64 Video plugin, the value will be set to Project64
Video (non-debug) to keep the dialog accurate.
2021-03-02 17:32:05 -05:00
zilmar 605dbafd15 Resume after closing enhancement window 2021-03-02 17:15:24 +10:30
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
zilmar 91afa79c6c
Merge pull request #1994 from vgturtle127/master
Update N64System.h copyright header and comments
2021-03-01 20:12:51 +10:30
zilmar b8206c5043
Merge pull request #1995 from flagrama/linux-fixes
Linux fixes
2021-03-01 20:10:49 +10:30
zilmar 88144f53c9 Prompt for jabo or glide plugin 2021-03-01 20:08:29 +10:30
Derek "Turtle" Roe 0e0c28c493 Update N64System.h 2021-02-28 22:05:04 -06:00
Vincent Cunningham dcb360cf41
Replace \ with / in include directives 2021-02-28 17:38:56 -05:00
Derek "Turtle" Roe f36fdb6098 Update N64System.h comments
Fix title case and make MIPS an acronym. Add spaces before comments to increase readability on certain themes and editors.
2021-02-28 04:40:18 -06:00
Derek "Turtle" Roe 03dce5f74e Update copyright header for N64System.h
Switched from block comments to single line comments, updated copyright year, reduced verbosity of license lines, and switched to HTTPS for license link.
2021-02-28 04:28:15 -06:00
zilmar 9262e37c47 Make sure file is reloaded on opening cheat config 2021-02-24 21:25:35 +10:30
zilmar 998ff9ea2a Enhancements: show notes 2021-02-23 20:16:00 +10:30
zilmar 20564b29bc cheats: Update the add text on new cheat 2021-02-23 20:14:36 +10:30
zilmar d2b586f9df enable apply button when enabling/disabling enhancements 2021-02-23 15:08:01 +10:30
zilmar c1ed471fc1
Merge pull request #1910 from flagrama/fix-manual-start-emulation
Fix Start Emulation by only skipping StartEmulation when AutoStart is disabled
2021-02-20 15:15:51 +10:30
zilmar 6127878f8f Add plugin limiting to enhancements 2021-02-17 10:24:17 +10:30
zilmar 3e02ff31d7 Add Plugin list to enhancment 2021-02-11 21:56:09 +10:30
Vincent Cunningham 678c5819e8
Only skip StartEmulation in RunLoadedImage when AutoStart disabled 2021-02-02 10:27:23 -05:00
zilmar 3553c87121 Move enable enhancement to advanced 2021-02-02 17:01:29 +10:30
Vincent Cunningham 3482a1a1cf
Call RunLoadedImage when manually starting emulation
RunLoadedImage is skipped in the Run*Image methods in CN64System if AutoStart is disabled. If the check for if there is a current g_BaseSystem fails, these changes run RunLoadedImage to create one and StartEmulation.

I'm not sure the extra NULL guard is necessary, but I don't want to skip the first g_BaseSystem check altogether. I added it as a "just in case."
2021-02-01 23:42:54 -05:00
zilmar 89d56ff4fa Fix modal error in EnhancementUI 2021-02-02 13:55:28 +10:30
zilmar a4f904e4d7 Merge branch 'master' of https://github.com/project64/project64
# Conflicts:
#	Source/Project64/UserInterface/UIResources.rc
2021-02-02 13:40:12 +10:30
zilmar 782e781bab Be able to edit/enable/disable enhancements while running 2021-02-02 13:22:47 +10:30
LuigiBlood 6f05e7a2f2 [Settings] Add Disk Seek Timing choice 2021-01-29 23:37:27 +01:00
zilmar b6325104a5 Fix validation when name is empty 2021-01-20 21:27:47 +10:30
zilmar cd16a8cc48 Clean up some warnings 2021-01-19 16:28:59 +10:30
zilmar d1223d1cf0 Fix build error 2021-01-17 17:29:05 +10:30
zilmar 453efb6d5e
Merge pull request #1897 from Squall-Leonhart/master
Replace Manufacturer with Media and what each letter corresponds with.
2021-01-17 16:17:01 +10:30
zilmar ddcd6ef855 Confirm cheat changes on closing window 2021-01-17 16:15:26 +10:30
zilmar fd1a6112c0 Clean up enhancements code 2021-01-17 13:47:58 +10:30
Squall Leonhart 1c21979afb Update RomInformationClass.cpp
lets just update these id's for now then
2021-01-11 12:27:37 +11:00
Squall Leonhart 636d39b291 Revert "Update RomInformationClass.cpp"
This reverts commit 6771249eca.
2021-01-11 12:26:57 +11:00
Squall Leonhart 6771249eca Update RomInformationClass.cpp
i don't know if this will even work?
2021-01-11 12:19:40 +11:00
Squall Leonhart 7d882f75b6 Manufacter ID was Media type all along
change all relevant code accordingly
2021-01-11 11:58:44 +11:00
Squall Leonhart cbecaf0c05 Handles cases where the Manufacturer ID is 43 instead of 4E
So these games are no longer listed as Uknown in their manufacturer field.
2021-01-09 11:07:21 +11:00
oddMLan 914ad3b74a Remove hardcoded Unicode API calls
Since #define UNICODE is defined in the project it will call the wrapper function which will return the W version
2021-01-01 20:37:00 -07:00
zilmar c4160785e9 Test unique code 2020-12-30 11:17:25 +10:30
zilmar 4d28cf6bc3 Convert cheats to new format 2020-12-30 10:08:31 +10:30
zilmar 070e2ad5e5 Merge branch 'master' of https://github.com/project64/project64 2020-12-30 09:14:25 +10:30
zilmar 7de3fc3348 Change the handling of the cheat format 2020-12-30 09:14:04 +10:30
zilmar 4a4b0b2e33
Merge pull request #1885 from shygoo/script-ui
[Debugger] Improve script window
2020-12-19 07:37:23 +10:30
shygoo 9e825992ae [Debugger] Fix script window's copy button 2020-12-18 14:21:49 -06:00
shygoo 7ca05cde8a [Debugger] Add tooltips to scripts window 2020-12-18 14:15:16 -06:00
shygoo 033d9b8327 [Debugger] Improve script window UI/stability 2020-12-18 13:57:50 -06:00
shygoo fdb6b25b39 [Debugger] Add basic multi-line support to code editor 2020-12-17 13:30:28 -06:00
shygoo 5888929cac [Debugger] Fix execution breakpoint toggle from context menu 2020-12-17 10:50:09 -06:00
zilmar 372da9526f
Merge pull request #1871 from shygoo/dma-log-export
[Debugger] Implement DMA log export (fix #1858)
2020-11-18 06:46:29 +10:30
shygoo c47af62f56 fix build error 2020-11-17 12:17:31 -06:00
shygoo 3a1b870c44 [Debugger] Implement DMA log export (fix #1858) 2020-11-17 11:57:21 -06:00
zilmar 1c9f090508 Project64: update spelling of names in about 2020-11-14 12:19:28 +10:30
zilmar 4354ff8b26 Project64: Redo the about window 2020-11-11 20:59:13 +10:30
zilmar 23563db02f Remove about config files 2020-11-09 19:42:30 +10:30
zilmar 1256d80bad Switch Forum with discord in help menu 2020-11-09 14:19:05 +10:30
zilmar 45da6e6284 Rename Homepage to website 2020-11-09 13:34:06 +10:30
zilmar 018da7cc3d
Merge pull request #1862 from shygoo/assembler-fixes
[Debugger] Add missing cop1 cvt ops to assembler, remove constexprs
2020-11-06 11:48:45 +10:30
zilmar 769323e3cb Remove test code from CProjectSupport::ShowSuppotWindow 2020-10-27 19:02:37 +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 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 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 883632b4a4 Project64: Add choosing game dir on welcome screen 2020-08-04 22:28:40 +09:30
shygoo e1b2fee7af [Debugger] Use better charset for memory viewer's text 2020-06-18 22:46:17 -05:00
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
shygoo f82ee04173 Fix pasting for EditNumber32 textboxes 2020-06-14 03:04:41 -05:00
zilmar 5e78937c16 Fix up removal of version information from UIResources.rc 2020-06-10 08:21:29 +09:30
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 ae0410487c Fix up short cut name with multiple selectors 2020-06-06 10:34:27 +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 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 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
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 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 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
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 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
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
shygoo a2427459cb [Debugger] Fix symbols memory leak 2019-12-27 12:48:55 -06:00
shygoo 9406544aea [Debugger] Misc cleanup and fixes 2019-12-24 18:41:20 -06:00
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
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
zilmar e71598edaf [Project64] make sure m_pDiskInfo is initialized in RomInformation 2019-11-10 07:04:24 +10:30
Cranky Supertoon 3d24d7fa2c push rpc 2019-10-23 17:12:12 -04:00
Duncan Ogilvie 18686e710c
Implement Randomize SI/PI interrupts setting
closes #1656
2019-10-03 11:39:46 +02:00