Commit Graph

1206 Commits

Author SHA1 Message Date
zilmar 989c8cbc4d use more widely used preprocessor defines for MinGW
The code still uses a lot of WIN32 preprocessor variables which aren't defined
in strict C++-11 mode. But the preprocessor variable _WIN32 seems to be defined
in all modes of MinGW

4d8c50a0db
2015-10-14 10:01:07 +11:00
zilmar 8bc33bc4d9 [Glide64] Reduce GCC specific code
21344deaee
2015-10-14 09:50:35 +11:00
zilmar bdc85ddbb7 [Glide64] Convert to c implementation for functions like mirror32bS 2015-10-13 16:44:16 +11:00
zilmar 48554d2ad0 [Glide64] Move the code out of texture.asm.cpp 2015-10-13 15:54:52 +11:00
zilmar d7a19c265f [Glide64] fixed compiler warnings
794226a274
2015-10-13 08:12:16 +11:00
zilmar 6e810ef559 [Glide64] Sync Glide64/DepthBufferRender.cpp 2015-10-12 10:13:19 +11:00
zilmar 5ff5ff0b12 [Glide64] Remove FixedPoint.asm.cpp 2015-10-12 07:21:56 +11:00
zilmar 5e06520cb5 from fixed warnings and errors in vs2012
56f2b7ef85
2015-10-12 07:17:01 +11:00
zilmar 3d002e831f Use generic _mm_loadu_ps instead of GCC specific __builtin_ia32_loadups
be0a027273
2015-10-12 07:08:12 +11:00
zilmar 32c64b3d54 [Glide64] Add C conversion of MiClWr16b assembler functions
577ab74dd8
2015-10-12 06:56:45 +11:00
zilmar 42f633c482 [Common] Update the project to have stdtypes.h 2015-10-12 06:51:36 +11:00
zilmar 485613ed03 [Common] Move the standard types include in to common 2015-10-12 06:48:15 +11:00
zilmar 70532a6503 [Glide64] Change LoadNone function params to one line 2015-10-11 21:13:57 +11:00
zilmar bca97d42aa [Glide64] Remove unused variables
4fc96fee08
2015-10-11 21:12:32 +11:00
zilmar 7d43d10dd5 [Glide64] These buffers can overlap, so memmove() must be used instead of memcp…
48e20bc799 (diff-4a633600241920557d6c8b6d96dfb363R298)
2015-10-11 20:54:30 +11:00
Lioncash 5350cfac8d Project64: correct delete usages on arrays 2015-10-10 14:47:08 -04:00
zilmar 1dd25b2063 Rewrite MulMatricesC in a more auto-vectorizable way.
c5998a531b
2015-10-10 23:23:26 +11:00
zilmar f2d1097014 [glide64] sync changes to inc files
from:
3b8d826964
4d8c50a0db
2015-10-10 22:15:57 +11:00
LegendOfDragoon 0cefcf16fb Implement Recompiler version of LHV 2015-10-09 11:54:27 -07:00
LegendOfDragoon 221c4d1d4d Implement Recompiler version of LUV 2015-10-09 11:51:39 -07:00
LegendOfDragoon 0fca9e65a4 Implement Recompiler version of LPV 2015-10-09 11:49:03 -07:00
LegendOfDragoon 87dc96752d Implement Recompiler version of LBV 2015-10-09 11:39:46 -07:00
zilmar d0f45f17ab [glide64] remove 3dmathSIMD.asm.cpp (from Merge Glide64 changes from the previous attempt)
e110f50489
2015-10-09 16:18:09 +11:00
zilmar 1203155d37 [Glide64] Remove unused config/Internalization 2015-10-09 16:16:38 +11:00
zilmar cae95daa01 [Glide64] remove unused dx files 2015-10-09 15:54:32 +11:00
zilmar 0c60eec345 Rename Glitch64/main.h --> glitchmain.h for clarity.
Avoid mental association with Glide64/Main.cpp.

2ee649b163
2015-10-09 15:53:16 +11:00
zilmar 8d1381b42a [glide64] remove vram.cpp (from Fix build under MinGW)
3b8d826964
2015-10-09 15:50:44 +11:00
zilmar e5c6fa245b [Glide64] add (optional) GLES 2.0 support, code taken from mupen64plus-ae
ee42abc424
2015-10-09 15:44:33 +11:00
zilmar 5c1f6ea6c6 [Glide64] Rename Glitch64/main.cpp to Glitch64/glitchmain.cpp
56f2b7ef85
2015-10-09 15:39:35 +11:00
zilmar 7561a65624 [Glide64] Remove space from filename to avoid confusion of build tools
a1b0c70492
2015-10-09 14:36:48 +11:00
zilmar f3d3a335fc Force Glitch64 to recognize OSX using __APPLE__ instead of macintosh
079ffaeb19
2015-10-09 14:36:38 +11:00
zilmar 549e2f78fb [Glide64] Other cleanups like changing __WINDOWS__ to WIN32 2015-10-09 14:36:30 +11:00
zilmar 606189f8de [Glide64] Remove unused file Glitch64/3dfx-mangling.h
620c06aacc
2015-10-09 14:36:21 +11:00
zilmar 2ff97a3367 [Glide64] Clean up glitch so it compiles with the files removed 2015-10-09 14:36:08 +11:00
zilmar 08f155a2b3 [Glide64] Remove usage of glide64 flags 2015-10-09 14:34:09 +11:00
zilmar 3d5bfb666a [3rd Party] Add SDL 2015-10-09 14:33:55 +11:00
zilmar e2de2a5f12 [Glide64] Remove unused third party include files
652449370b
2015-10-09 14:33:40 +11:00
zilmar 92ca976663 [Glide64] Remove flag images
2ac49117f1
2015-10-09 14:33:29 +11:00
zilmar 9d35f6cf23 [Glide64] Remove the broken build-scripts/workspaces
58d74825f4
2015-10-09 14:33:16 +11:00
zilmar 93e529cc89 [Glide64] Remove help documentation out of source dir 2015-10-09 14:33:04 +11:00
zilmar 9704a1119f Merge pull request #657 from Nekokabu/master
Fix character corruption
2015-10-06 08:48:08 +11:00
zilmar 041be99331 Merge pull request #655 from AmbientMalice/patch-7
Disable global soft-depth and enable per-game.
2015-10-06 08:46:02 +11:00
zilmar a903ae5647 Merge pull request #656 from LegendOfDragoon/master
Improve VLT, VGE, VEQ, and VNE in RSP Recompiler
2015-10-06 08:44:10 +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
LegendOfDragoon d656af4068 Implement Recompiler version of VNE 2015-10-02 13:05:24 -07:00
LegendOfDragoon 67b4420097 Implement Recompiler version of VEQ 2015-10-02 13:02:03 -07:00
LegendOfDragoon c95d1598e4 Implement Recompiler version of VGE 2015-10-02 12:52:14 -07:00
LegendOfDragoon 9834665716 Implement Recompiler version of VLT 2015-10-02 12:37:27 -07:00
AmbientMalice c43ff2a0f1 Disable software depth buffer globally. 2015-10-02 16:25:18 +08: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 e952f9c32b Merge pull request #503 from cxd4/hhhhhhhhhhhhhhhhhhh
[PJGlide64] TransformVector C is better than TransformVectorSSE.
2015-09-30 11:00:04 +10: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
zilmar 142ed5b255 Merge pull request #627 from JunielKatarn/PropertySheetsTemp
Make solution files work with all versions of Visual Studio (2010+)
2015-09-30 10:56:26 +10:00
zilmar 83cffca119 Merge pull request #632 from cxd4/bad
`if` is not a function.
2015-09-30 10:55:28 +10:00
zilmar 69ae6ba9b4 Merge pull request #630 from LegendOfDragoon/master
Improve VRCP, VRCPL, VRCPH, and VRSQH in RSP Recompiler
2015-09-30 10:54:22 +10:00
zilmar c4dcb45381 Set post title based on param 2015-09-30 10:18:37 +10:00
zilmar e27adf67ac [Upload beta] another log attempt 2015-09-29 15:04:21 +10:00
zilmar 48814b3c37 [Upload Beta] Added more comments to IE creation 2015-09-29 14:51:03 +10:00
zilmar f37195bc89 [Upload Beta] try to create IE multiple times 2015-09-29 14:32:39 +10:00
zilmar f1fc32c74c [upload Script] ignore errors in CreateIeWindow 2015-09-29 14:16:43 +10:00
zilmar bee483d44b try to get the script more stable in posting 2015-09-29 13:45:25 +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
unknown fe442fca6e `if` is not a function.
fixes #628
2015-09-25 17:26:27 -04:00
unknown 8ba9ac2eaf spaces 2015-09-25 17:13:29 -04:00
unknown 7b8827dacc Decide between blank lines and tabbed blank lines.
I choose blank lines.
2015-09-25 17:13:04 -04:00
LegendOfDragoon 7ea0dd0311 Improve Compile_Vector_VRSQH
RSP_ACCUM needs to be written to before RSP_Vect. Also optimized the
code for writing to RSP_ACCUM.
2015-09-25 05:00:41 -07:00
LegendOfDragoon 0102762456 Improve Compile_Vector_VRCPH
The issue is that it was writing to RSP_Vect before writing to
accumulator. Also removed minor overhead, since Recp.UHW[0] always = 0.
2015-09-25 04:45:00 -07:00
LegendOfDragoon aebc9fa8b0 Implement VRCPL in RSP Recompiler 2015-09-25 04:26:42 -07:00
LegendOfDragoon 97857ee3cd Implement VRCP in RSP Recompiler 2015-09-25 04:11:49 -07:00
LegendOfDragoon dc52573644 Implement x86 instruction Bsr 2015-09-25 03:50:47 -07:00
zilmar 97cdd04ac0 Updated build bot script with how file is uploaded 2015-09-25 12:38:16 +10:00
LegendOfDragoon 466c03e27d Ensure R0 cannot be written to in LHU 2015-09-24 15:33:07 -07:00
LegendOfDragoon 8bede83fd4 Ensure R0 cannot be written to in LBU 2015-09-24 15:31:45 -07:00
LegendOfDragoon fb8db802b3 Ensure R0 cannot be written to in LW 2015-09-24 15:30:34 -07:00
LegendOfDragoon b6721d1cdc Ensure R0 cannot be written to in LH 2015-09-24 15:29:32 -07:00
LegendOfDragoon 3a5569ce9d Ensure R0 cannot be written to in LB
This happens in Castlevania and OOT, although I'm not sure if the code
ever gets reached.
2015-09-24 15:13:21 -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 6f2bb5cec6 Merge pull request #616 from LegendOfDragoon/master
Improve Compile_Cop0_MF
2015-09-24 09:50:34 +10:00
zilmar 1d86d84614 Merge pull request #611 from cxd4/implicit-size_t-to-int
Have error-checking when drawing RSP command window.
2015-09-24 09:49:40 +10:00
zilmar bf45ab9cca Merge pull request #610 from cxd4/implicit-size_t-to-DWORD
Have run-time error-checking when dumping DMEM/IMEM.
2015-09-24 09:48:23 +10:00
zilmar 9fe5bd8f48 Merge pull request #609 from cxd4/all_RSP_warnings
[RSP] Debug 64-bit -- Conversion:  possible loss of data.
2015-09-24 09:47:50 +10:00
zilmar 6476450389 Merge pull request #608 from cxd4/intrinsic_warnings
fixed 20 repeated warnings about undeclared intrinsic
2015-09-24 09:46:56 +10:00
zilmar b9ae7c263b Merge pull request #623 from death-droid/VStudio2015Fixes
Add support for Visual Studio 2015, xdebug appears to no longer be av…
2015-09-24 09:34:11 +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
Emmet Young 7c2f30e840 Add support for Visual Studio 2015, xdebug appears to no longer be available in Visual Studio 2015. So for now memtest must be disabled for Debug builds to operate correctly. 2015-09-23 23:23:11 +10: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
unknown 4e6d5c06ab s/uplad/upload 2015-09-21 22:06:35 -04:00
unknown 5aecaf1536 s/quiting/quitting 2015-09-21 22:05:06 -04:00
unknown 9bb404d8fb s/welecome/welcome 2015-09-21 22:04:00 -04:00
unknown 306fa2b699 s/succsess/success 2015-09-21 22:03:39 -04:00
unknown 90f32fad8b URL 2015-09-21 22:02:58 -04:00
Nicholas 387b5739ee Add initial script to upload beta to the forum 2015-09-22 09:45:20 +10:00
LegendOfDragoon aa70b43ffc Implement case 4 in Compile_Cop0_MF 2015-09-20 14:57:45 -07:00
LegendOfDragoon b6a8c54fde Implement case 7 in Compile_Cop0_MF 2015-09-20 13:21:26 -07:00
unknown 6a194b4926 [RSP] warning C4267: conversion, possible loss of data 2015-09-17 21:59:06 -04:00
unknown 17b7b0857c Have error-checking when drawing RSP command window. 2015-09-17 21:49:00 -04:00
unknown 17f7965489 Have run-time error-checking when dumping DMEM/IMEM. 2015-09-17 20:39:44 -04:00
unknown c04f856b79 Attempt the POSIX `ssize_t` type for signed addr compares. 2015-09-17 19:58:49 -04:00
unknown 8f9e963cb0 conversion from 'LRESULT' ... possible loss of data 2015-09-17 19:31:32 -04:00
unknown fadcfe9660 fixed 20 repeated warnings about undeclared intrinsic 2015-09-17 18:52:58 -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
zilmar 33cb42e3dd Merge pull request #593 from LegendOfDragoon/master
Optimize some opcode functions in RSP Recompiler
2015-09-15 10:54:32 +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 2bf1ccf637 Merge pull request #596 from cxd4/moar_signed_offsets
[RSP] Scalar memory load/stores show signed hex offset.
2015-09-14 10:43:03 +10:00
zilmar c078e1090a Merge pull request #597 from cxd4/whitespace
little whitespace trolololz to new build scripts
2015-09-14 08:43:04 +10:00
zilmar 4efcf0e5e4 Add zip of package 2015-09-14 08:20:08 +10:00
unknown c8dbcb2c30 little whitespace trolololz to new build scripts 2015-09-13 16:30:53 -04:00
zilmar a3513059e1 Renme package_zip.bet to package_zip.cmd 2015-09-13 19:54:43 +10:00
zilmar 0bee1ef3c4 Move package_zip.bat 2015-09-13 19:52:45 +10:00
zilmar 897b27fc1d Add some build scripts 2015-09-13 17:30:59 +10: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 c80ce69941 [RSP] Scalar memory load/stores show signed hex offset. 2015-09-12 18:18:59 -04:00
zilmar 801d257416 Merge pull request #592 from cxd4/RSP_signed_offset_hex
[RSP] bad DMEM offsets when (offset < 0)
2015-09-13 01:52:31 +10:00
unknown 7841409ef2 removed redundant include 2015-09-08 10:33:30 -04:00
LegendOfDragoon 67d2fc95a3 Optimize LHU in RSP Recompiler 2015-09-07 15:10:19 -07:00
LegendOfDragoon e0bd5442e4 Implement RegConst in Compile_LBU 2015-09-07 15:05:26 -07:00
LegendOfDragoon 237b21a596 Optimize LW in RSP Recompiler 2015-09-07 14:36:42 -07:00
LegendOfDragoon 48baf1df7c Optimize LH in RSP Recompiler
Star Wars Battle For Naboo LLE graphics uses unaligned LH
2015-09-07 13:48:51 -07:00