Commit Graph

1029 Commits

Author SHA1 Message Date
zilmar 3b74fef76c [Project64] Create gui callback on paused 2015-11-12 22:45:24 +11:00
zilmar e4bd5eae74 [Project64] Move SetWindowCaption from Notification Class to Gui Class 2015-11-12 22:38:20 +11:00
zilmar e25fedcae2 [Project64] Move AddRecentRom from Notification Class to gui class 2015-11-12 22:34:55 +11:00
zilmar 73d7263de0 [Project64] Add GameLoaded setting 2015-11-12 22:27:19 +11:00
zilmar 51c89388c7 [Project64] Cleanup Settings.h 2015-11-12 22:00:47 +11:00
zilmar 7f73838ffe [Project64] Move Settings.h in to Settings directory 2015-11-12 21:47:34 +11:00
zilmar c997b6b1d9 [Project64] Get about ini window to be created with DialogBoxParamW 2015-11-12 21:38:10 +11:00
zilmar 89361c5713 [Poject64] register callback for GameRunning_LoadingInProgress to refresh menu 2015-11-12 21:20:30 +11:00
zilmar 93c76fe7dc [Project64] Create RenderWindow interface 2015-11-12 21:08:47 +11:00
zilmar 69383fcc7e [Project64] remove ValidPluginVersion from Plugin List.cpp 2015-11-12 20:15:49 +11:00
zilmar efa3c87de7 {Project64] Tabs to spaces in Plugin List.cpp 2015-11-12 19:43:32 +11:00
zilmar 5888b1d3f6 [Project64] Change m_hPauseEvent to a sync event 2015-11-12 18:08:10 +11:00
zilmar 66b6be4bd7 [Project64] N64 Class.cpp tabs to spaces 2015-11-12 17:52:27 +11:00
zilmar 70a368a861 [Project64] Clean up N64 Class.cpp 2015-11-12 17:47:51 +11:00
zilmar 264db9dc5c Merge pull request #720 from oddMLan/i-herd-u-liek-common-controls-6.0
Fix manifest file generation (themed window controls again)
2015-11-12 09:48:59 +11:00
toehead2001 d742934018 Nuke unused resource files 2015-11-11 01:35:22 -07:00
toehead2001 762fe57074 Use a standard window for the Language Selector 2015-11-10 20:00:15 -07:00
exhalatio 4df13b4a23 Fix Blurry Fonts on High-DPI Windows 10 2015-11-11 10:10:10 +09:00
Julio C. Rocha edf24e5343 Fix typo in SLN and type for Controller Plugin member variables
.
2015-11-10 13:21:51 -08:00
zilmar f7923d2a94 Merge pull request #742 from toehead2001/about-cleanup
Remove some leftover code from the old About box
2015-11-10 23:01:20 +11:00
zilmar 21163cb870 Merge pull request #743 from toehead2001/window-styles
Get rid of WS_EX_CLIENTEDGE
2015-11-10 23:01:02 +11:00
toehead2001 8358211e9a Remove some leftover code from the old About box
This allowed you click the top region of the About box to move the
window.
2015-11-10 03:04:11 -07:00
toehead2001 bdfb64c4e8 Get rid of WS_EX_CLIENTEDGE
Switch to CreateWindow, as CreateWindowEx is no longer need
2015-11-10 02:50:08 -07:00
zilmar fbd863e6fd Merge pull request #740 from toehead2001/canonical-name
"Project 64" -> "Project64"
2015-11-10 18:15:16 +11:00
zilmar 623411ce99 [Project64] Fix plugin change from uint32_t to int32_t 2015-11-10 18:13:49 +11:00
toehead2001 923f6a485a "Project 64" -> "Project64" 2015-11-09 22:21:49 -07:00
zilmar 89d6811068 Merge pull request #734 from toehead2001/about-box
Use a standard window for the About dialog
2015-11-10 15:17:11 +11:00
toehead2001 26d9339e2c Remove some dead code
This doesn't do anything anymore
2015-11-09 21:12:48 -07:00
toehead2001 67bd22acc2 Create window using DialogBoxParamW 2015-11-09 21:10:47 -07:00
unknown e11c0b2c22 [Plugin Specs] reverted contr 1.1 for backward-compatibility
No plugins for Windows (that can run on Project64) currently use the 1.1 controller plugin specifications, and the ones that do use it (for Linux) use the publicly released spec which did not have the pointer version in the late-modified spec.

We don't want to let plugin wars roam between the emulators' implementations.
2015-11-09 22:26:59 -05:00
unknown b617c4db1d [Plugin Specs] moved CONTROL_INFO typedef for accessibility 2015-11-09 22:24:02 -05:00
unknown d2574dccd1 [Plugin Specs] Change uint32_t to int32_t (formerly BOOL). 2015-11-09 19:17:43 -05:00
zilmar 0afe4b47a8 Merge pull request #736 from cxd4/so-i-herd-u-dont-like-int
CTLB:  Replace `int' with `size_t'.
2015-11-10 08:24:50 +11:00
unknown 7cae59ac03 reverted: sizeof(array[0]) is less error-prone. 2015-11-09 16:22:53 -05:00
zilmar eef290f767 [Project64] Clean up Section Info.cpp, x86CodeLog.cpp, plugins 2015-11-10 07:26:33 +11:00
zilmar dda79ce345 [Project64] get Recompiler Memory.cpp to use standard types 2015-11-10 07:22:51 +11:00
zilmar d06eae9457 [Project64] Update Recompiler Class.cpp to use standard types 2015-11-10 07:19:27 +11:00
zilmar 0c00b90334 [Project64] Change Loop Analysis.cpp to use standard types 2015-11-10 07:10:34 +11:00
zilmar 8f694e157f [Project64] update Function Info to use standard types 2015-11-10 07:07:54 +11:00
zilmar 23210e759a [Project64] Update Recompiler Ops.cpp to use standard types 2015-11-10 06:56:28 +11:00
unknown 9cc0465a10 Re-express `/ sizeof(array[0])' as `/ sizeof(array_type)'. 2015-11-09 14:50:16 -05:00
unknown 8168dcc42b Match the type of `n' to source data type `size_t'. 2015-11-09 14:41:27 -05:00
zilmar c33e7e7958 [Project64] Get Reg Info.cpp to use standard types 2015-11-10 05:39:57 +11:00
zilmar d461ff34d9 [Project64] change m_TLBLoadAddress and m_TLBStoreAddress to uint32_t 2015-11-10 05:19:39 +11:00
toehead2001 695ebfa9ad Use a standard window for the About Dialog 2015-11-09 04:39:36 -07:00
zilmar d6db9362d7 [Project64] change exit info to a struct instead of a class 2015-11-09 19:32:13 +11:00
zilmar 0f4be7ffa6 [Project64] update Code Section to use standard types 2015-11-09 17:55:16 +11:00
zilmar 898f1da74d [Project64] Get TLB class to use standard types 2015-11-09 17:21:32 +11:00
zilmar cfdb5dc8d0 [Project64] Update X86ops.cpp to use standard types 2015-11-09 08:11:57 +11:00
zilmar a6d1722122 [Project64] get Code Block.cpp to use standard types 2015-11-09 08:00:16 +11:00
zilmar e85c1665b1 [Project64] Get Interpreter Ops to use standard types 2015-11-09 07:55:32 +11:00
zilmar 1ace31216d [Projet64] remove typecasting in Debugger - View Memory.cpp 2015-11-09 07:48:46 +11:00
zilmar 1a09c2baea [Project64] Get Register class to use standard type 2015-11-09 07:45:41 +11:00
zilmar 21b80c240f [Project64] Change Pif Ram.cpp to use stdtypes 2015-11-09 07:21:28 +11:00
zilmar dc2a4683da [Project64] Change Speed Limitor Class to use standard types 2015-11-09 05:53:05 +11:00
zilmar 2d16f87c7f [Project64] change MIPS_WORD and MIPS_DWORD to use standard types 2015-11-09 05:49:30 +11:00
zilmar c5fb02431a [Project64] Remove N64 System/Types.h 2015-11-09 05:30:20 +11:00
zilmar f6160e3d68 [Project64] Get Memory Virtual Mem.cpp cleanup and use standard types 2015-11-09 05:04:32 +11:00
zilmar 08cc72f6ed [Project64] Update OpCode.h 2015-11-08 20:37:29 +11:00
zilmar 4ac266bd94 [Projet64] Move logging class and clean up code 2015-11-08 20:17:13 +11:00
zilmar 786be5b062 [Project64] Move Logging.cpp/h out of c core folder 2015-11-08 17:45:43 +11:00
zilmar 568226d5ff [Project64] Remove Delay Slot Map Class.h and Exit Info.cpp 2015-11-08 17:20:04 +11:00
zilmar 3b8e03b570 [Project64] Clean up plugin classes 2015-11-08 17:08:15 +11:00
zilmar 9f87dbf30d [Project64] Split cheat class between UI and code 2015-11-07 14:32:23 +11:00
zilmar 6a2e88a25c [Project64] change AsciiToHex to std::strtoul in rom browser 2015-11-07 12:45:59 +11:00
zilmar a1d9af57a6 [Project64] remove some of the #ifdef WINDOWS_UI from settings pages 2015-11-07 12:11:25 +11:00
zilmar 6585657d05 [Project64] Change CDebugger to CDebuggerUI 2015-11-07 08:22:02 +11:00
zilmar d56236356a [Project64] Fix showing file name in break point 2015-11-07 07:51:41 +11:00
Nekokabu 4b725105d2 Update Settings Page - Game Browser.cpp
Fixed text when remove fields
2015-11-06 01:21:50 +09:00
Nekokabu b275324843 Update Dma.cpp
fix typo
2015-10-31 06:28:49 +09:00
Nekokabu dd587cccea Remove sram size
Remove sram size
2015-10-30 22:11:12 +09:00
Nekokabu cd2f3cf173 Support Dezaemon 3D saves (SRAM 96KB)
Support Dezaemon 3D saves (SRAM 96KB)
2015-10-30 22:09:56 +09:00
Nekokabu ba2e5ba9e6 Support Dezaemon 3D saves (SRAM 96KB)
Support Dezaemon 3D saves (SRAM 96KB)
2015-10-30 22:08:27 +09:00
oddMLan 0b5fa5ba55 Delete Project64.exe.manifest
Redundant since Visual Studio will generate an intermediate manifest and embed it into the executable. So it should be safe to delete.
2015-10-30 00:44:44 -07:00
oddMLan f2a5b01620 Delete statement linking to old manifest file
Visual Studio will generate one during compilation.
2015-10-30 00:39:40 -07:00
oddMLan 4736a76f8a Link to Common Controls 6.0
With this we get themed buttons and controls.
2015-10-30 00:26:23 -07:00
aschwant 2ed50708c1 Fixed incorrect file name causing plugins to fail to load 2015-10-29 17:58:26 -06:00
zilmar 88852c3a4a Merge pull request #690 from cxd4/set-WINDOWS_UI-programmatically
Be able to control `WINDOWS_UI` programatically.
2015-10-28 11:15:17 +11:00
zilmar 1928604400 Merge pull request #697 from JunielKatarn/fix_m_PluginDir
Fix settings menu
2015-10-28 09:51:32 +11:00
Julio C. Rocha 74355d34d8 Fix string castint making settings menu break 2015-10-27 00:55:06 -07:00
MELERIX ba27fc543c increased the size of some elements of the ui to match with some translations. 2015-10-27 02:07:22 -03:00
MELERIX 44aa260436 Minor changes in English main file 2015-10-26 19:08:51 -03:00
unknown e96bb6144b Be able to control `WINDOWS_UI` programatically. 2015-10-26 17:00:06 -04:00
zilmar 572418ec30 Merge pull request #650 from cxd4/mem
Remove external linkage of swap32by8()--now static.
2015-10-27 05:29:16 +11:00
unknown 77801190c2 Remove macro functions for byte order. 2015-10-26 13:10:50 -04:00
unknown 4e258b0c6b removed external linkage of function swap32by8() 2015-10-26 13:09:38 -04:00
Julio C. Rocha dc050fbd66 Add LanguageSelector files to VXCPROJ 2015-10-25 22:44:23 -07:00
zilmar cdde935738 Merge pull request #586 from Nekokabu/patch-7
Fix Filename in compressed savestate
2015-10-26 13:58:18 +11:00
zilmar 160d27d400 Merge pull request #666 from lioncash/delete
Project64: correct delete usages on arrays
2015-10-26 13:46:31 +11:00
zilmar 65a9c6326f Merge pull request #687 from JunielKatarn/wx
Make x64 build work
2015-10-26 13:44:56 +11:00
zilmar 98ea510118 [Project64] Split language Selection UI out of Language class 2015-10-26 06:20:23 +11:00
zilmar 0608a8b504 [Project64] Remove DisplayError and DisplayMessage being able to take variable param (eg ... ) 2015-10-25 22:40:21 +11:00
zilmar 0144305c6a [Project64] Clean up path code 2015-10-25 22:10:54 +11:00
zilmar 81fdcb9373 [Project64] Get settngs to use std int 2015-10-25 21:50:28 +11:00
zilmar 5012979377 [Project64] Move critical section code to cpp file and remove headers included 2015-10-25 20:10:28 +11:00
Julio C. Rocha 75aef28525 Set subsystem version for Project64.exe on x64 2015-10-23 14:35:55 -07:00
zilmar 485613ed03 [Common] Move the standard types include in to common 2015-10-12 06:48:15 +11:00
Lioncash 5350cfac8d Project64: correct delete usages on arrays 2015-10-10 14:47:08 -04:00
zilmar 9704a1119f Merge pull request #657 from Nekokabu/master
Fix character corruption
2015-10-06 08:48:08 +11:00
zilmar caee8ce2b9 Merge pull request #654 from JunielKatarn/DEP
Disable Data Execution Prevention for Project64.exe (Visual Studio 2010+)
2015-10-06 08:43:28 +11:00
Nekokabu 6b4b784aa7 Fix Paper Mario Saves
Fix Paper Mario Saves
2015-10-04 14:52:42 +09:00
Nekokabu 1d68f0bf35 fix character corruption
fix Recent Dir & ROM
2015-10-03 13:38:40 +09:00
Nekokabu 118134766c fix character corruption
Add setlocale
2015-10-03 13:35:27 +09:00
Julio C. Rocha a2c995fa61 Disable Data Execution Prevention for Project64.exe. 2015-10-01 23:43:01 -07:00
unknown 29ba2c095b (x64) fixed MSVC "loss of precision" warning during RAM realloc 2015-10-01 15:16:34 -04:00
unknown 83f8586111 added constants/macros to help maintain endian changes 2015-10-01 13:58:19 -04:00
zilmar 8f797d0bd2 Merge pull request #647 from cxd4/kyles-mom-likes-c-plus-plus
MemoryFilter starts to compile (now with 32-bit support!).
2015-10-01 10:42:59 +10:00
zilmar 23181b4492 Merge pull request #648 from cxd4/stds-r-bad-mkay
Introduce portable types to R4300 system types header.
2015-10-01 10:42:16 +10:00
unknown 9897c0cbbc Introduce portable types to R4300 system types header. 2015-09-30 14:21:42 -04:00
unknown 3345d6e503 MemoryFilter starts to compile (now with 32-bit support!). 2015-09-30 13:45:30 -04:00
Julio C. Rocha 47aa75ba31 Revert "Merge pull request #639 from cxd4/kyles-mom"
This reverts commit f9c177f44a, reversing
changes made to 63ea387bcf.
2015-09-30 00:01:03 -07:00
zilmar 1111e6db55 Merge pull request #636 from cxd4/bk
Banjo-Kazooie (U) v1.1 works in x64 now.
2015-09-30 10:59:12 +10:00
zilmar f9c177f44a Merge pull request #639 from cxd4/kyles-mom
MemoryFilter starts to compile.
2015-09-30 10:58:42 +10:00
zilmar 63ea387bcf Merge pull request #637 from JunielKatarn/Logging
Fix flags for debug/validate logging.
2015-09-30 10:58:10 +10:00
unknown 719eaa7ead MemoryFilter starts to compile. 2015-09-27 13:47:35 -04:00
Julio C. Rocha 14a543f2cc Fix flags for debug/validate logging. 2015-09-26 15:59:57 -07:00
unknown 08f090be7e implemented COP1 round FP64 to int64 2015-09-26 16:30:45 -04:00
Julio C. Rocha f5ef8d3359 Fix ROM Browser issue on Windows XP. 2015-09-26 05:29:48 -07:00
Julio C. Rocha 9c26f10aa8 Merge https://github.com/project64/project64 into PropertySheetsTemp 2015-09-24 13:52:29 -07:00
Julio C. Rocha e178ec96fc Merge ..\zilmar into PropertySheetsTemp 2015-09-23 20:06:48 -07:00
LegendOfDragoon 8d64ee7ca3 Fix issue with most D3D plugins
Basically, D3DCreate() changes the FPU precision to 24bit unless
D3DCREATE_FPU_PRESERVE is enabled, which I don't think any D3D plugin
does, besides maybe Jabo's.
2015-09-23 20:05:39 -07:00
zilmar 315027b7fb Merge pull request #622 from lioncash/initialization
Correct order of class initialization lists
2015-09-24 10:00:32 +10:00
zilmar 8f7d89794e Merge pull request #621 from lioncash/unimpl
Remove unimplemented function declarations
2015-09-24 09:59:43 +10:00
zilmar 4318724691 Merge pull request #620 from lioncash/lol
Pif Ram: Get rid of pointer casts
2015-09-24 09:33:10 +10:00
luigiblood 19a6beab80 Potential Windows 10 BSOD FIX 2015-09-23 17:45:39 +02:00
Lioncash adfa096230 Correct order of class initialization lists 2015-09-23 05:00:51 -04:00
Lioncash fb98d402a0 Remove unimplemented function declarations 2015-09-23 04:13:11 -04:00
Lioncash d15d8eff4a Pif Ram: Get rid of pointer casts
Less undefined behavior
2015-09-23 03:06:11 -04:00
zilmar 341f2c2752 Merge pull request #604 from cxd4/flashram_x64
replaced Flash RAM breakpoints in x64
2015-09-17 11:08:25 +10:00
unknown 88a82537c7 replaced Flash RAM breakpoints in x64 2015-09-15 18:55:27 -04:00
unknown bd21c8ab54 Temporarily force interpreter mode when running 64-bit PJ64. 2015-09-15 17:47:01 -04:00
zilmar 59b1880324 Merge pull request #602 from cxd4/sqrt
mario werx
2015-09-16 07:23:49 +10:00
unknown b6eb1c3234 Try to use intrinsics for COP1 single-precision square root? 2015-09-15 15:03:05 -04:00
unknown 659f103373 Try SSE intrinsics to match COP1 FP64 round to 32-bit. 2015-09-15 12:42:36 -04:00
unknown a0409357b8 COP1 FP 32-bit round to integer doable with intrinsics? 2015-09-14 22:55:23 -04:00
zilmar c3b394607c Merge pull request #590 from cxd4/most_remaining_x64_breakpoints
PIF RAM mutual DMA x64 breakpoints replaced with fast C
2015-09-15 10:55:40 +10:00
unknown c38f41e34b fixed a crash because I wrote >= when I meant > 2015-09-14 16:04:25 -04:00
unknown 1a67309f66 got the command-line build of PJ64 to link and run 2015-09-14 16:03:23 -04:00
unknown e6f5e495f2 macro'd out all sources of VS Express linker errors 2015-09-14 15:55:11 -04:00
zilmar b4d58cfb17 Set VERSION_BUILD to 9999 2015-09-13 17:28:02 +10:00
zilmar d603d7d7dd Merge pull request #591 from cxd4/VS_Express
got it compiling on Express
2015-09-13 12:32:34 +10:00
unknown 7841409ef2 removed redundant include 2015-09-08 10:33:30 -04:00
unknown dd73e6dff7 second pass--compiles on VS2008 Express (doesn't link) 2015-09-07 15:47:58 -04:00
unknown 4b4c37e9bd first pass--compiles on VS2013 w/o ATL 2015-09-07 15:47:44 -04:00
unknown 4a03a8d1e4 PIF RAM mutual DMA x64 breakpoints replaced with fast C 2015-09-07 12:16:36 -04:00
zilmar 120d4d5590 Merge pull request #580 from cxd4/so_i_herd_u_liek_bswap
replaced all in-line assembly in Virtual Memory unit
2015-09-07 20:56:26 +10:00
Nekokabu 184681f08f Fix Filename in compressed savestate 2015-09-04 01:04:47 +09:00
LegendOfDragoon 6adb89e041 Add support for DacrateChanged in LoadState
Calls DacrateChanged if the value of AI_DACRATE_REG changes after
loading a save state.
2015-09-02 22:47:21 -07:00
LegendOfDragoon abf71cdd1a Add support for ViWidthChanged in LoadState
Calls ViWidthChanged if the value of VI_WIDTH_REG changes after loading
a save state.
2015-09-02 22:44:24 -07:00
LegendOfDragoon a4a69a8a3a Add support for ViStatusChanged in LoadState
Calls ViStatusChanged if the value of VI_STATUS_REG changes after
loading a save state.
2015-09-02 22:41:40 -07:00
zilmar 8d7c7d91a1 Merge pull request #577 from cxd4/moar_Unicode_references
more Unicode compile ref. errors to _T() fixed
2015-09-02 17:41:11 +10:00
zilmar 94341be840 Merge pull request #581 from LegendOfDragoon/Fixes
Fix some mistakes
2015-09-02 14:14:30 +10:00
LegendOfDragoon 7909b18506 Write to VI_V_CURRENT_LINE_REG
As of now, it's never being written to, so graphics plugins do not have
any access to that register. z64gl reads this register, so that's why it
has this screen shaking problem in certain games like Star Wars Rogue
Squadron.
2015-09-01 08:50:59 -07:00
LegendOfDragoon 8968430b04 Fix issue with AiUpdate
Some plugins like Jabo's needs this thread to be created each time
initiated.
2015-09-01 08:16:42 -07:00
LegendOfDragoon ec6a1e0c23 Fix issue with displaying the value of EIP
Before, it would only display 1 byte, instead of the full address stored
in EIP.
2015-09-01 08:07:25 -07:00
LegendOfDragoon e576dbbaa4 Fix a mistake I made in SPECIAL_DSRL32 2015-09-01 07:51:36 -07:00
unknown 834299c041 replaced all in-line assembly in Virtual Memory unit 2015-08-30 22:56:21 -04:00
unknown d00937a997 explicit <windowsx.h> to fix 6 unresolved macros w/o ATL 2015-08-28 18:35:36 -04:00
unknown 7b4b5a6827 explicit <shlobj.h> to fix just a few build errors w/o ATL 2015-08-28 18:35:13 -04:00
unknown 7ce4f3db93 explicit <commdlg.h> to fix anti-ATL build errors 2015-08-28 18:34:34 -04:00
unknown 6b34e8b89a explicit <commctrl.h> to fix anti-ATL build errors 2015-08-28 18:34:12 -04:00
unknown 074b2cc007 explicitly included <prsht.h> 2015-08-28 18:29:55 -04:00
unknown 152b365fcc more Unicode compile ref. errors to _T() fixed 2015-08-28 17:23:47 -04:00
unknown da232c590a better chances at safe TLB paddr allocation to integers 2015-08-26 22:30:45 -04:00
unknown 1a83353918 removed some surviving remnants of old Unicode refs 2015-08-19 23:00:41 -04:00
unknown 39a1abe44e re-did my earlier fix in a safer way 2015-08-19 18:37:07 -04:00
zilmar 7a2218dfd6 Merge pull request #565 from cxd4/vs-express-testing
reduced the compiler errors if building w/ VS2008 Express
2015-08-20 06:43:37 +10:00
unknown b44324147d reduced the compiler errors if building without ATL 2015-08-19 13:47:15 -04:00
unknown 64770befde fixed duplicate debug string: "Write" typo'd to "Read" 2015-08-18 19:51:12 -04:00
zilmar 31cb2270d3 Merge pull request #555 from Nekokabu/patch-4
Fix PI_DMA_READ
2015-08-11 18:25:43 +10:00
Nekokabu 4dac8354cc Fix error message displayed always
fix error message displayed always when play 64dd and enable debugger.
2015-08-02 21:31:15 +09:00
Nekokabu 936db1c3f4 Fix PI_DMA_READ
fix PI_DMA_READ like a PI_DMA_WRITE.
2015-08-01 18:16:11 +09:00
Nekokabu 0772341b6a Fix DMA Sram access when not word aligned 2015-08-01 17:48:38 +09:00
zilmar 91b643bfe1 Merge pull request #552 from JMarlin/master
#549 re-fixing the fix
2015-07-31 08:39:01 +10:00
jmarlin d57d951d39 #549 removed a vestigial bit of expression from a direction I ended up not going in 2015-07-30 18:37:15 -04:00
jmarlin 837f799058 #549 fixed incorrect case conversion math, simplified a couple of expressions 2015-07-30 18:35:33 -04:00
zilmar a3edf675f8 Merge pull request #550 from JMarlin/master
#549 changed switch/case table to cascaded range checks
2015-07-30 15:09:06 +10:00
jmarlin 6f98061e57 #549 stupid typos 2015-07-29 18:23:14 -04:00
jmarlin 8e75ec2ce7 #549 changed switch/case table to cascaded range checks 2015-07-28 17:41:53 -04:00
LegendOfDragoon 2f812afca7 Implement edge case in SPECIAL_DSRL32
When m_Opcode.sa == 0, the results for cpu recompiler do not match cpu
interpreter. For example with dsrl32 t9, t8, 0x0, and t8 =
0xC0C0C0C000000000 the result of t9 for cpu recompiler =
0xFFFFFFFFC0C0C0C0, while cpu interpreter = 0xC0C0C0C0C0C0C0C0.

This commit fixes the Killer Instinct health bar issue.
2015-07-28 13:30:21 -07:00
luigiblood cf7f74f1b1 Use actual CIC IDs (8303 for 64DD, 5167 for 64DD conversions) 2015-07-27 15:34:36 +02:00
zilmar 1a481c520a Merge pull request #544 from cxd4/dedotated_wam_4_mah_serv0r
cleaner RdramChanged algorithm (not biased to only 4 vs. 8 MB)
2015-07-27 14:05:16 +10:00
Nekokabu 81b6e2c68d Heiwa Pachinko World 64 (J) freeze fix
Heiwa Pachinko World 64 (J) freeze fix #537
2015-07-25 23:20:36 +09:00
unknown 51975fb00d unbiased the algorithm from just checking if only 4 or 8 MB 2015-07-18 13:12:40 -04:00
unknown 188091e32a flipped the if/else blocks for better branch prediction 2015-07-18 12:51:44 -04:00
unknown 62d316f7ae centralized m_AllocatedRdramSize writeback outside the if/else 2015-07-18 12:50:00 -04:00
unknown 2a45e5f792 Declare a couple constants to help clean the code rewrites. 2015-07-18 12:45:55 -04:00
Julio C. Rocha 02e6cf2697 Added PropertySheets folder to project. 2015-07-15 04:47:41 -07:00
Julio C. Rocha d617d0352a Used centralized config for VCXPROJ files.
TODO: Fix Installer. It's no longer being generated.
2015-07-15 03:37:49 -07:00
LegendOfDragoon 9dda9171d0 Fix LoadState audio issue with Fixed Audio Timing
When Fixed Audio Timing was enabled and AI count per byte = 0, the
frequency was not being properly set, after loading a save state.
2015-07-06 21:05:12 -07:00
Nekokabu 433668a7e3 Fix Address in error messages. 2015-06-24 01:05:29 +09:00
Nekokabu 4b2ff8318f Fix Address in error messages. 2015-06-23 23:03:05 +09:00
Nekokabu 9be6b571e0 Fix Address in error messages.
Fix Address in error messages.
2015-06-23 23:02:20 +09:00
zilmar 2f4b4681d0 Merge pull request #514 from Nekokabu/master
Support Shiren 64 Save
2015-06-22 15:19:52 +10:00
Nekokabu f4ab79a007 Fix Jangou Simulation Mahjong Dou 64 freeze
Fixed a read from over than ROM file.
2015-06-21 23:51:37 +09:00
Nekokabu f55db5aff4 Ssupport Shiren 64 Save
Ssupport Shiren 64 Save
2015-06-20 14:14:59 +09:00
MELERIX 48878d7e9c few more 2015-06-18 00:51:26 -03:00
MELERIX a4f8f52de9 minor fixes in english language file 2015-06-18 00:19:03 -03:00
Nekokabu 7748b0109c support 6103, 5, 6 2015-06-16 21:06:14 +09:00
Nekokabu a55e567b8b Add ROM Header CRC Recalculation
Add ROM Header CRC Recalculation
2015-06-15 22:08:07 +09:00
Nekokabu edb8d5288c Add ROM Header CRC Recalculation
Add ROM Header CRC Recalculation
2015-06-15 22:05:04 +09:00
Nekokabu 6b33847f2c ROM Header CRC Recalculation
ROM Header CRC Recalculation
2015-06-15 22:03:49 +09:00
Nekokabu dd0560c438 Add ROM Header CRC Recalculation
Add ROM Header CRC Recalculation
2015-06-15 22:00:37 +09:00
zilmar 0e6f462f8b Merge pull request #487 from Nekokabu/patch-6
Update N64 Types.h
2015-06-09 05:08:34 +10:00
zilmar d1f1f1d0e3 Merge pull request #488 from Nekokabu/patch-8
Update N64 Rom Class.cpp
2015-06-09 05:08:12 +10:00
zilmar 6c9ab5438f Merge pull request #489 from Nekokabu/patch-9
Update Rom Information Class.cpp
2015-06-09 05:07:02 +10:00
Nekokabu b17c3b7c89 Update N64 Class.cpp
Experimental: 64DD IPL support
2015-06-08 22:19:45 +09:00
Nekokabu fc1ce7f6d3 Update Rom Information Class.cpp
Experimental: 64DD IPL support
2015-06-08 22:05:56 +09:00
Nekokabu 1ab4e18c68 Update N64 Rom Class.cpp
Experimental: 64DD IPL support
2015-06-08 22:03:33 +09:00
Nekokabu e7e6dae283 Update N64 Types.h
Experimental: 64DD IPL support
2015-06-08 21:54:45 +09:00
zilmar 6d608cd6bc [Project64] Handle SW const to 0x1fc00000 2015-05-30 13:46:16 +10:00
LegendOfDragoon 03dae91dc8 Fix threading problem with AiUpdate
When you reset a game or switch to another game, it keep creating a new
thread even if one already exists. This can cause the emulator to crash.
2015-05-25 22:05:09 -07:00
unknown 6ef0a34188 [Project64] fixed warning C4018: '<' : signed/unsigned mismatch 2015-05-24 14:35:47 -04:00
unknown c30e41b102 [Project64] fixed warning C4018: '>' : signed/unsigned mismatch 2015-05-24 13:45:30 -04:00
unknown 068fbcbd13 [Project64] fixed warning C4018: '>=' : signed/unsigned mismatch 2015-05-24 13:33:56 -04:00
LuigiBlood ddd5b3e795 Updated 64DD Conversion CIC checksum for bugfix 2015-05-23 00:28:58 +02:00
zilmar f329b2d8f1 Merge branch 'master' of https://github.com/project64/project64 2015-05-22 06:12:08 +10:00
zilmar 6f56336031 [Project64] handle F3 A4 rep movs byte ptr es:[edi],byte ptr [esi] in exception handler 2015-05-22 06:09:33 +10:00
Emmet Young 007cbc1695 Address should actually of been stored into a DWORD 2015-05-18 14:19:31 +10:00
Emmet Young a89f1d29f5 Seperate rumblepak out from pif ram.cpp. Makes it easier to make changes to and cleans up Pif Ram.cpp
Also prepare for implementing the transfer pak.
2015-05-18 12:20:15 +10:00
zilmar 0c8d500328 Merge pull request #464 from AmbientMalice/patch-18
Change "segement" to "segment".
2015-05-16 11:05:35 +10:00
zilmar 13e62d7354 [64bit] Get nrage and rsp compiling as 64bit 2015-05-16 10:55:23 +10:00
AmbientMalice d3c04d6a1e Update Dma.cpp 2015-05-15 23:38:14 +10:00
zilmar e5c2df4dbc [Project64] Get the code to compile in 64bit 2015-05-15 08:38:52 +10:00
LuigiBlood 61c7f5ed78 Added "AllowROMWrites" RDB setting, DMA READ to ROM and updated RDB file 2015-05-14 14:34:45 +02:00
LuigiBlood 6f28b3e424 Added 64DD CIC support for Zoinkity's cartridge conversions of 64DD games. 2015-05-08 04:48:46 +02:00
MELERIX 779626d421 zlib cleanup
- Removed the old zlib files.
- PJ64 now uses the new zlib 1.2.8 files.
2015-05-07 23:25:02 -03:00
LegendOfDragoon 3d57e37a88 Make AudioResetOnLoad work with Fixed Audio Timing 2015-05-06 16:23:52 -07:00
Azimer f48d645f83 Missed a DoSomething 2015-05-05 17:49:06 -05:00
Azimer fe855ad5da Revert DoSomething from bool to BOOL #2
This fixes the interpreter
2015-05-05 11:46:25 -05:00
zilmar 9aa9061f07 Revert DoSomething from bool to BOOL 2015-05-04 17:23:36 +10:00
Lioncash 21c3c8fd32 Remove unnecessary struct/union typedefs 2015-05-03 20:13:12 -04:00
Emmet Young 6e897778dc Remove registry from Common. No longer used or needed. 2015-05-03 21:05:53 +10:00
zilmar c31e3f210c Merge pull request #425 from death-droid/UpdateZLib
Update ZLib to 1.2.8
2015-05-03 19:58:12 +10:00
zilmar c182ec9fd5 [Project64] Rom Browser - show good name in column other than the first 2015-05-03 19:54:06 +10:00
Lioncash 82c2554357 Convert BOOL to bool where possible. 2015-05-02 23:37:08 -04:00
zilmar 9984bed37c Merge pull request #429 from Azimer/FAT_Improvements
Fixed Audio Timing Improvements
2015-05-02 22:08:27 +10:00
Azimer ac8a33a3be Restructured IF statement 2015-05-02 02:01:10 -05:00
Azimer c970681595 Fixed Audio Timing Improvements
* A user-defined FAT value of 0 will cause it to calculate
* The second buffer shouldn't be part of the GetLegth returned value
* Rounded the GetLength values up and aligned to 4 bytes (sample size)
* Implemented ai_busy and changed the behavior of ai_full
* Changed the second buffer behavior
2015-05-02 01:37:23 -05:00
Emmet Young 312de4d2a4 Allow 7z files to actually work through "Open ROM". Removes the codes assumption it is being handed the ROM name its looking for in the file. 2015-05-02 00:53:57 +10:00
Emmet Young c9805dd5d3 Update ZLib to 1.2.8 2015-05-01 14:06:20 +10:00
zilmar f75a6e489c Merge pull request #423 from lioncash/void
Remove superfluous void parameter usages.
2015-04-30 10:43:32 +10:00
Emmet Young 23eeaeeb2c When scanning in 7z files make sure we are actually setting the rom file size.
Fixes issue #255
2015-04-29 23:02:53 +10:00
Lioncash d85f0c1283 Remove superfluous void usages
These aren't necessary in C++
2015-04-28 19:34:23 -04:00
theboy181 405f59eafc Fix Speeeling 2015-04-23 22:43:01 -07:00
Lioncash 6b7ecf0b79 Cheat Class: Replace is_valid_hex_digit
isxdigit does the same thing.
2015-04-22 14:06:56 -04:00
zilmar b5cd125809 Merge pull request #409 from cxd4/i_accidentally_your_function_inside_my_function
some more high-level code reusability via functions
2015-04-21 12:53:06 +10:00
zilmar 2bb9ac0754 Merge pull request #411 from cxd4/nub_lern_2_cheet
optimized cheat codes parsing a little bit
2015-04-21 08:49:56 +10:00
unknown 8df2172495 probably more readable, portable to just say this 2015-04-20 17:10:15 -04:00
unknown 0e05a71f2a guessing it's okay to have case-insensitive hex verify here too 2015-04-20 17:07:42 -04:00
unknown ec458785ea derp. 2015-04-20 17:05:06 -04:00
unknown 12b71f4c0c actually may be better as a static (possibly inline) function 2015-04-20 17:02:19 -04:00
unknown 3ef067f6d1 optimized hex digit verification a little 2015-04-20 16:52:48 -04:00
unknown ec9afe9c33 moved cheat code hex value verification to a central function 2015-04-20 16:31:26 -04:00
unknown 42643352b9 s/Initilize/Initialize 2015-04-20 16:01:18 -04:00
unknown 3b9ec019bc ya i r need h4lp plz i iz shot 2015-04-20 15:41:25 -04:00
unknown dbe9da858a no longer multiple references to recently added `STRING_SIZE` constant
It seems that zilmar would rather use the sizeof() operator repeatedly than to declare a new constant or use macros to show array sizes.  Since I have already centralized the usage of all sizeof() operators to the new high-level function I declared, I think that there is no longer use for the `STRING_SIZE` constant which Lioncash contributed.
2015-04-20 14:57:55 -04:00
unknown 9fcf4def63 reusable functions in high-level code for About dialog messages 2015-04-20 14:55:07 -04:00
zilmar bb9023292c fix #408 About Config Files not showing 2015-04-20 18:33:38 +10:00
zilmar edda4f0555 fix #376 - Games slow if no entry in Project64.cfg 2015-04-20 08:50:07 +10:00
Lioncash c0742b09b6 Gui Class: Fix potential wchar array overruns
sizeof(String) will return 400, which is past the bounds of the string array
2015-04-17 03:13:44 -04:00
Lioncash e9c056e5a4 Notification Class: Correct array sizing in SetWindowCaption
sizeof(wchar_t) is a size of 2 (or 4 if in a Linux environment). With the previous code, it would be trying to insert the null terminator at index 511 on Windows, which is incorrect.
2015-04-16 15:59:48 -04:00
Lioncash a7eb2e79e5 Memory Labels Class: Correct bounds clamping in ProcessCODFile 2015-04-16 15:44:06 -04:00
zilmar 45f7edf132 Merge pull request #392 from lioncash/leak
Language Class: Fix missing fclose in GetLangString
2015-04-17 04:45:00 +10:00
Lioncash 9fd1bdf29c Language Class: Fix missing fclose in GetLangString 2015-04-16 08:53:40 -04:00
Lioncash b8beaeffb7 N64 Class: Initialize variable before passing in initializer list
Silences an uninitialized variable warning.
2015-04-15 22:38:55 -04:00
Julio C. Rocha 33023bc81f Make PropertySheets imports non-conditional
Interpolated Platform and Configuration values to avoid case-by-case
condition validation.
(This could allow for future configurations and platforms without
additional modifications to VCXPROJ files).
2015-04-15 16:16:37 -07:00
zilmar a43b33d985 Merge pull request #370 from LegendOfDragoon/master
Fix losing audio while loading a save state
2015-04-13 10:00:31 +10:00
LegendOfDragoon 41c5e26e4a Make an rdb option for the save state audio fix
Now it is a per game config option.
2015-04-12 16:53:39 -07:00
LegendOfDragoon 61f80d3b55 Fix losing audio while loading a save state
This fixes the losing audio after loading a save state issue with
certain plugins in certain games. I was hesitant to submit this, since
the fault is the audio plugin itself, but this also fixes bad save
states. This will not fix games like Top Gear Rally.

Any plugin that initially had this problem, can still lose audio at any
given time, due to flaws in the audio plugin itself. It is best to
simply use a plugin that doesn't have this issue to begin with, for such
games.
2015-04-12 13:11:39 -07:00
Samuel Yuan 31cd0c6d98 Merge remote-tracking branch 'project64/master' 2015-04-11 11:38:22 -04:00
Samuel Yuan 5726992185 Added translation for "Detect Key" 2015-04-10 11:50:13 -04:00
Frank-74 b46bd392d6 Remove : from Advance block linking menu option 2015-04-10 08:53:51 +01:00
Samuel Yuan bd1186467d More language updates 2015-04-06 22:54:52 -04:00
Samuel Yuan bd275ae9e5 Merge remote-tracking branch 'project64/master' 2015-04-04 19:53:18 -04:00
zilmar 308a1c128e Merge pull request #342 from ExtremeDude2/More_Allman
Convert more files to allman
2015-04-04 22:01:54 +11:00
Samuel Yuan 217122a40e Fixed UTF-8 encoding for window title 2015-04-01 11:14:46 -04:00
Samuel Yuan df97b10d99 Fixed UTF-8 encoding for the "About Config Files" window 2015-03-30 16:47:57 -04:00
zilmar 2358e0897f Merge pull request #340 from toehead2001/master
Cheats window - Remove extra border around cheat list & Update checkmark gfx
2015-03-30 16:16:41 +11:00
Ryan Collins b807bc03ca Fix errors from missing or added brackets (and a letter!) 2015-03-29 17:58:51 -04:00
Ryan Collins 3eddfb8115 Update N64 System/Mips files to Allman 2015-03-29 13:19:28 -04:00
Ryan Collins 1b4d2d0cfb Update the N64 System/Interpreter files to allman 2015-03-29 11:02:27 -04:00
Ryan Collins 2a3d1c09ff Merge https://github.com/project64/project64 into More_Allman 2015-03-29 10:04:06 -04:00
zilmar 06f218a4c3 [Project 64] 2.2.0.3 2015-03-29 18:54:04 +11:00
toehead2001 5fd7f61e97 Cheats window - Remove extra border, Update checkmark gfx 2015-03-29 01:23:58 -06:00
zilmar 73620c8519 Merge branch 'master' of https://github.com/project64/project64 2015-03-29 17:35:53 +11:00
MELERIX 2878f53b75 Sync English.pj.Lang <==> Language Class.cpp 2015-03-28 21:57:02 -03:00
zilmar 84b9bbaf50 Clean up some brackets 2015-03-29 06:54:38 +11:00
Ryan Collins f8fd57d52e Merge https://github.com/project64/project64 into More_Allman 2015-03-26 15:40:16 -04:00
MELERIX dfbf29a035 Cleanup
Removed two duplicated variables in Game Settings.cpp
2015-03-26 02:28:05 -03:00
zilmar 7f44b12673 Merge pull request #327 from toehead2001/master
Remove the extra border around the ROM browser
2015-03-26 16:06:27 +11:00
toehead2001 17da1dbd38 Remove the extra border around the ROM browser 2015-03-25 22:38:59 -06:00
unknown 394144cf91 A comma should not precede a conjunction in a compound sentence.
... unless it is the joint between the main clause and subordinate clause of said compound sentence
2015-03-26 00:12:49 -04:00
unknown ae80595d47 fix a couple things I forgot to do/overlooked in the past commits 2015-03-26 00:11:43 -04:00
unknown 1fb3921402 Think of "32-bit engines", not "32 bit engines", which is ambiguous. 2015-03-25 23:31:28 -04:00
unknown 2220426a04 "Use High-Level Emulation Audio" doesn't make a lot of sense. 2015-03-25 23:29:02 -04:00
unknown e947bbc175 (It also believes in hyphens.) 2015-03-25 23:25:58 -04:00
unknown 5e17306b3e Conventional English writing avoids expressing (int < 100) as decimals. 2015-03-25 23:25:23 -04:00
unknown 401ff21d61 A complete English sentence always has a subject and a verb.
It also always ends with punctuation of some form, like a period.
2015-03-25 23:21:42 -04:00
unknown e38e6e6be4 In most cases, bytes aren't swapping images. Images get byte-swapped. 2015-03-25 23:18:31 -04:00