Commit Graph

3717 Commits

Author SHA1 Message Date
zilmar e2f648be46
Merge pull request #2002 from flagrama/fix-7z
Fix Opening 7zip files
2021-03-06 10:57:41 +10:30
zilmar b35d59408a Add diable gameshark code 2021-03-06 10:56:24 +10:30
Vincent Cunningham bc130baa3a N64Rom: Add trace logs to LoadIN64mageIPL 2021-03-04 17:27:48 -05:00
Vincent Cunningham 008567781b N64Rom: Load first found ROM in 7z file
Should now search the entire 7zip file looking for a valid N64 ROM file
and load the first one it finds. Left comments referring to a future
dialog for selecting which file you want to open as it seems like a
good idea, but I don't have the familiarity with WTL yet to try to add
it.

May be necessary to skip files of a certain size while opening this way
as Project64 will try to allocate memory for the "ROM" file before it
is able to check if it really is a ROM file.
2021-03-04 17:22:26 -05:00
zilmar bc81e041f8 Have Cheat UI validate via CEnhancement 2021-03-04 14:29:31 +10:30
Vincent Cunningham a4bb7f588f RomList: Another one in a trace message 2021-03-03 19:53:13 -05:00
Vincent Cunningham 563ee060dd RomList: Fix 7zip filenames 2021-03-03 19:20:48 -05:00
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 62920525d0 Make rdram size 8 mb by default 2021-03-02 16:40:31 +10:30
zilmar 1f15ed30ca Have 32bit disabled by default 2021-03-02 16:05:36 +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 8dea0170d3
Ignore narrowing conversion on g++ 2021-02-28 20:32:42 -05:00
Vincent Cunningham 56d98cae9b
Use correct variable for log 2021-02-28 20:22:34 -05:00
Vincent Cunningham a76781bf0f IniFileClass.cpp: Restore include directive 2021-02-28 18:30:53 -05:00
Vincent Cunningham 38ca1407c9
Fix platform difference errors 2021-02-28 18:02:40 -05:00
Vincent Cunningham 3eaa3c591b
Modify Unix build script 2021-02-28 18:02:18 -05: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
Vincent Cunningham 492d194418 Fix installer issues with GLideN64
Correct path GLideN64 is installed to. Give user edit permissions to the
directory since used for config and textures.
2021-02-26 18:43:41 -05:00
zilmar f6008997e7
Merge pull request #1974 from flagrama/pj64-input-inverted-axis-checking-button
[Project64-Input] Fix inverted axis when checking pressed buttons
2021-02-25 07:46:14 +10:30
Vincent Cunningham 11c51f1b78 Fix inverted axis when checking pressed buttons 2021-02-24 13:38:15 -05:00
zilmar 051532ce92 Merge branch 'master' of https://github.com/project64/project64 2021-02-24 21:26:24 +10:30
zilmar 9262e37c47 Make sure file is reloaded on opening cheat config 2021-02-24 21:25:35 +10:30
zilmar 0a2756c163
Merge pull request #1952 from flagrama/pj64-input-deadzones
[Project64-Input] Use non-square for deadzone
2021-02-24 12:54:49 +10:30
Vincent Cunningham a21f8dba21 Use non-square for deadzone 2021-02-23 20:41:39 -05:00
zilmar 155d331d45 Do not necessary reload enhancement file 2021-02-23 21:39:48 +10:30
zilmar 998ff9ea2a Enhancements: show notes 2021-02-23 20:16:00 +10:30
zilmar beb5c3e77d Enhancement: allow enhancment with no GS entries 2021-02-23 20:15:21 +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 0252ede652 Merge branch 'master' of https://github.com/project64/project64 2021-02-20 16:31:44 +10:30
zilmar 6299f1c10b Include the enhancement directory 2021-02-20 16:30:49 +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
Vincent Cunningham f5af8f5261
Fix games not being FPS limited when Audio is muted 2021-02-01 20:31:45 -05:00
LuigiBlood 90d68dae52 Cache Disk Seek Timing Type into a global variable for optimization 2021-01-30 00:29:09 +01:00
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 eb986259f2 Enhancements: Load Active 2021-01-18 17:07:06 +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 0c177171ea Change Apply button from bool to Lresult 2021-01-17 14:19:14 +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 7475c20f19 [RSP] Force to compile in ANSI mode
Fixes RSP commands window and RSP register window not working
Fix some warnings
2021-01-02 01:43:56 -07: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
oddMLan 1ead776429 Upgrade 3rdParty/WTL to WTL 10.0 2021-01-01 20:31:11 -07:00
zilmar cb0f746099 Try to fix some bugs in the new cheat changes 2020-12-31 08:03:27 +10:30
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 4854801e9a
Merge pull request #1874 from shygoo/tlb-bounds
[Core] Fix TLB bounds check
2020-12-03 06:48:37 +10:30
shygoo 5b44212c2d [Core] Fix TLB bounds check 2020-11-22 13:06:50 -06:00
zilmar 124b1c9257 Project64: Read cheats from multiple files 2020-11-19 17:46:07 +10:30
zilmar 88ac97c3a7 Installer: Fix Gliden64 issues when not there 2020-11-18 08:00:32 +10:30
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 67eb69a7a2 Installer: Trying to fix compile issue 2020-11-14 12:47:27 +10:30
zilmar df257b57fa installer: Have GlideN64 include directory recursively 2020-11-14 12:35:48 +10:30
zilmar a495e01457 Installer: Add Gliden64 to installer 2020-11-14 12:21:42 +10:30
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 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