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
d132e6bce4
Support 64bit address hashing in the CommonHashClass.
...
The class already supports hashing 64bit values, just break it out to support it in this particular case.
From the 64bit version of the hash, this hash favours values that aren't on the extreme end.
Consdering that hashing is only really used by the class itself it isn't too big of an issue.
2014-07-11 17:16:58 -05: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
ramapcsx2
d41edf21e4
Merge branch 'master' of https://github.com/PCSX2/pcsx2
2014-07-08 20:57:47 +02:00
refraction
06167087b3
Remove SVN checks from installer files. Closes issue #20
2014-07-08 01:38:50 +01:00
ramapcsx2
a3d5d9112a
Merge branch 'master' of https://github.com/PCSX2/pcsx2
2014-07-07 09:38:54 +02: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
a48369dc41
Merge branch 'master' of https://github.com/PCSX2/pcsx2
2014-07-05 20:48:52 +02:00
ramapcsx2
6800753f09
bla
2014-07-05 20:48:45 +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
Lioncash
cb5b265dcd
ZeroGS: Remove a duplicate condition in RenderCRTC
2014-07-05 14:00:00 -04: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
Gregory Hainaut
2582649490
Merge branch 'gigaherz-master'
2014-06-28 11:26:33 +02:00
Gregory Hainaut
2084ead56c
spu2x: linux port of Giga lastest update
...
=> Advanced (per-channel) Volume Adjustment AKA Room Correction
windows: update CfgReadFloat to really return a float
2014-06-28 11:23:44 +02:00
Gregory Hainaut
f2e50d4ffd
Merge branch 'master' of git://github.com/gigaherz/pcsx2 into gigaherz-master
2014-06-28 11:00:19 +02:00
Leucos8
6faa7a060c
Updated the it_IT translation files
2014-06-27 10:03:56 +02:00
Gregory Hainaut
f998b72e99
sigh I do the mistake every time
2014-06-20 18:55:25 +02:00
Gregory Hainaut
fe30f2e48e
pcsx2: tlb fix
...
* pc is incremented before execution of the instruction => must be
decremented before exception
* PS2 support 48 tlb => mask need 6 bits
2014-06-20 13:52:05 +02:00
Gregory Hainaut
9a82bed3a5
db: enable autogamefix of goemon + bump to ingame
...
Note: actually it could even be playable or perfect (let's dream)
2014-06-20 13:52:05 +02:00
Gregory Hainaut
a00b8ecc55
pcsx2: tlb: goemon implement a preload hack tlb
...
Tlb mapping is stored @0x3d5580 (GoemonTlb[150])
The function that will populate the tlb is around pc = 0x356250, ra = 0x33ad48
The idea is to add a callback on 0x33ad48 block that will populate the tlb based on
ee mem content.
Note: The hack is based on previous Virtual PS2 => Physical PS2 LUT
2014-06-20 13:52:05 +02:00
Gregory Hainaut
9452444a9f
pcsx2: tlb: add a new lut (Virtual PS2 to Physical PS2)
...
note: automatic gamefixes are done after done after the init that why code was splitted.
note2: The LUT is 4MB and only used for only 1 game. So I only allocate it when the gamefix is
enabled
2014-06-20 13:51:33 +02:00