Commit Graph

5580 Commits

Author SHA1 Message Date
Lioncash 54c21b30c9 cdvdGigaherz: Fix the seek function in FileStream.
Prior to this, it would have ignored any kind of reference position.
2014-07-15 17:28:13 -04:00
sudonim1 91f23938b5 Merge pull request #136 from Sonicadvance1/gui-pointers
Fix two conversions of pointers to integer in the GUI.
2014-07-15 22:20:37 +01:00
Ryan Houdek 0af0db6593 Fix two conversions of pointers to integer in the GUI.
Use uptr instead of 32bit integers fixes the issue of compiling.
2014-07-15 16:18:24 -05:00
sudonim1 7a1ebd22ed Merge pull request #135 from Sonicadvance1/jmp_emitter
Change the x86emitter jmp emitter from using s32 to sptr.
2014-07-15 22:16:04 +01:00
Lioncash c2e96a081f cdvdGigaherz: Use booleans instead of ints to represent conditionals in CDVD.cpp 2014-07-15 17:06:49 -04:00
sudonim1 1d56035a56 Merge pull request #134 from Sonicadvance1/NOT32-declaration
Fix NOT32M function declaration.
2014-07-15 22:06:48 +01:00
sudonim1 0e68a9e0fc Merge pull request #133 from Sonicadvance1/microvu_ptr
Fix microVU converting pointers to u32.
2014-07-15 22:02:19 +01:00
Ryan Houdek a143a8b1f6 Let non-x86_32 use the reference yuv2rgb conversion function.
The yuv2rgb_sse2 implementation is x86_32 only, so x86_64 can't take advantage of this optimized code path.

This requires the architecture defines to be working fully, so this can't be merged until it is fixed on the Windows side of things.
2014-07-15 15:31:07 -05:00
Ryan Houdek 5114b37bfa Change the x86emitter jmp emitter from using s32 to sptr.
This doesn't change anything on x86_32, but it is required on x86_64 so we don't lose precision.
Also adds an assert to see if the distance is greater than the maximum 32bit jump, which can't be hit on x86_32, but can be on x86_64.
2014-07-15 15:16:30 -05:00
Ryan Houdek 8c746302a2 Fix NOT32M function declaration.
Use uptr as the argument since it is either u32 or u64 depending on architecture.
2014-07-15 15:05:46 -05:00
Ryan Houdek a1d6ca2298 Fix microVU converting pointers to u32.
Convert them to uptr instead to make it architecture independent.
2014-07-15 15:04:08 -05:00
dokman d6a617c225 Deleting avg thing of the full installer
If now you have drop the avg toolbar it does nothing here i think
2014-07-15 18:30:49 +02:00
David Quintana 69f57351b2 Merge pull request #109 from Sonicadvance1/windows_arch_defines
Support _ARCH_32/64 defines on Windows
2014-07-15 17:04:21 +02:00
David Quintana c4d5267107 Merge pull request #128 from Sonicadvance1/linux_arch_defines
Support _M_X86[_32/_64] on Linux.
2014-07-15 17:04:20 +02:00
Ryan Houdek 6b1ee680a2 Support _ARCH_32/64 _M_X86[_32/_64] defines on Windows
This defines the correct define depending on architecture build target.
Currently Windows doesn't support a x86_64 build target, but once it does the define will be in place.
2014-07-15 09:16:37 -05:00
sudonim1 d3ebdae159 Merge pull request #131 from lioncash/gsdx-wat
GSDX: Replace an FLT_MAX with the appropriate ULONG_MAX
2014-07-15 12:04:14 +01:00
sudonim1 86a0d3faff Merge pull request #124 from lioncash/array-bounds
sVU_zerorec.cpp: Correctly guard against invalid indexes in SuperVUDestroy
2014-07-15 11:27:53 +01:00
sudonim1 3f62ad08e1 Merge pull request #122 from lioncash/indents
COP0: Fix indentation for function TLBR
2014-07-15 11:26:13 +01:00
sudonim1 1a483a7d88 Merge pull request #121 from lioncash/zzogl-fix
ZZOGL: Fix an incorrect formatting argument in the Win32 config.
2014-07-15 11:22:45 +01:00
ramapcsx2 3daff15f34 Merge branch 'master' of https://github.com/PCSX2/pcsx2 2014-07-15 11:56:55 +02:00
David Quintana 1736c1e32e Merge pull request #125 from lioncash/cdghz
cdvdGigaherz: Simplify the loops within readLine and readLineW
2014-07-15 11:53:36 +02:00
David Quintana 764ca25f8d Merge pull request #120 from lioncash/dev9ghzdrk
DEV9ghzdrk: Clarify precedence for a bitwise AND in smap.
2014-07-15 11:53:27 +02:00
David Quintana 79ee48d91b Merge pull request #129 from lioncash/spu2x-warnings
SPU2-X: Fix some signed/unsigned mismatch warnings.
2014-07-15 11:52:02 +02:00
David Quintana e2f4fc245a Merge pull request #127 from lioncash/dev9-warnings
dev9ghzdrk: Fix a few warnings.
2014-07-15 11:49:37 +02:00
David Quintana f26319a2b0 Merge pull request #126 from lioncash/dev9-unused
dev9ghzdrk: Remove unreachable code.
2014-07-15 11:49:12 +02:00
Lioncash 637c99a362 GSDX: Replace an FLT_MAX with the appropriate ULONG_MAX 2014-07-15 01:47:26 -04:00
Ryan Houdek a1a0ed0563 Support _M_X86[_32/_64] on Linux.
These go hand in hand with PR #109 but for Linux as well.

These are much more useful defines than what other compilers give us.
2014-07-14 23:58:02 -05:00
Lioncash 0a825a1aa4 SPU2-X: Fix some signed/unsigned mismatch warnings. 2014-07-15 00:09:48 -04:00
Lioncash b5f805fc6c dev9ghzdrk: Fix a few warnings.
Mostly unsigned mismatches.
2014-07-14 23:41:51 -04:00
Lioncash 55c8633f9a dev9ghzdrk: Remove unreachable code.
Same as what is in the default switch cases
2014-07-14 23:26:31 -04:00
Lioncash 1fa95de554 cdvdGigaherz: Simplify the loops within readLine and readLineW 2014-07-14 22:58:49 -04:00
Lioncash a1080f4853 sVU_zerorec.cpp: Correctly guard against invalid VU indexes
recVUHeaders and recVUBlocks are both arrays of size 2. Prior to this, it would allow an index of 2, which is out of range.
2014-07-14 22:44:31 -04:00
Ryan Houdek 48d178886e Fixes interlockedbittestandreset/set in intrin_x86.h
This doesn't update the file to the latest version from mingw32 since this is already a custom header stripped from mingw32.

This also fixes the functions for x86_64(verified that it still works for both architectures) and also updates the version inside of GSdx.
Also removes a comment in the GSdx header saying that these functions are broken since they no longer are.
2014-07-14 21:20:31 -05:00
Lioncash 673bac12a6 COP0: Fix indentation for function TLBR 2014-07-14 22:07:02 -04:00
Lioncash b0a0508c85 ZZOGL: Fix an incorrect formatting argument in the Win32 config.
the _u32 should be passed, not the direct union itself.
2014-07-14 21:31:44 -04:00
Lioncash 69ecdd3236 DEV9ghzdrk: Clarify precedence for a bitwise and in smap. 2014-07-14 20:49:03 -04:00
sudonim1 9a950cdca6 Merge pull request #119 from lioncash/spu2x
SPU2-X: Fix float truncation warnings
2014-07-15 01:31:44 +01:00
Lioncash 7ec3cf46d6 SPU2-X: Fix float truncation warnings 2014-07-14 20:26:38 -04:00
Lioncash ba0d3d1a6a ZeroGS: Add a missing formatter to a sprintf call 2014-07-14 18:02:22 -04:00
Lioncash b9ff3b6c81 ZeroGS: Explicitly convert the LPVOID buffer to a const char*
Also make the failure case for one of these log calls a DEBUG_LOG instead
of a printf.
2014-07-14 18:01:50 -04:00
David Quintana f4178e41b3 Merge pull request #117 from lioncash/cdvd
Minor changes to cdvdGigaherz
2014-07-14 22:38:48 +02:00
Lioncash d648227e3d cdvdGigaherz: Get rid of a magic constant in TocStuff 2014-07-14 16:11:51 -04:00
Lioncash 3d0094b611 cdvdGigaherz: Fix some minor tab/space mismatches in TocStuff 2014-07-14 16:11:01 -04:00
Gregory Hainaut f85a4c0467 clang: don't use clang asm tool
-no-integrated-as fixes most of the asm issue :)
2014-07-14 13:58:06 +02:00
Forrest McDonald b24d4cce8d Clang doesn't support some flags that GCC does, so conditionally check the compiler and add them if we are doing a GCC build 2014-07-14 13:54:31 +02:00
dokman a235da9cc5 Windows GS -
Finished
2014-07-13 22:10:01 +02:00
dokman fa45ea32dc GS Window -
Many translations like a 85%
2014-07-13 21:41:41 +02:00
dokman a594c444da Starting - Settings
- Finished EE/IOP (Original)
- Finished VUs (Original)
- Finished GS (All Translated)
2014-07-13 21:04:09 +02:00
dokman 210f06d990 Finishing the System Menu now this menu is at 100% 2014-07-13 19:22:38 +02:00
Dokman 899156435c update of copyrights 2014-07-13 19:05:51 +02:00