Commit Graph

2300 Commits

Author SHA1 Message Date
zilmar d2d0cc7e2e [Project] Separate out UI settings from core settings 2016-04-13 17:34:19 +10:00
zilmar 500ebf70af Merge pull request #1059 from cxd4/sizeof
Use sizeof() to eliminate respecification of array bounds.
2016-04-13 16:03:32 +10:00
98383267ba Just say 0x10000, not 1 << 16. 2016-04-12 16:55:54 -04:00
cd3960411a Use sizeof() to eliminate respecification of array bounds. 2016-04-12 11:50:57 -04:00
6123eb3df9 [Cheats UI] leftover references to std::strtoul 2016-04-12 11:42:18 -04:00
zilmar 4ee91c655c {project64] Add header to RomBrowserClass.cpp 2016-04-12 19:55:34 +10:00
zilmar 94f71e21be {Project64] Clean up NotificationClass.cpp 2016-04-12 19:54:47 +10:00
zilmar 07c6db1cce [Project64] Cleanup MenuShortCuts.cpp 2016-04-12 19:53:35 +10:00
zilmar 8a5c3990fb [Project64] Clean up UserInterface/MainMenuClass.cpp 2016-04-12 18:13:23 +10:00
zilmar b1239a44b5 [Project4] Clean up GuiClass.cpp 2016-04-12 18:07:01 +10:00
zilmar 13cfd8b728 [Project64] in CheaeClassUI.cpp change std::strtoul to strtoul 2016-04-12 18:01:11 +10:00
zilmar 5942722436 [Project64] Cleanup Settings/SettingsPage.h 2016-04-12 17:57:31 +10:00
zilmar 04747706f2 [Project64] Cleanup Settings/SettingsPage-Game-Status.cpp 2016-04-12 17:55:36 +10:00
zilmar 7424f8bd9d [Project] Update FindFirst attributes in Common/path.h 2016-04-12 17:53:40 +10:00
9ec5f74e13 memcpy() instead of delaying a fix to flash RAM byte order 2016-04-11 21:44:11 -04:00
d3794b4d02 fixed undefined type error in flash pre-buffer aliasing 2016-04-11 21:20:08 -04:00
zilmar afb194ca07 [Project64] Rmove windows.h from Flashram code 2016-04-11 18:28:18 +10:00
zilmar fe8b20e9d1 {Projct64] Put end emulation menu option in critical section 2016-04-02 21:34:28 +11:00
zilmar 5c84e78ee1 [Project64] do not use g_MMU in MemoryFilter if g_MMU is null 2016-04-02 21:32:09 +11:00
zilmar 5f5d24e7e9 [Project64] Remove settings from cfg file if match default 2016-04-02 20:47:01 +11:00
zilmar f0e422742e [Glide64] Make sure settings for game settings are saved 2016-04-02 20:46:22 +11:00
zilmar 723ecb80b3 [Glide64] Update game settings correctly based on selection 2016-04-02 20:44:29 +11:00
zilmar 9cfaede4eb [Glide64] Only add Texture config page when created 2016-04-02 20:01:37 +11:00
daf4e9aa6e [Glitch64] removed some leftover remnants of SDL in make script 2016-04-01 01:54:34 -04:00
f22f20e1ee [Glide64] wx stuff is irrelevant to PJGlide64 now. 2016-04-01 01:54:05 -04:00
10e7853c42 [Glitch64] Add Unix shell script for static Glitch64 lib. 2016-04-01 01:50:13 -04:00
eefbbd82c8 [Glide64] Add Unix shell script for linking against Glitch64. 2016-04-01 01:49:42 -04:00
b1ccf4a1ad [Glide64] got it compiling on Linux 2016-03-28 18:50:01 -04:00
485538d9c0 [Glide64] Only ban Set_Resolution for Android? 2016-03-28 17:20:48 -04:00
zilmar 8709d60852 Merge pull request #1051 from cxd4/Glitch64-fixes
[Glitch64] compiles now on Linux w/o warnings or errors
2016-03-29 07:19:04 +11:00
ec36ce09d2 [Glitch64] Throw an error if initializing GL on non-Windows. 2016-03-28 15:57:13 -04:00
1154a8f209 [Glitch64] Actually, never include SDL.h. 2016-03-28 15:53:47 -04:00
1c08efdd44 [Glitch64] Temporarily include SDL for non-WIN32, non-Android. 2016-03-27 17:53:15 -04:00
zilmar 0a40991049 [Glide64] Fix build problem 2016-03-28 08:19:29 +11:00
2918d6f6fe [Glitch64] fixed an indirect WIN32-ism of unknown origin 2016-03-27 17:09:52 -04:00
57f082f185 [Glide64] [Glitch64] fixed non-WIN32 regressions from 52aea87 2016-03-27 12:51:14 -04:00
zilmar 512a5978ad Merge pull request #1046 from cxd4/fix-glitch64-GL-extensions
[Glitch64] Fix missing GL extension prototypes on non-ES, non-WIN32 systems.
2016-03-27 07:34:00 +11:00
3f02994b18 Any non-GLES platform will need these defined. 2016-03-25 22:16:58 -04:00
b12d729144 Macro-out extension names on platforms where they are core. 2016-03-25 22:16:32 -04:00
2d7418c17c Only use #ifdef _WIN32 for WIN32-specific things, thanks. 2016-03-25 21:56:01 -04:00
0d3d42c7f9 standards-compliant #include of Util.h 2016-03-25 21:26:53 -04:00
d3f00b9897 Don't use _WIN32 to detect non-Android platforms. 2016-03-25 21:20:06 -04:00
zilmar ec23b07302 [Project64] Fix up plugin registering settings with default setting 2016-03-22 07:55:44 +11:00
Nekokabu aa4cc8afce Update MemoryVirtualMem.cpp 2016-03-21 23:00:21 +09:00
Nekokabu 667f95fe47 Update FlashRam.cpp 2016-03-21 22:59:13 +09:00
AmbientMalice a8d4c8e78b Port @Gonetz Bomberman 2 blend mode to Glide64.
I haven't tested this personally, since I can't load the save states because PJ64 has broken save state loading. But it should work. I personally want to see Glide64 replaced as soon as possible, but there's no harm porting such an obvious bug fix.
2016-03-21 11:33:31 +10:00
purplemarshmallow d46a9bc55a correct SemaphoreExit 2016-03-20 20:06:39 +01:00
purplemarshmallow ca3eacab27 add new per-game settings to the PJ64 RSP
mfc0 exit count and semaphore exit
2016-03-20 17:12:13 +01:00
zilmar fbcf54f306 Merge pull request #1024 from JunielKatarn/fix_glitch64_x64
Exclude OGLESwrappers.cpp also from x64 build.
2016-03-14 13:57:55 +11:00
Julio C. Rocha f8d9275dba Exclude OGLESwrappers.cpp also from x64 build. 2016-03-13 18:00:36 -07:00
Julio C. Rocha 3045fea07e Remove wxWidgets and SDL references from VCXPROJ files. 2016-03-11 19:00:15 -08:00
zilmar 52aea8738f [Glide64] Fix up to work on android 2016-03-11 05:29:41 +11:00
zilmar a7a0974b88 [Glide64] Move CHECK_FRAMEBUFFER_STATUS out of header 2016-03-11 05:06:18 +11:00
zilmar 00150137b3 [Glide64] Rename globals width and height to g_width and g_height 2016-03-11 04:21:56 +11:00
zilmar d0f8bfe763 [3rd Party] Remoe SDL 2016-03-10 22:21:26 +11:00
zilmar 959a77dcde [Project64] Use setting to get log dir 2016-03-10 22:15:40 +11:00
zilmar 043f0465cb [Glide64] Make Hi Res logs use char instead of wchar_t 2016-03-10 22:14:33 +11:00
zilmar 68a8ed0369 [3rd Party] Remove WX library 2016-03-09 20:57:14 +11:00
zilmar 6b1a02ee20 [Glide64] Missed added the resource items 2016-03-09 17:49:38 +11:00
zilmar b6f09f2df5 [Project64] Use WTL for config window 2016-03-09 17:44:01 +11:00
zilmar c9057b55f2 [Glide64] Add wtl about window 2016-03-09 09:22:28 +11:00
zilmar 9c8678482f [Glide64] fix up settings defaults 2016-03-09 08:55:19 +11:00
zilmar 19913f206b [Glide64] Make Set_Resolution, Set_wrpResolution windows only 2016-03-08 17:45:38 +11:00
zilmar b300eb6f6b [Glide64] Cleanup Config.h 2016-03-08 17:43:37 +11:00
zilmar 8ccee4b77a [Glide64] #include <memory> to Main.cpp 2016-03-08 17:36:18 +11:00
zilmar e29eb15cf4 [Glide64] Rename global romopen to g_romopen 2016-03-08 17:31:08 +11:00
zilmar 0fcb844ad7 [Glide64] Update usage of grQueryResolutionsExt 2016-03-04 08:01:02 +11:00
zilmar 4ac4885bda Merge branch 'master' of https://github.com/project64/project64 2016-03-04 06:19:29 +11:00
zilmar 0e0702fd42 [Glitch64] change grQueryResolutionsExt(FxI32*) to grQueryResolutionsExt(int32_t*) 2016-03-03 21:10:30 +11:00
zilmar 0a4e436c07 [Settings] Add RegisterSetting2 2016-03-03 21:07:16 +11:00
zilmar 2c648bd750 [Project64] Remove RomInformationClass.h from proect 2016-03-03 21:06:08 +11:00
zilmar 732ebbbcbf {Projet64] Remove MemoryClass.h from project 2016-03-03 21:04:33 +11:00
purplemarshmallow 271d4699b7 replace tabs with spaces 2016-02-29 23:06:42 +01:00
purplemarshmallow e85a14904b [Glide64] fix up LLE
Based on GLideN64
World Driver Championship now works with Glide64. A bit buggy still...
2016-02-29 18:27:04 +01:00
zilmar c12cd90928 [Project64] Fix up property sheets and project settings 2016-02-25 06:52:27 +11:00
zilmar d05f1fe43c [Glide64] Change the screen capture code to not use wx 2016-02-24 21:55:42 +11:00
zilmar fc304ec1dd [Project64] Eeprom should not try to write if read only 2016-02-24 18:10:27 +11:00
zilmar b59abd05fb [Glide64] replace wxDateTime with CDateTime 2016-02-24 18:07:50 +11:00
zilmar 8d6e71fa0a [Common] Add Date Time Class 2016-02-24 17:59:29 +11:00
Nicholas 1ed5b044b3 [Project64] fix issue in 2012 2016-02-24 10:06:52 +11:00
Nicholas 83490b75b6 [RSP] Fix linkage issue 2016-02-24 10:06:11 +11:00
zilmar 4d5f70cdd9 [3rd Party] Add png for vs 2008 2016-02-23 07:21:15 +11:00
zilmar 0ef39b2e78 [3rd Party] Add png 1.4.7 2016-02-22 17:12:55 +11:00
zilmar 79349daf0b [Glide64] make sure we have Set_log_dir 2016-02-22 17:11:13 +11:00
6075a2f4a3 [RSP] Macro-out some more WIN32 UI-specific stuff. 2016-02-15 15:55:07 -05:00
b349f3c239 [RSP] Use the central EXPORT #define for spec funcs. 2016-02-15 15:10:49 -05:00
30aedd45ba [RSP] typo in re-compiler ops 2016-02-15 14:12:33 -05:00
3d7346239d [RSP] Optimize compiling scalar whole selections. 2016-02-15 13:39:28 -05:00
zilmar 818f1998e0 Merge pull request #1001 from cxd4/rsp-kill-main-errors
[RSP] Kill all errors related to BOOL/TRUE/FALSE.
2016-02-16 04:01:44 +11:00
6eed5ce876 [RSP] fixed all BOOL/TRUE/FALSE errors 2016-02-14 14:01:49 -05:00
9c9ffeed06 [RSP] fixed a couple more case-sensitive header includes 2016-02-14 13:52:55 -05:00
c20af1aff1 [RSP] s/BOOL/Boolean 2016-02-14 13:49:47 -05:00
zilmar 9b39879a32 [Glide64] Change display_warning to WriteTrace 2016-02-14 19:59:33 +11:00
zilmar 89162c784e [RSP] Fix compile issues 2016-02-14 17:03:35 +11:00
zilmar 761ecedb4a Merge pull request #1000 from cxd4/umm-ya-dunno-wot-goes-here
[RSP] Attempt to typedef-out WIN32 types to custom standards?
2016-02-14 16:33:22 +11:00
zilmar 5b8ae661fb Merge pull request #999 from cxd4/rsp-dma-compiles
[RSP] Get Dma.c to compile without errors/warnings outside Windows.
2016-02-14 16:32:27 +11:00
zilmar 4004303854 Merge pull request #994 from cxd4/even-moar-rsp-things
[RSP] Get Main.cpp to start to compile outside of Windows.
2016-02-14 16:28:24 +11:00
1eb6dafd65 [RSP] Without MessageBox(), windows.h has no use here. 2016-02-13 16:42:58 -05:00
00cc4344d7 [RSP] Attempt to typedef-out WIN32 types to custom standards? 2016-02-13 15:14:44 -05:00
dd6a6fcc94 [RSP] dma.c: unresolved memcpy() 2016-02-13 15:01:41 -05:00
74b72ba294 [RSP] dma.c: Replace windows.h by using DisplayError(). 2016-02-13 14:58:42 -05:00
c8dc0478f0 [RSP] dma.c: Use standard integer types. 2016-02-13 14:33:16 -05:00
e20b80e65c [RSP] Try to introduce a new type for Booleans. 2016-02-11 20:15:19 -05:00
e14b9d5c58 [RSP] Try to use JunielKatarn's error paste to sync Main.cpp. 2016-02-11 17:23:50 -05:00
2a13b62d0f [RSP] Remove _WIN32-isms from body def. to AsciiToHex. 2016-02-11 17:00:30 -05:00
9b5f429a97 [RSP] Get Main.cpp to start to compile (no fatal errors). 2016-02-11 16:45:04 -05:00
a774c8c5fd [RSP] Main.cpp: Macro out #include requiring _WIN32. 2016-02-11 16:44:13 -05:00
2c5203c534 [RSP] s/opcode.h/OpCode.h 2016-02-11 16:42:40 -05:00
zilmar caf22acb68 Merge pull request #993 from cxd4/moar-rsp-things
[RSP] Get Dma.c to start to compile outside Windows.
2016-02-11 21:37:05 +11:00
zilmar d06359447e Merge branch 'master' of https://github.com/project64/project64 2016-02-11 20:59:39 +11:00
zilmar d70f9a6733 [Glide64] Fix up a lot of the logging code 2016-02-11 20:58:42 +11:00
1be25ea698 [RSP] s/types/Types 2016-02-11 03:33:11 -05:00
39387f6ec0 [RSP] memory.h: Get rid of #include <windows.h>. 2016-02-11 03:31:24 -05:00
88289a4ebf [RSP] Match BOOL w/ int for ABI strictness. 2016-02-11 03:25:33 -05:00
41cf392840 [RSP] Substitute uint32_t for DWORD. 2016-02-11 03:23:15 -05:00
34ae28fdea [RSP] Replace HINSTANCE/HWND/etc. with void* to match PJ64. 2016-02-11 03:18:00 -05:00
9ed9529cfe [RSP] Fix #include Rsp.h for file system case-sensitivity. 2016-02-11 03:04:45 -05:00
zilmar 6bdd5dd330 [Glide64] Clean up FBtoScreen.cpp 2016-02-11 18:13:51 +11:00
zilmar fb82959863 [Glide64] Change UNIMPMODE(); to use new trace 2016-02-10 21:50:00 +11:00
zilmar d8e8523983 [Settings] Sync code 2016-02-10 19:57:41 +11:00
zilmar 7a638a3d7d Merge pull request #990 from death-droid/PakInitQuickfix
Ensures paks are only being initialized when they have actually been …
2016-02-10 19:49:30 +11:00
zilmar e8d5e8be9c [Glide64] Remove LOG_KEY 2016-02-10 18:13:49 +11:00
zilmar 38ce8a3c83 [Glide64] Setup Tracing 2016-02-10 18:10:12 +11:00
zilmar c017515247 [Glide64] Add dependancy of zlib to GlideHQ 2016-02-10 18:07:03 +11:00
zilmar 5ddc89571f [Glide64] Get text cache to use char * 2016-02-10 18:02:20 +11:00
zilmar 3d384808bd [Glide64] Remove SDL from TexCache.cpp 2016-02-10 17:50:24 +11:00
zilmar 236a4d2704 Merge branch 'master' of https://github.com/project64/project64 2016-02-10 17:47:17 +11:00
LegendOfDragoon b483b76504 Optimize UpdateTimers for when wired != 0 2016-02-09 18:20:05 -08:00
LegendOfDragoon b066192abf Optimize commonly executed loop in PI_DMA_WRITE 2016-02-09 18:13:21 -08:00
LegendOfDragoon ad5370a252 Statically round up PI_WR_LEN_REG to nearest even 2016-02-09 17:21:29 -08:00
LegendOfDragoon cb3ada6ece Optimize CheckInterrupts
Using local variables significantly improves the performance.
2016-02-09 16:59:46 -08:00
Emmet Young c696cb79c3 Ensures paks are only being initialized when they have actually been selected, Transferpak needs multi controller support eventually as it currently just loads from the one singular option. 2016-02-09 18:57:30 +11:00
zilmar a43449ea0e Merge pull request #987 from cxd4/settings
[Settings] Get it building on non-Windows platforms.
2016-02-09 10:55:19 +11:00
fd4c2902d2 [Settings] added working Unix build shell script 2016-02-06 17:35:50 -05:00
56ed3cbc66 [Settings] unresolved strlen() 2016-02-06 17:34:46 -05:00
7e7f78630c [Settings] _snprintf is #define'd in Common/Platform.h. 2016-02-06 17:33:46 -05:00
4dcc7eda5c [Settings] Replace DWORD w/ unsigned long or maybe uint32_t. 2016-02-06 17:31:52 -05:00
393cbc09dd [Settings] Remove windows.h to see why we need it. :P 2016-02-06 17:25:04 -05:00
3038a8f288 [Settings] #define EXPORT to abolish some MSVC-isms. 2016-02-06 17:23:27 -05:00
zilmar 26565f1a9b Merge pull request #986 from Nekokabu/patch-2
disable some trying to store XXXXXXXX error
2016-02-07 06:16:53 +11:00
zilmar c7635a8194 Merge pull request #985 from cxd4/common-shell-x64PIC
[Common] 64-bit needs -fPIC for sectional linkage.
2016-02-07 06:15:56 +11:00
Nekokabu b9b64035b5 disable some trying to store XXXXXXXX error 2016-02-06 23:05:32 +09:00
37f41f2d45 [Common] 64-bit needs -fPIC for sectional linkage. 2016-02-06 05:36:44 -05:00
LegendOfDragoon e08b1b93ec Optimize UpdateTimers 2016-02-06 00:07:15 -08:00
zilmar 917d90b057 Merge pull request #981 from cxd4/glide-trace-string
[Glide64] undeclared memset and strlen in trace.cpp
2016-02-06 13:11:04 +11:00
a8fa006740 [Glide64] undeclared memset and strlen in trace.cpp 2016-02-05 18:53:58 -05:00
zilmar 3ab7328daf Merge pull request #979 from cxd4/patch-1
[Common] leftover remnant of Win32 command shell
2016-02-06 06:56:09 +11:00
zilmar 3bc6aa55cc Merge pull request #978 from cxd4/glitch-WriteTrace
[Glitch64] unresolved reference to old macro LOG()
2016-02-06 06:55:07 +11:00
zilmar bdeeef1fd5 Merge pull request #977 from cxd4/glitch-includes
[Glitch64] need forward slashes for C standard paths
2016-02-06 06:54:35 +11:00
cxd4 1580876b15 [Common] leftover remnant of Win32 command shell
I found out the hard way while getting `libglitch64.a` to link into PJ64 Glide64 on Linux that I was getting an 8-byte static library file.  This was because the Unix shell variable `$OBJ_LIST` was null, due to using the `set` keyword which was a result of lazy copy pasta while porting my MinGW script to compile the PJ64 Common library on Windows.
2016-02-05 03:32:43 -05:00
3609ca388e [Glitch64] unresolved reference to old macro LOG() 2016-02-05 02:57:00 -05:00
8e11a9e1ae [Glitch64] need forward slashes for C standard paths 2016-02-05 02:46:48 -05:00
ab55df84e2 [Glide64] fixed yet again the case-sensitive include 2016-02-04 20:48:44 -05:00
zilmar 2ec7a92dfc Merge pull request #973 from cxd4/mempak-OCD
[Project64-core] OCD clean-ups with the mempak unit
2016-02-05 08:23:14 +11:00
zilmar e5cd8765f8 Merge pull request #972 from cxd4/mempak-stdio
[Project64-core] Have stdio.h to guarantee fopen() and fclose().
2016-02-05 08:21:06 +11:00
cf221dc21b Don't use lowercase digits in hex. 2016-02-04 14:47:47 -05:00
3dbe8d1494 padding by saying + 0 for consistency 2016-02-04 14:40:45 -05:00
ebbecdef7e 0x8000 = 32768 = pages * bytes_per_page 2016-02-04 14:39:43 -05:00
8be4b5bb0e Use size_t. 2016-02-04 14:37:54 -05:00
b50313da98 Use sizeof() instead of re-pasting a size literal. 2016-02-04 14:37:27 -05:00
a8116b0908 Technically, Initialize[] is an array, not a pointer. 2016-02-04 14:35:00 -05:00
17a2b6e8fc Make it const since we'll never write to it. 2016-02-04 14:34:07 -05:00
25c537613e *Statically* allocate mempak page 0 buffer. 2016-02-04 14:32:43 -05:00
ab7671964b Re-express Mempaks[][] allocation as pages * bytes_per_page. 2016-02-04 14:30:23 -05:00
41ff26122a Have stdio.h to guarantee fopen() and fclose(). 2016-02-04 14:16:46 -05:00
53e07d02e2 Have <memory> included to guarantee std::auto_ptr. 2016-02-04 14:09:56 -05:00
zilmar d6722faee6 [Glide64] Clean up GlideHQ/TxHiResCache.cpp 2016-02-05 04:35:02 +11:00
zilmar d8a35cbfba [Glide64] Clean GlideHQ/TxFilter.cpp 2016-02-05 04:32:36 +11:00
zilmar b2541f40bd [Glide64] Cleanup GlideHQ/TxDbg.cpp 2016-02-05 04:31:18 +11:00
zilmar 0ebcf6d608 [Glide64] Clean up GlideHQ/TxCache.cpp 2016-02-05 04:28:21 +11:00
zilmar 612bbb71e5 [Project64] Add GBCart.cpp to vs2008 2016-02-04 22:03:16 +11:00
zilmar 1c10025848 [Project64] Add N64System\Mips\Transferpak.cpp to vs2008 project 2016-02-04 21:57:34 +11:00
zilmar 77665d7278 [Glide64] Remove 3rdParty/glide 2016-02-04 21:50:43 +11:00
zilmar a99a64dc03 [Glide64] Fix up missing log message 2016-02-04 21:49:54 +11:00
zilmar 7fe12881df [Project64] Use Common/stdtypes.h instead of stdint.h 2016-02-04 21:28:07 +11:00
zilmar 3914220a30 Merge pull request #965 from death-droid/TransferPack
Transfer pack
2016-02-04 21:24:47 +11:00
zilmar 4921024636 [Glide64] New trace method 2016-02-04 21:22:19 +11:00
zilmar e9c3d01d38 [Glide64] Clean up OGLcombiner.cpp 2016-02-04 19:45:53 +11:00
zilmar ee5a59910c [Glide64] Clean up OGLgeometry.cpp 2016-02-04 19:34:02 +11:00
zilmar 009dfa94f3 [Glide64] Clean up OGLtextures.cpp 2016-02-04 17:08:24 +11:00
Emmet Young 494ad71352 Change declaration, we should only need int. 2016-02-04 12:57:09 +11:00
zilmar eab47fdd82 [Glide64] Clean up OGLglitchmain.cpp 2016-02-04 08:21:30 +11:00
Emmet Young e6b1fd3aec Fix up reading and writing of the RTC data to the save file.
Correct the RTC emulation behaviour, made it more like NRAGES, various emulators i was basing mine off seemed to not correctly update the RTC.
2016-02-04 00:33:03 +11:00
Emmet Young dd7cf4af10 Missed two frees, when swapping out for deletes 2016-02-03 13:42:06 +11:00
Emmet Young 26d4bea1f1 Switch to using an auto_ptr for our buffers, and switch fopen/fwrites. to make use of the CFile class. 2016-02-03 13:34:52 +11:00
Emmet Young 696d419e5b Improve behaviour of MBC3 if statements. 2016-02-02 19:44:18 +11:00
Emmet Young aab625734d Fix up spelling mistake in Tansferpak.cpp naming, 2016-02-02 15:09:47 +11:00
zilmar c59b716e8b [Glide64] Fix 2008 project 2016-02-02 03:47:09 +11:00
Emmet Young 1ddeb52f7f Allow transferpaks to be set through the RDB. Still need to implement the actual settings in the GUI 2016-02-01 23:41:46 +11:00
Emmet Young 258a5a0eb8 Transferpak: Add support for RAM saving, and RTC saving (Visual Boy Advance format)
Remove UpdateRTC() till I can get a better idea if the RTC code works properly.
2016-02-01 19:58:37 +11:00
zilmar dba3b94dfb [Glide64] Get Settings to be a class instead of a struct 2016-02-01 19:56:25 +11:00
zilmar 2b6fdc000e [Project64] Add more logging 2016-02-01 17:33:19 +11:00
zilmar b8bdf17499 [Project64] Add Notification on directory changed 2016-02-01 17:31:33 +11:00
zilmar 2e70c734b5 [Project64] Add Directory_Log setting 2016-02-01 17:30:22 +11:00
zilmar e2f9881864 [Project64] fix log message text in Plugins/PluginList.cpp 2016-02-01 17:10:43 +11:00
zilmar c23f5fe955 [common] Add #include "StdString.h" to Common/LogClass.h 2016-02-01 17:10:04 +11:00
zilmar d70ad198b4 Merge branch 'master' of https://github.com/project64/project64 2016-02-01 17:05:45 +11:00
zilmar 6aaf0f0f8e [Project64] Add #include <map> to Settings/SettingsClass.h 2016-02-01 17:05:30 +11:00
zilmar a985d587bd [Project64] 7Zip just on windows 2016-02-01 17:04:05 +11:00
zilmar 4f61d7c5a3 [Project64] Get MempakNames to set path in CPath constructor 2016-02-01 17:03:19 +11:00
zilmar 649cc48598 [Project64] Add #include <stdlib.h> for strtoul 2016-02-01 17:02:14 +11:00
zilmar ee51201eae [Glide64] Get ext_ghq_init to have texture dir is char * 2016-02-01 17:01:11 +11:00
zilmar 71710be0b8 [Project64] Add some logging to AppInit 2016-02-01 16:57:59 +11:00
luigiblood 6469b523b4 [64DD] Add brackets for if g_DDRom == NULL 2016-02-01 01:38:27 +01:00
luigiblood f63b746c73 [64DD] Load 64DD IPL on g_DDRom seperately
Fixes double g_Rom delete which makes Windows not happy.
2016-02-01 01:31:14 +01:00
luigiblood d2d611c137 [64DD] Only Head 0 Track 6 is supposed to fail. 2016-01-30 22:23:27 +01:00
Emmet Young 74d3825870 Basic implementation of the RTC for the Transferpak.
Unable to properly test this due to Project64 not being able to emulate the co-processor - http://www.emutalk.net/threads/54598-Pok%C3%A9mon-Stadium-%28Pocket-Monster-Stadium%29-requires-RSP-emulation @project64 @LuigiBlood @LegendOfDragoon
2016-01-31 01:52:26 +11:00
Emmet Young ff5fcf6d33 Basic implementation of the Transferpak, is now partially working.
Have to re-implement the RTC and ensure the mbc emulation of all current carts is accurate.
Settings implementation needs to be done as well.

This code is based on work from NRAGE and Bobby Smiles work on Mupen64plus's implementation.
2016-01-29 22:17:59 +11:00
zilmar 5cad324699 Merge pull request #958 from LuigiBlood/64dd_2
64DD IPL ROM Recompiler support
2016-01-29 10:06:21 +11:00
luigiblood 03bd97c46b [Recompiler] Fix COP0_MT() Cause case
Results in 64DD IPL ROM fully working in Recompiler.
Thanks zilmar!
2016-01-28 23:59:53 +01:00
zilmar 5f0a77f897 Merge pull request #957 from cxd4/BOOL-does-not-name-a-type
[Settings] InitializeSettings() can return bool.
2016-01-29 08:02:44 +11:00
a591fefccb [Settings] InitializeSettings() can return bool. 2016-01-28 15:21:23 -05:00
d267a1b895 Include stdarg.h for va_start and va_end. 2016-01-28 15:07:00 -05:00
b759a60417 Include string.h where needed. 2016-01-28 15:00:13 -05:00
fa90c2a472 s/config.h/Config.h 2016-01-28 14:37:37 -05:00
zilmar 6b50bc4ff4 Merge pull request #950 from death-droid/PifRAMCleanupChanges
Prepare the emulator for easier implementation of the transferpak, pa…
2016-01-29 05:13:06 +11:00
zilmar 4203cbd2ef [Common] Make sure we always have a path in CPath::SetComponents 2016-01-29 04:34:50 +11:00
Emmet Young c6fa59ac3a Made a slight mistake when porting over from my old branch.
Mempak and Rumblepak will work fine again.
2016-01-28 22:51:48 +11:00
Emmet Young e879431606 Prepare the emulator for easier implementation of the transferpak, pass Command[5] directly into the Pak functions, and also generate the address beforehand. 2016-01-28 21:58:14 +11:00
zilmar 3a1fc904c6 [Project64] Code cleanup and added some more log messages 2016-01-28 20:40:08 +11:00
zilmar a6bfe74a28 [Project64] Be able to pass base dir to app init 2016-01-28 20:37:44 +11:00
zilmar 8df90936f8 Merge pull request #944 from LuigiBlood/64dd_2
Fix Disk.cpp time/date code & F-Zero X (J) RDB update
2016-01-28 17:51:00 +11:00
Emmet Young 643a684c77 Change up the way Mempaks are meant to work, use the standard file functions. Mempaks are now loaded in when the game launches, and file handles are only opened durring read and writes 2016-01-28 14:02:05 +11:00
luigiblood 5505db5201 Fix Disk.cpp time/date code 2016-01-27 22:41:31 +01:00
zilmar 72e6928ea8 [Project64] Remove duplicate Rdb_FixedAudio 2016-01-27 20:54:22 +11:00
zilmar 8bf0902d33 [Projct64] Use real value for _RC_NEAR, _RC_CHOP, etc 2016-01-27 20:53:08 +11:00
zilmar 2d435936ec [Project64] Change DWORD to uint32_t in CRecompilerOps::SPECIAL_DADDU 2016-01-27 20:51:16 +11:00
zilmar 3e888b9b74 {Project64] Clean up some code in N64Class.cpp 2016-01-27 20:50:25 +11:00
zilmar 434e8807ac [Projecy64] Cleanup usage of __FUNCTION__ in FlashRam.cpp 2016-01-27 20:49:26 +11:00
zilmar 94a7f2f8b5 [Project64] Remove windows.h from Eeprom.cpp 2016-01-27 20:39:46 +11:00
zilmar 26cb3c98c3 [Project64] More line endings ? 2016-01-27 20:39:06 +11:00
zilmar a228a9d1f9 line ends ? 2016-01-27 20:11:59 +11:00
zilmar 2b2283d876 [Project64] Add N64DiskClass.cpp to vs 2008 project 2016-01-27 20:09:54 +11:00
zilmar ba7bf929a2 Merge pull request #866 from Jeremy517/master
Allow for pushing two C Buttons at once when using an analog stick
2016-01-27 19:10:19 +11:00
zilmar 7032ab5d33 Merge pull request #941 from AmbientMalice/new_SM64_wobble_fix
Super Mario 64 wobble fix
2016-01-27 19:08:55 +11:00
zilmar a86ba8db2d Merge pull request #937 from LuigiBlood/64dd_2
64DD support
2016-01-27 19:07:19 +11:00
AmbientMalice 5b82ca80da Fix Mario 64 texture wobble (ported from libretro)
Thanks to anon on /emugen/ for pointing this out. Original fix here bc23392568
2016-01-27 15:26:28 +10:00
luigiblood 4bf95e61f1 Open ROM/Drag&Drop Error fixed, delete g_DDRom if normal N64 ROM play 2016-01-26 16:43:44 +01:00
luigiblood 7c468bd624 Drag & Drop 64DD Disk support 2016-01-26 15:55:30 +01:00
luigiblood 226c29d5c7 Disk Conversion support, AppCleanup() update
There's still a problem with Open ROM but other than that it's fully functional.
2016-01-26 15:31:24 +01:00
luigiblood 96a6862c80 Use Open ROM to open Disk instead
It's a much better idea anyway.
2016-01-26 03:04:48 +01:00
cxd4 5952632d76 [Glide64] restored the explicit "Error" box titles 2016-01-25 17:13:27 -05:00
luigiblood f0b81bbfc0 Added "Open Disk" to File menu. 2016-01-25 22:39:26 +01:00
cxd4 a10200cbce [Glide64] NULL MessageBox title instead of "Error"
According to MSDN, a MessageBox whose title param is a null pointer defaults to the text "Error".
So instead of allocating extra bytes to pass a pointer to the string `"Error"`, why not pass NULL?

Actually the real reason why I made this PR was me having OCD against a cosmetic spacing inconsistency introduced in this commit:  aefe8e603c .  So if you prefer "Error" over NULL I'll just undo that part of this PR and keep the line break change in instead. :P
2016-01-25 15:31:04 -05:00
luigiblood 39a1c9f407 Added "Play Game with Disk" option 2016-01-25 20:58:57 +01:00
luigiblood 82779033d3 Disk Write fixed, Recompiler support tentative
Unfortunately there's an opcode that Recompiler doesn't recognize.
However once it's implemented, there's no reason it shouldn't work.
For Disk Writing, so far it works, it seems to not have any trouble so far.
2016-01-25 15:47:12 +01:00
zilmar 989c7294cc [Glide64] Cleanup texture code 2016-01-25 22:26:42 +11:00
zilmar 308010e16c [Glide64] Remove some wx headers 2016-01-25 22:20:55 +11:00
zilmar 166e5cdace [Glide64] convert wxInt16 to int16_t 2016-01-25 22:17:03 +11:00
zilmar 4fc4f921e9 [Glide64] Cleanup ucode .h files 2016-01-25 22:14:01 +11:00
zilmar b8cbfa30c4 [Glide64] change wxUIntPtr to uintptr_t 2016-01-25 22:13:35 +11:00
zilmar 5c9962684f [Glide64] Clean up some code related to screen capture 2016-01-25 22:00:45 +11:00
zilmar 76a3db6568 [Glide64] fix up rom name being sscii 2016-01-25 21:34:16 +11:00
zilmar 0f185260f4 [Glide64] Rename wxChar to char 2016-01-25 21:27:59 +11:00
zilmar 38205b5ee8 [Glide64] Cleanup rdp.h 2016-01-25 21:25:32 +11:00
zilmar 5a68a1f721 [Glide64] Convert wxUIntPtr to uintptr_t 2016-01-25 21:23:28 +11:00
zilmar 5959a9a0a0 [Glide64] Convert wxInt32 to int32_t 2016-01-25 21:15:26 +11:00
zilmar aefe8e603c [Glide64] remove wx/confbase.h from rdp.cpp 2016-01-25 21:12:11 +11:00
zilmar 5fa34066c2 [Glide64] Add stdlib.h to Gfx_1.3.h 2016-01-25 21:07:57 +11:00
zilmar 09da116723 [Glide64] Rename max and min to be maxval and minval 2016-01-25 20:58:29 +11:00
zilmar 834210eaf9 [Glide64] Remove usage of _() 2016-01-25 20:49:28 +11:00
zilmar be46977de9 [Glide64] Add critical section in to dlist/config 2016-01-25 20:33:04 +11:00
zilmar 76196d4d70 [Project64] Remove SoftLocker 2016-01-25 18:20:46 +11:00
zilmar 0473d5126b Glide64] Remove usage of wxT 2016-01-25 18:15:46 +11:00
zilmar 9b6f159d75 [Glide64] Remove GFXWindow 2016-01-25 18:00:01 +11:00
zilmar ffc6c41201 [wx] Hack wxRGBToColour to hide VS size check 2016-01-25 17:58:33 +11:00
zilmar f0f8f76cfc [Glide64] Add extern "C" to export 2016-01-25 17:36:56 +11:00
zilmar a45d503e99 [Glide64] Convert wxUint8 to uint8_t 2016-01-25 05:45:15 +11:00
zilmar bcba810c66 [Glide64] Convert wxUint16 to uint16_t 2016-01-25 05:41:08 +11:00
zilmar 0d0923eab8 [Glide64] Make config _WIN32 only 2016-01-25 05:38:52 +11:00
luigiblood b31d18d8c4 Working Read (Interpreter only)
Write is slightly buggy for some reason.

Conflicts:
	Source/Project64-core/N64System/Mips/Disk.cpp
	Source/Project64-core/N64System/Mips/Dma.cpp
	Source/Project64-core/N64System/Mips/MemoryVirtualMem.cpp
2016-01-23 22:58:45 +01:00
LegendOfDragoon 392d63a0de Fix regression in CRecompilerOps::SPECIAL_DADDU()
It should only add carry if GetMipsRegLo(source2) != 0
2016-01-23 02:18:08 -08:00
luigiblood 305f4cfb16 Fixed code and credited Happy_
Good timing needed to fully work. (Not figured out)
2016-01-22 03:17:25 +01:00
Nekokabu a09eaca83c Update UIResources.rc
Enable Use System Font
2016-01-22 00:39:26 +09:00
zilmar 54d203e90d [Project64] Add disk.cpp to vs2008 project 2016-01-21 06:14:16 +11:00
zilmar 80cd85b9a9 [Glide64] Remove wxString usage from Glide64/rdp.cpp 2016-01-21 06:09:35 +11:00
zilmar 7a0c017571 [Glide64] Remove mutexProcessDList 2016-01-21 05:55:46 +11:00
zilmar 08c518d38c [Glide64] Convert wxUint32 to uint32_t 2016-01-21 05:33:48 +11:00
zilmar 0b41fa2e17 [Glide64] Revert some of the indentation in Glide64/Combine.cpp 2016-01-21 05:32:32 +11:00
zilmar 4c203ab042 [Glide64] Remove drawNoFullscreenMessage 2016-01-21 05:27:05 +11:00
zilmar 919a1f9c20 [Glide64] Revert some of the checks in TexCache.cpp 2016-01-21 05:22:45 +11:00
zilmar 9c0a897e57 [Glide64] Fix some of the run time checks 2016-01-21 04:39:18 +11:00
zilmar 2b9cdb12c3 [Glide64] rename fullscreen to GfxInitDone 2016-01-21 04:12:15 +11:00
luigiblood 0501eb70da 64DD Sector Read working 2016-01-20 17:43:23 +01:00
luigiblood 002cb7f5ce 64DD support tentative 2016-01-20 14:31:29 +01:00
zilmar 5a4ea8ad1f [Glide64] Code cleanup of ucode06.h 2016-01-20 21:01:42 +11:00
zilmar 6bf2738632 [Glide64] Code Cleanup of Glide64/rdp.cpp 2016-01-20 21:00:58 +11:00
zilmar ce870d82e5 [Glide64] Code Cleanup of TexCache.cpp 2016-01-20 21:00:15 +11:00
zilmar a2747bb9d1 [Glide64] Code cleanup of Glide64/Util.cpp 2016-01-20 20:59:35 +11:00
zilmar 26122a337d [Glide64[ Code clean up of TexBuffer.cpp 2016-01-20 20:43:44 +11:00
zilmar 8b220f06bc [Project64] Code cleanup of Glide64/Combine.cpp 2016-01-20 20:14:28 +11:00
zilmar 6f71a37da5 [Glide64] Add Gfx_1.3.h to the project 2016-01-20 19:40:01 +11:00
zilmar 5fffda4115 [Glide64] Cleanup Config.cpp 2016-01-20 19:39:07 +11:00
zilmar 6d74a71bd1 [Glide64] Cleanup Gfx_1.3.h 2016-01-20 19:37:38 +11:00
zilmar 28f0dd7388 [Glide64] Auto code cleanup Glide64/Main.cpp 2016-01-20 17:29:27 +11:00
zilmar 3a980f18d6 [Project64] rename wxUint16 to uint16_t 2016-01-20 17:26:07 +11:00
zilmar d1bcbde69a [Project64] Rename wxUint8 to uint8_t 2016-01-20 17:17:45 +11:00
zilmar dae0c8827c [Project64] Convert wxUint32 to uint32_t 2016-01-20 17:14:48 +11:00
zilmar 3406831a49 [Project64] Make sure Common is in uppercase 2016-01-20 17:09:05 +11:00
zilmar 6e972c4660 [Glitch64] switch "../Settings/Settings.h" to <Settings/Settings.h> 2016-01-20 17:07:06 +11:00
luigiblood 25f56e6887 Added CN64Disk class with basic functions 2016-01-20 01:14:18 +01:00
zilmar 6fbfc144b5 Merge pull request #911 from LuigiBlood/64dd
64DD RTC support, Enable Disk setting
2016-01-20 09:20:34 +11:00
luigiblood 530ef48eb2 64DD RTC support, Enable Disk setting 2016-01-19 19:53:18 +01:00
zilmar 530245e938 Merge pull request #901 from LuigiBlood/64dd
Retail 64DD IPL ROM support (boots)
2016-01-19 08:22:32 +11:00
LegendOfDragoon 53baf6d792 Fix issue with SPECIAL_DADDU 2016-01-18 12:22:58 -08:00
luigiblood 4fb6c2219d Retail 64DD IPL ROM support (boots) 2016-01-18 20:15:01 +01:00
zilmar 691f09159b [Project64] remove Speed limiter code from non windows 2016-01-18 22:32:50 +11:00
zilmar 1dd05282d8 [Project64] Misc code clean up 2016-01-18 22:31:36 +11:00
zilmar 5dca0c80a5 [Project64] Use memory management code for RecompilerMemory.cpp 2016-01-18 22:30:01 +11:00
zilmar b8c00dd5fe [Project64] Remove #include <Objbase.h> from RecompilerClass.cpp 2016-01-18 22:28:38 +11:00
zilmar 0f57b5d42e [Project64] Clean up some code related to Settings Type files 2016-01-18 22:27:25 +11:00
zilmar 821922f133 [Project64] Clean up code related to plugins 2016-01-18 22:26:15 +11:00
zilmar df04d377e0 [Project64] Clean up ProfilingClass.cpp 2016-01-18 22:25:10 +11:00
zilmar b173fbb642 [Project64] Remove windows.h from CodeSection.cpp 2016-01-18 22:04:49 +11:00
zilmar 9bdea7da40 [Project64] Remove Protect Memory duplicate code 2016-01-18 22:02:50 +11:00
zilmar 9b2a398181 [Project64] get SystemTiming.cpp to use standard types 2016-01-18 22:00:16 +11:00
zilmar 0175adc49f [Project64] Get Sram to use standard types 2016-01-18 21:02:01 +11:00
zilmar ae734ed71c [Project64] Get Rumblepak.cpp to use standard types 2016-01-18 19:55:34 +11:00
zilmar 790de2eace [Project64] get PifRam.cpp to use standard types 2016-01-18 19:54:39 +11:00
zilmar b17ce831f2 [Project64] Cleaned up some warning in MemoryVirtualMem.cpp 2016-01-18 19:52:14 +11:00
zilmar e5fe71278a [Project64] Remove usage of windows.h from FramePerSecondClass on non windows 2016-01-18 19:51:12 +11:00
zilmar a44626855f [Common] fixed spacing in StdString.cpp 2016-01-18 19:48:52 +11:00
zilmar 957a29fac1 [Project64] Remove MemoryLabelsClass.cpp 2016-01-18 19:47:47 +11:00
zilmar d37ea006f1 [Common] Add TraceModulesCommon.h to Common.vcproj 2016-01-18 19:47:05 +11:00
zilmar e8468687ac [Project64] remove windows.h from plugin handling 2016-01-18 05:48:19 +11:00
zilmar 92e617d284 Merge branch 'master' of https://github.com/project64/project64 2016-01-18 05:46:10 +11:00
zilmar e212bee0a4 [Project64] Fix rounding code to compile on VS 2008 2016-01-18 05:44:19 +11:00
AmbientMalice cf80a16ac8 Disable texture filtering hotkey.
IMO, it causes too much trouble from accidental presses.
2016-01-17 22:32:53 +10:00
zilmar 0f4ddee3eb [Poject64] Add Load32CartridgeDomain1Address1 and Load32CartridgeDomain1Address3 2016-01-17 17:38:29 +11:00
zilmar f87c2051b5 [Project64] Get the rounding code to use fesetround 2016-01-17 17:34:05 +11:00
zilmar 3791525d74 [Project64] fix showing of rom name on extracting 7zip file 2016-01-17 17:08:39 +11:00
zilmar eaf2e28910 [Project64] Use cpath to get the filename in rom browser 2016-01-17 17:02:46 +11:00
zilmar 4050e765e8 [Project64] Fix up some brackets in PluginList.cpp 2016-01-17 17:00:30 +11:00
zilmar 99e6df4612 [Common] Add fesetround to Platform.cpp 2016-01-17 16:58:47 +11:00
zilmar 554333711f [Common] Clean up Platform.cpp 2016-01-17 16:57:08 +11:00
zilmar cbd1f6760f [Project64] Be able to correctly get old protection from ProtectMemory 2016-01-17 16:55:44 +11:00
zilmar ec03eb642a [Common] Cleanup MemoryManagement.cpp 2016-01-17 16:54:08 +11:00
zilmar 03b032c939 [3rd Party] Add buffer offlow check in 7zip 2016-01-17 16:44:01 +11:00
zilmar 8b8c9c8a1c Merge pull request #881 from AmbientMalice/patch-16
Enable FAT and disable Audio Sync globally.
2016-01-15 18:50:04 +11:00
AmbientMalice 3335cfed8d Change AiCountPerBytes to 0.
This makes Fixed Audio Timing Dynamically Calculated.
2016-01-15 12:18:59 +10:00
AmbientMalice baf6b95946 Enable FAT and disable Audio Sync globally. 2016-01-15 12:11:01 +10:00
no 1b82fd0686 [core] std::memcpy() undeclared, so use memcpy(). 2016-01-14 19:19:51 -05:00
zilmar 20f7384918 Merge pull request #878 from cxd4/undeclared-memset
[core] compile errors from not declaring standard <string.h> functions
2016-01-15 09:10:12 +11:00
zilmar 46f2afaecc [Project64] N64RomClass.cpp Unprotect memory on freeing it 2016-01-15 08:11:12 +11:00
zilmar 05b2f1e5cf [Project64] Remove windows.h from N64RomClass.cpp 2016-01-15 08:06:33 +11:00
no bc1405b6af ... and from core/N64System/Mips/../../stdafx.h 2016-01-14 01:39:16 -05:00
no 5b62fdd101 ... and from core/N64System/../stdafx.h 2016-01-14 01:34:38 -05:00
zilmar 013f104a46 Merge branch 'master' of https://github.com/project64/project64 2016-01-14 17:31:50 +11:00
no 4eecbf3139 moved string.h include to core/stdafx.h 2016-01-14 01:29:38 -05:00
zilmar 4a1f2552e6 [Project64] remove #include <shellapi.h> from Project64/stdafx.h 2016-01-14 17:29:25 +11:00