Lioncash
b5f805fc6c
dev9ghzdrk: Fix a few warnings.
...
Mostly unsigned mismatches.
2014-07-14 23:41:51 -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
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
Gregory Hainaut
c60fefa1a6
gcc: support address sanitizer
2014-07-12 19:57:26 +02:00
Gregory Hainaut
8c03d50421
cmake: remove a specific warning for clang
2014-07-12 16:04:57 +02:00
Gregory Hainaut
7318814474
pcsx2: remove/disable brace warning
2014-07-12 16:04:07 +02:00
Gregory Hainaut
afc4f3386a
pcsx2: be sure that variables are initialized
2014-07-12 16:03:06 +02:00
Gregory Hainaut
c6c6171841
pcsx2: don't hide base function
...
As far as I understand you can't mix virtual (select at runtime) and
overloading (select at compile time).
2014-07-12 16:01:21 +02:00
Gregory Hainaut
47bf88ed3f
gsdx: miss break / inline function in header
2014-07-12 16:00:10 +02:00
Gregory Hainaut
492d67c6e8
spu2x: use std::abs (c abs support only integer)
2014-07-12 15:59:29 +02:00
Gregory Hainaut
d4a76b979c
ooups a very bad typo
2014-07-12 13:33:24 +02:00
Gregory Hainaut
4fdfd04d3c
partially revert c5d2343f51
...
Parameter name can help to understand the code so let's keep them.
Clang warning was disabled in previous commit
2014-07-12 13:30:34 +02:00
Gregory Hainaut
79f6aacc85
common: various warning fix
...
* Use c++11 static assert
* Properly cast to parameter template to u32 (help clang)
* Remove lots of useless ASM. Memset it only used with a size of 4096.
* check pthread_mutex_init status
2014-07-12 12:59:23 +02:00
Gregory Hainaut
c73ce3d02d
pcsx2: don't use 0&& to remove code
...
It works but compiler is not happy because it is still parsing the full line.
2014-07-12 12:59:23 +02:00
Gregory Hainaut
f3d03b025a
pcsx2: reorder init of member in constructor
...
Init must be done in the order of declaration
2014-07-12 12:59:23 +02:00
Gregory Hainaut
a1ac59a48a
pcsx2: add various default case statement
...
Note: add a note on some case note handled properly not sure how to fix them.
Actually there are potentially invalid case.
2014-07-12 12:59:23 +02:00
Gregory Hainaut
f401f817ed
cmake: sdl opt typo + clean warning management
...
Add back a lots of warning in the core!
2014-07-12 12:59:23 +02:00
Gregory Hainaut
23c76075e5
Merge pull request #108 from Sonicadvance1/wrong_arch
...
Remove -march argument on x86_64 build option.
2014-07-12 12:58:04 +02:00
Ryan Houdek
1f188b2610
Remove -march argument on x86_64 build option.
...
GCC doesn't support pentium4 as a arch target for x86_64. It complains that the architecture doesn't support x86_64
Which to be fair the first few models didn't support 64bit.
Just remove the architecture setting since there isn't a need for it.
2014-07-11 14:32:17 -05:00
Gregory Hainaut
a6d8b3b847
linux build: add an easy option to strip binary
2014-07-10 09:17:39 +02:00
Gregory Hainaut
0de6e80093
stupid space
2014-07-09 15:46:46 +02:00
Gregory Hainaut
3d0f8c986f
Update contributing.md
2014-07-09 15:41:09 +02:00
refraction
06167087b3
Remove SVN checks from installer files. Closes issue #20
2014-07-08 01:38:50 +01:00
sudonim1
1cb5ba3efd
Merge pull request #98 from Sonicadvance1/minor_cleanup
...
Some minor cleanups to the codebase.
2014-07-06 12:11:00 +01:00
ramapcsx2
b56d9c9e31
Merge pull request #96 from lioncash/unused-vars
...
Core: Remove some unused variables
2014-07-05 20:58:12 +02:00
ramapcsx2
e9e08c6576
Merge pull request #95 from lioncash/typo-error
...
ZeroGS: Fix a sprintf typo in GSopen.
2014-07-05 20:42:45 +02:00
ramapcsx2
5907bbea6e
Merge pull request #89 from lioncash/array-bounds
...
Fix a possibility for out of bound accesses in logging within Cache.cpp
2014-07-05 20:34:56 +02:00
Gregory Hainaut
f9baf3eb1c
Merge branch 'Sonicadvance1-cmake_64bit_option'
2014-07-05 15:09:49 +02:00
Gregory Hainaut
1dba4aceca
cmake: reduce a bit cmake syntax cluttering
2014-07-05 15:08:39 +02:00
Gregory Hainaut
e8b3532658
cmake: clean main file and option
...
Move build configuration from CMakeLists to cmake/BuildParameters.cmake where it belongs
Use option syntax for on/off option
Complete a bit previous commit to force all 64bits path detections (likely done by cmake)
2014-07-05 14:54:56 +02:00
Ryan Houdek
35979bb5a6
Add a CMake compile time option for building a 64bit binary.
...
By default the cmake build will still cross compile a 32bit binary and spout a message about it if not enabled.
This doesn't fix the 64bit build issues, just makes it easier for someone to test 64bit builds in the future.
Look towards a bright future instead of a dark and gloomy past
2014-07-05 05:09:17 -05:00
Ryan Houdek
182e826dc5
Fix SpatialArrayReserve::SetBlockSize function declaration to match definition.
...
The function was defined to use uptr, but the declaration was using uint.
2014-07-05 04:59:31 -05:00
Ryan Houdek
08ef4bfbff
Wipe the clusterfsck that was the get16bits define in HashTools.
...
This define takes a pointer(s8* in this case) and grabs 16bits of data from the array it points to.
This can be done the generic way on all compilers, no need for specifying it another way.
2014-07-05 04:39:55 -05:00
Ryan Houdek
1bc3f346b1
Fix HostSys::Munmap function declaration.
...
It's arguments are defined to be (void*, size_t) but with the function declaration they were (void*, u32).
2014-07-05 04:36:48 -05:00
Lioncash
6dff0b13a4
Core: Remove some unused variables
2014-07-04 22:11:13 -04:00
Lioncash
76796c76cd
ZeroGS: Fix a sprintf typo in GSopen.
...
This 1000 millisecond specifier was intended for the AddMessage call.
2014-07-04 21:50:18 -04:00
Gregory Hainaut
c5d2343f51
pcsx2/common: fix tons of warning spamming on clang
...
* Don't use parameter name to avoid unused parameter
* Set a default for various case
2014-07-05 00:08:48 +02:00
Gregory Hainaut
e6e7c95e94
linux: add an option for clang
...
It will be used on the future with clang/cmake cleaning contribution
2014-07-05 00:08:48 +02:00
Pseudonym
f4cb9de8d9
mVU: Corrected a typo in the branch in branch delay slot handling which prevented using the simpler code in the case of the delay slot being that of an unconditional branch. Now hopefully the code in question actually works for that case, since I'm not sure this has been tested.
2014-07-04 12:38:14 +01:00
Pseudonym
6f19551a77
Quick fix for undefined behaviour in the R3000A disassembler.
2014-07-04 12:35:00 +01:00
Gregory Hainaut
efce449550
github: add a CONTRIBUTING.md file
...
Initial version that likely got a broken syntax :(
2014-07-03 21:22:15 +02:00
Lioncash
ffa216d958
Fix a possibility for out of bound accesses in logging within Cache.cpp
2014-07-03 00:24:16 -04:00
ramapcsx2
ecb42cad9b
Thanks Bluefire101 for reporting this (eventually) undefined behavior (depending on who you ask).
...
Even if there was no problem, code should always be clear on what it does.
2014-07-01 15:43:26 +02:00
refraction
0ddb77c048
VIF: Ignore interrupts caused by obviously bogus NOP and NULL codes. Fixes Onimusha Blade Warriors.
2014-06-30 18:56:10 +01:00
Gregory Hainaut
5bd806ada6
Merge pull request #75 from Leucos8/master
...
i10n: Updated the it_IT translation files
Thanks
2014-06-30 08:46:02 +02:00