Commit Graph

12920 Commits

Author SHA1 Message Date
91840cb4c7 added option for selecting which column are displayed in the game list, added optional game id column, and added config entry to disable making compressed games blue 2014-06-05 15:34:20 -04:00
318b03ec92 Merge pull request #460 from degasus/efbcache
OGL: speed up the EFB cache.
2014-06-05 16:28:35 +02:00
9566dcf0da OGL: speed up the EFB cache
gcc doesn't optimize this loops with -O2, so using memset now.
A flag to skip the clear funktion was added as the cache is already cleared most of the time.
2014-06-05 14:53:09 +02:00
40031c9a72 Merge pull request #461 from degasus/streambuffer_opts
OGL StreamBuffer optimizations
2014-06-05 13:39:42 +02:00
d9eafd94a2 OGL-StreamBuffer: replace size_t with u32
Yes, this matters.
We align our buffer all the the time which needs a division. u64 divisions are just so slow.
2014-06-05 13:33:50 +02:00
606e46ba8d OGL-StreamBuffer: move alignment to caller
Only the caller know if alignment is needed at all, so it can be skipped now.
2014-06-05 13:32:13 +02:00
02a4e3d70f OGL-StreamBuffer: make the SLOT calculation much easier
The size of the buffer is now power of 2, so we can use a shift instead of a division.
This was at about 2% of the global CPU usage.
2014-06-05 13:32:13 +02:00
d81d2e8915 OGL-StreamBuffer: allocate fences in StreamBuffer directly 2014-06-05 13:32:13 +02:00
e2cfb7f0fa Merge pull request #448 from lioncash/fifo-cleanup
Expand GetBPRegInfo to include the rest of the BP registers.
2014-06-05 13:21:05 +02:00
81842bc4d4 Merge pull request #462 from degasus/non-coherent
OGL-StreamBuffer: don't use coherent mapping.
2014-06-05 13:19:27 +02:00
0688cfdaef OGL-StreamBuffer: don't use coherent mapping
Coherent mapping seems to be much slower on fermi gpus.
2014-06-05 12:18:44 +02:00
efdcfe404f Fix a typo in a function prototype in PowerPCDisasm.h
Should be GetGPRName not GetGRPName.

Removed an unnecessary extern declaration of GetGRPName in RegisterWindow.cpp.

Also added GetFPRName to the PowerPCDisasm header for consistency.
2014-06-04 12:12:28 -04:00
0eb341e542 Fix some warnings.
The 'offset' variable needs to stay because the disabled code below uses it.
2014-06-04 01:04:52 +02:00
f8280401f6 x64Emitter: J_CC: use 32 bit offset automatically 2014-06-03 23:08:58 +02:00
3a06907653 Merge pull request #455 from lioncash/arm-cpudetect-fix
Stringify ArmCPUDetect.cpp.
2014-06-02 20:10:39 -05:00
7d7b3d6156 Stringify ArmCPUDetect.cpp. 2014-06-02 21:08:26 -04:00
b5a12dd7a2 Merge pull request #454 from Sonicadvance1/fix-android-crash
[Android] Fix potential crash in Video Settings.
2014-06-02 19:39:32 -05:00
7dc31fbd1a Fix potential crash in Video Settings.
When Shaders folder didn't exist it would cause crash.
2014-06-02 17:57:23 -05:00
541bfd071e Jit64: Don't flush the regcache on bcx 2014-06-02 18:12:54 +02:00
0cd9eea99e RegCache: make state clear optional on flushes 2014-06-02 18:12:53 +02:00
38c3812a60 RegCache: merge fpr+gpr BindToRegister 2014-06-02 18:12:53 +02:00
9e9b71fa87 RegCache: merge fpr+gpr StoreFromRegister 2014-06-02 18:12:53 +02:00
fd9bfddde7 RegCache64: devirtualize RegCache::Start 2014-06-02 18:12:53 +02:00
8693e0abaa RegCache64: Use std::array 2014-06-02 18:11:26 +02:00
6089812482 RegCache64: move x?locks into register structs 2014-06-02 13:02:52 +02:00
c800918fd8 RegCache64: remove unused functions 2014-06-02 09:53:44 +02:00
edf9af0047 Merge pull request #449 from Sonicadvance1/remove-ppcstate-mojs
Remove unused mojs array from ppcState.
2014-06-02 09:42:53 +02:00
2cf27e4de8 Jit64: revert fmrx revert
The AVX revert was not supposed to touch fmrx.

Partially reverts 2fad2a3e88.
2014-06-02 08:53:02 +02:00
e0a60a40a5 Remove unused mojs array from ppcState.
This was some unused array just sitting in our global ppcState struct.
I've got no idea what its use was /supposed/ to be used for if ever implemented.
2014-06-02 01:39:07 -05:00
776e36b10a Fix a typo in a BP register name (BPMEM_TX_SETLUT_4 -> BPMEM_TX_SETTLUT_4).
Also fixed the alignment of the register values.
2014-06-02 02:26:30 -04:00
4545fa589d Jit64: remove unused FlushMode enum 2014-06-02 08:24:25 +02:00
12db989098 Add missing registers in GetBPRegInfo 2014-06-02 02:19:53 -04:00
1ef7dd68ef Merge pull request #446 from Sonicadvance1/Memoryutil-fix
Make MemoryUtil.cpp use the correct x86_64 define.
2014-06-02 07:36:20 +02:00
5d3382fb56 Fix a crash in ARM's CPUDetect on a malformed /proc/cpuinfo.
If a CPU string was incapable of being found we would return a null pointer, which would crash with strncpy.
Also if we couldn't get a CPU implementer we would call free() to a null pointer.
In addition, detect 64bit ARM running.
2014-06-01 23:55:38 -05:00
87e671404a Make MemoryUtil.cpp use the correct x86_64 define.
MemoryUtil.cpp was incorrectly using the old __x86_64__ define when it should be using _M_X86_64.
It was also using _ARCH_64 when it shouldn't have which was causing an errant PanicAlert to come up in my development.
2014-06-01 23:45:44 -05:00
0aecd9504e Video backends: remove dead code. 2014-06-01 01:56:09 -07:00
87a804fdfc Revert "DSound: use DSound notifications to produce sound."
This reverts commit 4990b8910b.

The commit is causing substantial performance issues for the DSound
backend which I somehow didn't catch during testing.
2014-05-31 13:35:46 -07:00
31eedb2f79 Merge pull request #397 from Linktothepast/gameini_updates
Gameini updates.
2014-05-31 10:35:22 +02:00
8fae3d9c23 Merge pull request #412 from SeannyM/Android-Multitouch
Android: add multitouch support
2014-05-30 21:34:25 -05:00
568f3248f3 Android: add multitouch support 2014-05-30 19:02:28 -04:00
d0201335c6 Merge pull request #300 from Sonicadvance1/Fix-AndroidInput
[Android] Fixes a bunch of input bugs.
2014-05-30 15:32:08 -07:00
4fa0cf0597 More gameini updates.
Updates for F-Zero X (n64), Yoshi's story (n64) and Curious George (gc).
Fixes issue 7333.
2014-05-30 19:29:46 +03:00
8fc83d8ffc Merge pull request #334 from lioncash/use-std-minmax
Remove the min/max functions in CommonFuncs.
2014-05-29 20:10:01 -07:00
7babc635cb Compress a for loop in NetPlayServer.
Also gets rid of a redundant return from a void function.
2014-05-29 22:14:50 -04:00
49b0eef393 Remove the min/max functions in CommonFuncs.
The algorithm header has the same functions.
2014-05-29 21:44:41 -04:00
a3ae20fc15 Remove the use of a delete[] in NetPlayServer.
We just use a vector instead of a raw pointer.
2014-05-29 20:39:09 -04:00
3097345929 Merge pull request #411 from lioncash/fifo-cleanup
Make GetBPRegInfo just take two strings as parameters
2014-05-30 01:51:11 +02:00
c96407bd2a Make GetBPRegInfo just take two strings as parameters
Gets rid of the size parameters.
2014-05-29 19:44:14 -04:00
7c09f07f36 Merge pull request #399 from magumagu/bsemu-bat
BS2 emulation: set up a reasonable BAT during startup.
2014-05-29 15:36:28 -07:00
e9975cdd63 Merge pull request #419 from magumagu/jit-load-store-cleanup
Jit load store cleanup
2014-05-29 15:25:00 -07:00