Commit Graph

1123 Commits

Author SHA1 Message Date
zilmar 5a49331c0b Core: Direct tlb method to read and write to memory 2022-05-02 20:22:31 +09:30
zilmar bac3517c86 [Core] Change tlb empty to be -1 and remove rdram from tlb value 2022-05-02 19:10:35 +09:30
zilmar b74a2dc69f [Core] Change TranslateVaddr to VAddrToPAddr 2022-05-02 07:36:50 +09:30
zilmar 4f07f52fed Core: Fix the dma write length 2022-04-27 09:20:33 +09:30
zilmar 2f1074a287 Core: Add handler for cartridge domains 2022-04-25 17:12:07 +09:30
zilmar 016ded2b56 Core: Move Save types 2022-04-19 11:17:43 +09:30
zilmar e9d2b9793f Core: Add Pif Ram Handler 2022-04-19 09:37:57 +09:30
zilmar 653e15a296 Core: Add RomMemoryHandler 2022-04-18 20:57:59 +09:30
zilmar d976aaf22b [Core] Better updating of controller in sync core 2022-04-11 09:26:11 +09:30
zilmar 075e3ab3c2 Core: reduce using global Plugins variable usage in CN64System and use member instead 2022-04-11 09:25:09 +09:30
zilmar f683d080ed [Core] CX86RecompilerOps::SW always update counters on unknown addresses 2022-04-11 09:07:47 +09:30
zilmar fbf65bce12 Core: Add a look up table for Memory Reads or Writes 2022-04-04 10:30:27 +09:30
zilmar a249705bce Core: Add CartridgeDomain2Address1Handler 2022-03-21 20:57:57 +10:30
zilmar 2b646677ac Core: remove Write32SerialInterface 2022-03-21 15:22:42 +10:30
zilmar e1d3222a8a Core: Move Serial interface into handler 2022-03-21 15:04:59 +10:30
zilmar c28bc27c27 Core: Move audio code into AudioInterfaceHandler 2022-03-21 13:14:56 +10:30
zilmar fcdda04da5 Core: Move Audio Interface code in to handler 2022-03-21 10:59:02 +10:30
zilmar d7e732a7eb Core: Add callback when game resets/loads state 2022-03-14 21:07:06 +10:30
zilmar df422238c9 Core: Fix up handling VideoInterfaceHandler in recompiler 2022-03-14 15:29:10 +10:30
zilmar 80d8e6edaa Core: Move Video Interface code in to handler 2022-03-08 10:18:56 +10:30
zilmar 928dfe3a16 Core: Add MIPSInterfaceHandler 2022-03-04 22:53:30 +10:30
zilmar db50dac063 Core: Add DisplayControlRegHandler 2022-02-21 21:56:25 +10:30
zilmar 390fe897a2 Core: Add RDRAMRegistersHandler 2022-02-21 19:47:14 +10:30
zilmar f7618f29c0 Core: Move SP_DMA_READ into SPRegistersHandler 2022-02-01 13:24:25 +10:30
zilmar 2b008cc278 Core: Create Memory handler for SP Registers 2022-01-24 23:13:10 +10:30
LuigiBlood e60f7ec648
Change CRC for 64DD Disks + better ROM Browser support for 64DD (#2164)
* Change CRC for 64DD Disks + Properly provide Disk Info for ROM Browser/Info

* Change CRCs for 64DD Titles + Rename RDB as needed
(And add English Mario no Photopi to RDB and english cheats for english Polygon Studio)

* [RDB] Add Extra Dezaemon 3D Expansion
2022-01-21 09:54:39 +10:30
zilmar 7fd239cf82 Core: Change NextInstruction to PipelineStage 2022-01-18 18:17:21 +10:30
LuigiBlood 16667ec4f9
[Core] Proper Dezaemon 3D SRAM 96KB save support (#2165) 2022-01-12 07:33:56 +10:30
zilmar 7452dd44db Core: Removed CRecompiler::RecompilerMain_Lookup_validate when I should not have, putting it back in 2022-01-10 19:28:38 +10:30
zilmar 30a40ea0a8 Core: Remove the option to turn off tlb 2022-01-10 17:46:01 +10:30
LuigiBlood 5d82837984
[Project64-input] N64 Mouse Support (#2160)
* [Project64-input] Unpolished Mouse Support
(Use Present value as Device Type)

* [Project64-input] Use Forced N64 Mouse config (using System Mouse)

* [Project64-input] Disable Mouse Scanning

* [Project64-input] Polish UI by adding Mouse image + Prevent Controller setup when using N64 Mouse

* [Project64-input] Revert Controller Save/Load changes

* [Project64-input] Seperate N64 Mouse into its own configuration

* [Project64-input] Add Mouse Locking + Shortcut System

* [Project64-input] Make Cursor invisible when locked

* [Project64-input] Make sure to unlock mouse when opening config

* [Project64-input] Working Lock/Unlock Shortcut + Only emulate mouse when locked

* [Project64-input] Use ClipCursor instead of DirectInput Exclusive Level

* [Project64-input] Add Mouse Sensitivity option + Change to SetCursorPos

* [Project64-input] Add WM_KillFocus and EmulationPaused functions

* [Project64-core] Move EmulationPaused call to really make sure it is called in all cases
2022-01-09 21:43:12 +10:30
zilmar 40683ecf79 Core: Remove legacy code 2022-01-05 08:59:12 +10:30
zilmar 226ebe68d9 Core: Remove ROM_IN_MAPSPACE 2022-01-05 08:31:27 +10:30
zilmar beb4c4378f Core: Remove Old CFB_READ code 2022-01-05 08:24:58 +10:30
zilmar 79b03c9ee0 Core: Move Peripheral Interface handling in to handler file 2022-01-05 08:14:03 +10:30
zilmar eafcb96c01 Project64-core: Move handling of RDRam Interface Register handling to its own file 2022-01-04 16:11:52 +10:30
zilmar 7e80d952cb Project64-core: General Code clean up 2022-01-04 10:26:14 +10:30
zilmar 09f90d9b53 Project64-core: Make Setting_EnableDisk be a setting in GameSettings 2022-01-04 10:07:52 +10:30
LuigiBlood 8b90894d0f
Add Aleck64 CIC, rename 64DD IPL Dev CIC (#2120)
* Add CIC-NUS-5101 support (Aleck64)

* Rename CIC_NUS_DDTL (64DD IPL Dev) to CIC_NUS_8401 (actual chip ID)
And properly support it in the Rom Browser

* Forgot to check nullptr before putting Aleck64 CRC info
2021-10-05 09:54:36 +10:30
shyguyhex ac94f2505e
[Debugger] Rewrite script API (#2110)
* [Debugger] Rewrite script API

* Update js api paths in installer script
2021-09-03 14:41:04 +09:30
shyguyhex 29a40ba57b
[Core] Set GameRunning_InReset=false after reset (#2098) 2021-08-13 06:55:24 +09:30
zilmar fc996df8ec Add Author to enhancement file 2021-07-13 08:17:16 +09:30
Kimberly J Ortega 416205ed5f
Enhancements: Add spaces to tags (#2079)
- Matching RDB format.
- Keep checks for old version to avoid breaking user enhancements, due to lack of a fixed control mechanism for upgrading
2021-07-12 13:30:28 +09:30
zilmar 9ad8d49d0e Some code clean up to help build android 2021-06-28 11:27:35 +09:30
zilmar bfd206e0a7 Get Controller plugin to update at request 2021-06-15 14:30:38 +09:30
oddMLan bad103568a Enhancement -> Enhancements (Updated package scripts as well)
Enhancement-User -> Enhancements-User
2021-06-13 14:55:36 +09:30
zilmar 542aec05f0 change version number for develop to 4.x 2021-06-13 13:07:20 +09:30
zilmar cc1344733b Copy Project64.cfg.development if Project64.cfg does not exist 2021-06-11 22:32:29 +09:30
oddMLan 48259a191b Localize unstranslated strings
-'Always use interpreter core' & 'Enable Discord Rich Presence'
2021-05-27 22:32:56 -07:00
oddMLan 1830b93bc5 Since 8MB is default now, remove hardcoded check in SettingsType-RDBRamSize.cpp and redundant note in the UI
This reverts commits 8475fa9c14 4020735b26
2021-05-27 22:32:55 -07:00
oddMLan 55808ff4f5 English.pj.Lang: Simplify wording & fix formatting 2021-05-27 22:32:26 -07:00
oddMLan cdbe507437 Minor layout fixes
- Fixed Notes in Enhancements window
- Fix Add Cheat to accommodate for cheat disable value feature
- Center about window header
2021-05-26 11:59:29 -07:00
zilmar ee864797ab vgturtle127's Beautification 14 - Source\Project64-video directory and final cleanup 2021-05-18 21:21:36 +09:30
zilmar 11813ff5f2 Update version number 2021-04-25 20:18:30 +09:30
zilmar b15613acea remove #pragma GCC 2021-04-22 09:47:17 +09:30
zilmar 3a038b2eb3 Move Dynamic library code out of util in to dynamic library file 2021-04-21 10:03:04 +09:30
zilmar 8ae92893cb Update missing changes 2021-04-14 15:52:34 +09:30
zilmar 2b6e70cde0 Merge branch 'master' of https://github.com/project64/project64 2021-04-14 15:51:41 +09:30
zilmar c512a592a7 Move class out of file names 2021-04-14 15:04:15 +09:30
zilmar 662637460e Remove Disable copy constructor comments 2021-04-13 09:37:11 +09:30
zilmar cf58754414 Change NULL to nullptr 2021-04-12 21:05:39 +09:30
zilmar a48f8d1a62 Remove PreCompiled header from Common 2021-04-12 19:11:28 +09:30
zilmar 62d2755300 Remove Common/stdtypes.h 2021-04-12 16:04:26 +09:30
zilmar 63a5b5c431 Remove SmartPointer.h 2021-04-12 15:34:59 +09:30
Derek "Turtle" Roe 06a174d969 Update LanguageClass.h
Fix comments
2021-04-02 03:15:45 -05:00
Derek "Turtle" Roe 536ccbc894 Update LanguageClass.cpp
Fix comments, add a TODO, fix and update a ton of the UI text, add newline
2021-04-02 03:15:37 -05:00
Derek "Turtle" Roe 3c650bdde7 Update 7zip.h
Fix comments
2021-04-02 03:14:15 -05:00
Derek "Turtle" Roe 821766666e Update 7zip.cpp
Fix comments, add newline
2021-04-02 03:12:48 -05:00
Derek "Turtle" Roe 8942ae2b47 Update RomList.cpp
Fix comments, and fix some log and trace typos
2021-04-02 02:43:33 -05:00
Derek "Turtle" Roe c30f1c6397 Update MemoryExceptionFilter.cpp
Fix comments, fix some UI and log typos, add newline
2021-04-02 02:35:51 -05:00
Derek "Turtle" Roe 3d036a4aa8 Update TraceModulesProject64.h
Add newline
2021-04-02 02:35:13 -05:00
Derek "Turtle" Roe 95e0fed45c Update stdafx.cpp
Add newline
2021-04-02 02:35:07 -05:00
Derek "Turtle" Roe df6768b579 Update Settings.h
Fix comments
2021-04-02 02:35:01 -05:00
Derek "Turtle" Roe 6aff37327a Update Settings.cpp
Fix comments
2021-04-02 02:34:50 -05:00
Derek "Turtle" Roe 0a18fb5c1f Update Plugin.h
Fix comments
2021-04-02 02:34:35 -05:00
Derek "Turtle" Roe 4458dc3375 Update Notification.h
Fix comments
2021-04-02 02:34:27 -05:00
Derek "Turtle" Roe 679b0d111e Update Multilanguage.h
Fix comments
2021-04-02 02:34:18 -05:00
Derek "Turtle" Roe a40dac71dd Update Logging.h
Add newline
2021-04-02 02:33:54 -05:00
Derek "Turtle" Roe bfb49fd93a Update Logging.cpp
Fix comments, fix some log typos, and add newline
2021-04-02 02:33:39 -05:00
zilmar 2ed2205db2 Reload Enhancements on edit dialog 2021-03-23 12:41:18 +10:30
zilmar 133170c1a2 Add option to not exit fullscreen on lose focus 2021-03-23 11:46:11 +10:30
zilmar 1249e1f9f0 Add ability to remove the status bar 2021-03-18 11:02:37 +10:30
zilmar 33011f3a57
Merge pull request #2005 from vgturtle127/master
General project improvements and updates
2021-03-12 07:18:29 +10:30
Vincent Cunningham a54e1dfbdb
Add another possible format to Gameshark codes
`XXXXXXXX ??XX` seems to be used for some game cheats, such as one in Conker's Bad Fur Day. This should fix #2009.
2021-03-11 15:32:44 -05:00
Derek "Turtle" Roe 0783748884 Switch to markdown for changelog and update readme a bit 2021-03-10 02:59:39 -06:00
zilmar 93b35cdf28 Add Overclock to enhancment 2021-03-10 18:09:01 +10:30
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 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 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 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
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 38ca1407c9
Fix platform difference errors 2021-02-28 18:02:40 -05:00
Vincent Cunningham dcb360cf41
Replace \ with / in include directives 2021-02-28 17:38:56 -05:00
zilmar 9262e37c47 Make sure file is reloaded on opening cheat config 2021-02-24 21:25:35 +10:30
zilmar 155d331d45 Do not necessary reload enhancement file 2021-02-23 21:39:48 +10:30
zilmar beb5c3e77d Enhancement: allow enhancment with no GS entries 2021-02-23 20:15:21 +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
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 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 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 7d882f75b6 Manufacter ID was Media type all along
change all relevant code accordingly
2021-01-11 11:58:44 +11:00
zilmar cb0f746099 Try to fix some bugs in the new cheat changes 2020-12-31 08:03:27 +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 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 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 5ed48cbb97 Project64: Make UniqueSaveDir on by default 2020-10-27 17:00:28 +10:30
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 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 ac45d34b29
Merge pull request #1837 from project64/input-plugin
Input plugin
2020-07-15 21:20:24 +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 00556d4524 Project64-input: Flip x/y axis in structure 2020-07-07 11:36:10 +09:30
LuigiBlood 4205f989a4 [Save State] Compare 64DD save state header more proper 2020-06-19 21:37:08 +02:00
LuigiBlood efe848f9a5 [Disk] Error when reading invalid blocks + fix LBAToByte 2020-06-17 23:11:08 +02: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