Nekotekina
ffc11bfda3
b8 type
2015-08-01 14:38:45 +03:00
darkf
2f8a41d810
sys_net: Implement socketselect
2015-07-28 04:43:35 -07:00
Danila Malyutin
9a37acee3e
Fixes for abstract class without virtual destructor
2015-07-27 03:01:43 +03:00
Danila Malyutin
e0d5cdd5e1
Fixes for trigraph, unused and tautological warning.
2015-07-26 23:48:59 +03:00
Danila Malyutin
582329ffc6
Fixes for some of clang warnings
2015-07-26 23:24:37 +03:00
Danila Malyutin
5ae6586803
Add missing override specifiers
2015-07-26 18:37:14 +03:00
Danila Malyutin
e810eabd32
Clean up and fixes
2015-07-26 18:09:33 +03:00
Danila Malyutin
6849192b39
Tabify
2015-07-26 18:09:31 +03:00
Danila Malyutin
6832910187
Update llvm tests to work with new mcjit recomp
...
WIP, also found some offending instructions with it.
2015-07-26 18:09:29 +03:00
Raul Tambre
a239eaf630
cellSpurs additions and internal struct refactoring
...
Also updated the README.
2015-07-26 17:04:10 +03:00
Raul Tambre
6ef4cecf57
Split sceNp into sceNpUtil and register sceNpClans
2015-07-26 16:44:10 +03:00
Raul Tambre
7b0b0440ef
cellFont cleanup
2015-07-26 16:43:35 +03:00
Raul Tambre
45dda65ce9
Add NV4097_SET_TEX_COORD_CONTROL arguments
...
Also added a TODO for _cellSpursLFQueueInitialize.
2015-07-26 16:42:02 +03:00
Raul Tambre
9ecedfdf3c
Better cellNetCtlGetInfo logging
...
Also added back some more logging in cellSaveData, but this time only
printed as warnings.
2015-07-26 16:34:11 +03:00
vlj
26f6b89530
PPU/LLVM: Remove duplicate m_address_to_ordinal map and improve cleaning
2015-07-22 02:11:00 +03:00
vlj
501c14fc65
PPU/LLVM: Clean code
...
Replace auto with real type, reduce indent and useless variables...
2015-07-22 02:10:58 +03:00
vlj
4adb9a2683
PPU/LLVM: Do not cache block
2015-07-22 02:10:57 +03:00
vlj
abd61538ea
PPU/LLVM: Rename ExecutionEngine to CPUHybridDecoderRecompiler
...
In order to avoid naming conflict with llvm own ExecutionEngine
2015-07-22 02:10:55 +03:00
vlj
7592b87a90
PPU/LLVM: Fix build
2015-07-22 02:10:54 +03:00
Nekotekina
b3dfa4f5a2
VS2015
2015-07-22 02:10:14 +03:00
vlj
cfa0079c3d
PPU/LLVM: Fix branch detection
...
Thanks Nekotekina for the fix
2015-07-22 01:32:19 +03:00
Vincent Lejeune
b7d5d70a92
PPU/LLVM: Fix for callback spinning undefinitly
...
Thanks for Nekoteki for the fix
2015-07-22 01:32:18 +03:00
Nekotekina
cdf38d15d2
sys_lwmutex, sys_lwcond syscalls improved
2015-07-21 23:14:42 +03:00
Nekotekina
6462201aac
Some macro removed
2015-07-21 23:14:41 +03:00
Nekotekina
023d385af8
sys_semaphore improved
2015-07-21 23:14:39 +03:00
Nekotekina
0aefaec46e
sys_event improved, some unnamed functions named
2015-07-21 23:14:38 +03:00
Nekotekina
6019e02457
sys_rwlock improved
2015-07-21 23:14:36 +03:00
Nekotekina
6255f3b07d
sys_event_flag improved
2015-07-21 23:14:34 +03:00
Nekotekina
bc91ad0f4d
sys_event improved
2015-07-21 23:14:33 +03:00
Nekotekina
2f7fe35f5c
Minor style change
2015-07-21 23:14:31 +03:00
Nekotekina
8175630619
sys_cond/sys_mutex improved
2015-07-21 23:14:29 +03:00
Nekotekina
43d3ccce95
SPU Channels improved
2015-07-21 23:14:28 +03:00
Nekotekina
9913c9059c
Very bugfix
...
I reverted cellSaveData changes since they were relying on the
uninitialized local variable `save_entry` and thus were almost
completely wrong.
2015-07-21 23:14:26 +03:00
Nekotekina
5bd83516ba
SPU Interrupt Enable Status implemented
...
SPU Interrupts are still NOT implemented
2015-07-21 23:14:25 +03:00
Nekotekina
1519a2b468
Exceptions passed to wait_op caller
2015-07-21 23:14:23 +03:00
Nekotekina
a7668ff57f
SPU_EVENT_LR improved
2015-07-21 23:14:22 +03:00
Nekotekina
1e021cdbba
waiter_map reintroduced, combined with vm
2015-07-21 23:14:20 +03:00
Nekotekina
a8fcf71f9c
Minor bugfix, cleanup
2015-07-21 23:14:04 +03:00
Nekotekina
3bc6c53eb3
sys_interrupt improved
2015-07-18 03:12:10 +03:00
Nekotekina
b8a27d8a4c
Silly bugs fixed
2015-07-18 03:12:08 +03:00
Nekotekina
48c75105e2
"Memory" eliminated
2015-07-18 03:12:06 +03:00
Raul Tambre
5f43360711
Fix Travis compiling
2015-07-16 21:36:06 +03:00
Raul Tambre
67e647a2ca
sys_net and cellRudp fixes
2015-07-16 20:28:47 +03:00
Raul Tambre
746be46f1e
Huge improvements to cellNetCtlGetInfo
2015-07-16 17:09:42 +03:00
Raul Tambre
6305d4edf9
Minor savedata fix and cellSail callback fixes
2015-07-16 14:31:59 +03:00
Raul Tambre
6beec80b60
Draft socketselect, other minor fixes
2015-07-15 16:21:41 +03:00
Raul Tambre
82733e1943
cellRudp improvements and fixes
2015-07-15 11:52:20 +03:00
Raul Tambre
2e3113b5f2
Fix Travis compiling
2015-07-14 18:59:10 +03:00
Raul Tambre
80b544aa78
Add sceNp2 and some sceNpMatching2 functions
2015-07-14 15:07:23 +03:00
Raul Tambre
ddcaf4972f
Better fix for savedata and cellCamera improvements
2015-07-14 14:45:31 +03:00
Raul Tambre
66cf864ee0
Fix saving and some more logging
...
Fixes Shin Hayarigami (BLJS10279).
2015-07-13 22:06:16 +03:00
Nekotekina
06dacf04b5
Log style fix
2015-07-11 02:38:40 +03:00
Nekotekina
2d37c6b5e2
sys_memory, sys_mmapper rewritten
...
LogBase::Fatal() removed
2015-07-10 20:37:12 +03:00
Nekotekina
39629c5c7a
IdManager collision threat fix
2015-07-10 04:31:43 +03:00
Nekotekina
4bacfcf847
sys_lv2dbg added, bugfix
2015-07-10 04:31:41 +03:00
Nekotekina
daa93a7226
ARMv7 func binder improved (faster compilation)
2015-07-10 04:31:39 +03:00
Nekotekina
096fc86f17
SC_FUNC improved (faster compilation)
2015-07-10 04:31:37 +03:00
Nekotekina
82781e620a
Small fixes
2015-07-10 04:31:36 +03:00
Nekotekina
c0f13f7084
sleep_queue_t rewritten, used in sys_cond/sys_mutex
...
Some synchronization fixes
2015-07-10 04:31:34 +03:00
Nekotekina
eafddd9e33
CPUThread fixes, thread_t cleanup
2015-07-10 04:31:32 +03:00
Nekotekina
83321c5be7
sys_time_get_current_time fixed, CALL_FUNC draft
2015-07-10 04:31:30 +03:00
Nekotekina
22e1da5e76
Minor cleanup
2015-07-10 04:31:29 +03:00
Nekotekina
3064cf8101
CHECK_EMU_STATUS, autojoin_thread_t
2015-07-10 04:31:27 +03:00
Nekotekina
8f9e1100c8
SPU fixes, various fixes
2015-07-10 04:31:25 +03:00
Nekotekina
721ad404d2
VM_CAST macro
2015-07-10 04:31:23 +03:00
Nekotekina
8c00dcd02d
Bugfix
2015-07-10 04:31:21 +03:00
Nekotekina
32d3d1fbe5
EXCEPTION() macro usage, sceNpTrophy improved
2015-07-10 04:31:20 +03:00
Nekotekina
6f1e76198a
Some fixes
2015-07-10 04:31:18 +03:00
Nekotekina
3aefa2b4e1
ThreadBase rewritten (wip)
2015-07-10 04:31:16 +03:00
Nekotekina
b7a320fbbd
cellCamera fix
2015-07-10 04:31:14 +03:00
Nekotekina
ec68e012f9
vm::var replaced, atomic_op simplified
2015-07-10 04:31:12 +03:00
Nekotekina
c598fe7aa9
atomic_op() rewritten, atomic.h refactoring
...
cellSync refactoring, wait_op() rewritten, bugfixes
2015-07-10 04:31:10 +03:00
Nekotekina
39f836b495
re32/se32/... macro eliminated, some fixes
2015-07-10 04:31:09 +03:00
Nekotekina
ef6f9f6ded
be_t constructor implemented, make() eliminated
...
be_t enums are forbidden, le_t improved, some operators cleaned.
2015-07-10 04:31:07 +03:00
S Gopal Rajagopal
a800d21a31
SPURS: Fix some bugs
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
2015-07-10 04:31:05 +03:00
S Gopal Rajagopal
fe67504ffc
SPURS: Use atomic ops to implement some portions of event flags and trace
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
rpcs3/Emu/SysCalls/Modules/cellSpurs.h
rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
2015-07-10 04:31:03 +03:00
S Gopal Rajagopal
dc92a79fcc
SPURS: Implement some core functions
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
rpcs3/Emu/SysCalls/Modules/cellSpurs.h
2015-07-10 04:31:01 +03:00
Nekotekina
714da1aa7c
vm::var fix, vm::ptr improved
...
GetCurrentPPUThread() removed
2015-07-10 04:31:00 +03:00
S Gopal Rajagopal
46e4f2d48c
SPURS: Implement some portions of spurs initialization
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
rpcs3/Emu/SysCalls/Modules/cellSpurs.h
rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
rpcs3/Emu/SysCalls/lv2/sys_event.cpp
rpcs3/Emu/SysCalls/lv2/sys_event.h
rpcs3/Emu/SysCalls/lv2/sys_lwmutex.cpp
rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h
rpcs3/Emu/SysCalls/lv2/sys_semaphore.cpp
rpcs3/Emu/SysCalls/lv2/sys_semaphore.h
rpcs3/Emu/SysCalls/lv2/sys_spu.cpp
rpcs3/Emu/SysCalls/lv2/sys_spu.h
2015-07-10 04:30:58 +03:00
S Gopal Rajagopal
5b7f701878
SPURS: Implement SPURS SPU thread exit using throw
...
Conflicts:
rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
2015-07-10 04:30:56 +03:00
Nekotekina
c0fdef7a12
Small fix
2015-07-10 04:30:54 +03:00
Nekotekina
317417d541
vm::cptr/bcptr/lcptr used widely for const pointers
2015-07-10 04:30:53 +03:00
Nekotekina
e896da8064
Added .aligned() method for vm::ptr
...
Added set_alignment() macro for setting alignment
Added alignof32() macro similar to sizeof32()
Added CHECK_SIZE, CHECK_ALIGN macro with static_assert
Minor refactoring
2015-07-10 04:30:51 +03:00
Nekotekina
a7f77c27f7
ARMv7Context used through multiple inheritance
...
Forgive me...
2015-07-10 04:30:49 +03:00
Nekotekina
6c4148a949
Bugfix
2015-07-10 04:30:47 +03:00
Nekotekina
bc9481db1b
PSV modules refactoring
2015-07-10 04:30:45 +03:00
Nekotekina
8229c0ed3d
Compilation fix
2015-07-10 04:30:43 +03:00
Nekotekina
edb9595721
Using vm::ps3 namespace moved in proper places
...
Various fixes
2015-07-10 04:30:41 +03:00
Nekotekina
7eacfe19f6
vm::ptr fixes
...
std::function conversion removed (since it's convertible anyway),
pointer difference return type changed
vm::cptr, vm::bcptr aliases added
2015-07-10 04:30:39 +03:00
Nekotekina
63c5b2ab32
sys_fs_open() O_APPEND support
...
Added vm::static_ptr_cast, vm::const_ptr_cast, vm::reinterpret_ptr_cast
Added pointer comparison with vm::null
2015-07-10 04:30:37 +03:00
Danila Malyutin
e338c3938b
Trying to fix potential resource leak
2015-07-10 04:26:59 +03:00
Danila Malyutin
8483b17995
Initialize pointers to null on creation
...
Fixes access violation in hello_world.ppu.elf on window close.
As I understood the reason - when dtor of XAudioThread is called it
checks:
if (m_source_voice) Quit();
But m_source_voice isn't initialized to 0 by default so when in Quit()
in tries to call some funcs from unitialized ptrs and access violation
happens.
2015-07-10 04:26:57 +03:00
Danila Malyutin
6ce793d582
Deleted unneeded xaudio #ifs
...
There is no improvement in 2.8 and on my setup (8.1 x64) it always
preferred minidx headers anyway (so it'd still load 2.7 dll).
2015-07-10 04:26:56 +03:00
Raul Tambre
f272171099
Re-do network status and add it to settings
2015-07-09 20:42:39 +03:00
Raul Tambre
909b512493
SysCall improvements
2015-07-09 20:19:29 +03:00
Raul Tambre
61cd591ad5
Improve cellGameBootCheck
2015-07-06 14:47:49 +03:00
Raul Tambre
30c25cb722
Added NV4097_SET_TEXTURE_CONTROL2
...
Still need to use the parameters that are passed.
2015-07-06 10:12:17 +03:00
vlj
f4efeabcf3
RSX: Rename and document function member.
2015-07-03 17:08:06 +02:00
vlj
972515938c
Memory: Fix virtualProtect protecting too much memory.
2015-07-03 17:08:06 +02:00
raven02
3a0894aaea
RSX: Use CELL_GCM suffix for index array
2015-07-02 19:01:19 +02:00
vlj
5abeec85cc
GL/RSX: Let backend call LoadVertex themselves.
2015-07-02 19:01:19 +02:00
vlj
4485e6b869
RSX: Do not emit error when parsing NV4097_SET_NO_PARANOID_TEXTURE_FETCHES
...
This opcode disables whole quad fetch on RSX, this is handled by drivers
on PC api.
2015-07-02 19:01:18 +02:00
vlj
288581cb43
RSX/GL/Null: Move semaphore handling to backend
2015-07-02 19:01:18 +02:00
vlj
0993ee08e6
sysGCM: Fix for getNextCommandBufferBeginEnd
...
We were sometimes using memory outside of buffer.
It fixes vertex attribute test.
2015-06-22 00:59:14 +02:00
Vincent Lejeune
9a91b188df
SysGCM: Split default command buffer into 32kb big fragments and swap between them
2015-06-20 00:52:21 +02:00
Nekotekina
d8b1c3118a
vm::ref assignment operators fixed
2015-06-15 19:21:23 +03:00
Nekotekina
d7cb5a6e9e
vm::ref improved (operators)
...
atomic operators fixed, vm::ptr operators improved
2015-06-15 19:21:20 +03:00
Nekotekina
b7d967361d
vm::ptr conversion operator fixed
2015-06-15 19:21:18 +03:00
Nekotekina
93dcd704c5
vm::psv::pptr usage
2015-06-15 19:21:16 +03:00
Nekotekina
3064560027
vm::ptr refactoring (operators improved)
...
vm::pptr, vm::bpptr added for PS3
is_le_t added
sizeof32() added (32-bit sizeof macro)
2015-06-15 19:21:14 +03:00
Nekotekina
8c62a893a9
cellGifDec, cellPngDec: small update
2015-06-15 19:21:12 +03:00
Nekotekina
a77a75660b
Compilation fix
2015-06-15 19:21:10 +03:00
Nekotekina
4d9add5e7c
vm::ref improved, bugfixes
2015-06-15 19:21:09 +03:00
Nekotekina
1256d648c1
be_t simplified, vm::ref improved
...
remove_be_t renamed to to_ne_t (to native endianness)
le_t and to_le_t draft, bugfixes
2015-06-15 19:21:07 +03:00
Igor null
5ae2349f36
changed broken breakpoints database format to a consistent format
2015-06-15 18:09:21 +03:00
Hykem
d86c33c09e
Merge pull request #1111 from danilaml/improve-llvm-tests
...
Make ppuJIT test log more compact and easier to read
2015-06-08 18:41:13 +01:00
vlj
02594c8239
RSX: Fix index gathering
2015-06-08 18:11:51 +02:00
Danila Malyutin
ee715d9d36
Make ppuJIT testlog more compact and easier to read
2015-06-02 23:11:46 +03:00
raven02
f2c5dc2b5c
RSX: simplify resolution rescale
2015-05-31 18:35:15 +08:00
raven02
e6df1ddcc0
Fix CELL_GCM_TEXTURE_CLAMP
...
It should be GL_CLAMP
2015-05-29 21:59:51 +08:00
DHrpcs3
39e679806b
Implemented some sys_prx syscalls
...
Fixed vm::ptr
Conflicts:
Utilities/BEType.h
Utilities/StrFmt.cpp
rpcs3/Emu/Memory/vm_ptr.h
rpcs3/Emu/SysCalls/lv2/sys_prx.cpp
rpcs3/Emu/SysCalls/lv2/sys_prx.h
Cherry-picked commit "Implemented some sys_prx syscalls"
2015-05-29 04:34:30 +03:00
Nekotekina
b84d831d8f
MFF_NO_RETURN flag introduced
2015-05-29 01:49:50 +03:00
Nekotekina
a70d305806
IdManager fix
2015-05-28 22:13:35 +03:00
Nekotekina
0724a9efa2
printf_alike removed
2015-05-28 18:28:34 +03:00
Nekotekina
74e13a4ef6
Compilation fix
2015-05-28 18:23:11 +03:00
Nekotekina
78fdcf75e7
Attribute macro changed
...
__forceinline -> force_inline
__noinline -> never_inline
printf_alike(x,y) added
2015-05-28 18:14:22 +03:00
Nekotekina
f83306b0bf
Fix
2015-05-27 15:49:54 +03:00
Nekotekina
26e5a07905
Fix
2015-05-27 13:55:15 +03:00
Nekotekina
2823953489
Compilation fix
2015-05-27 12:51:25 +03:00
Nekotekina
22b78fec71
IdManager improved, atomic_t improved
...
Various changes
2015-05-27 06:11:59 +03:00
Nekotekina
cdf70e0b77
Compilation fix
2015-05-25 22:11:55 +03:00
Nekotekina
98aee31c5a
refcnt.h removed
2015-05-25 21:12:53 +03:00
vlj
2dbac65613
GL: Fix output swizzling for fog and clip distance
2015-05-24 17:09:05 +02:00
B1ackDaemon
dcad0e286a
Merge pull request #1092 from Bigpet/localdev
...
Change `GetDeviceLocal` device selection
2015-05-24 02:09:51 +03:00
raven02
2d6dd873cd
FP: RSQ instruction alternative
2015-05-23 20:45:12 +02:00
raven02
f98b03b61f
VP: use getFloatTypeName() with compare instructions
2015-05-23 20:45:11 +02:00
raven02
eac5147a45
FP: fix SFL instruction
2015-05-23 20:45:11 +02:00
raven02
bebd437a7e
RSX: use getFloatTypeName
2015-05-23 20:45:10 +02:00
Vincent Lejeune
669a54d071
GL: Factorise getFloatTypeName, getFunction and compareFunction between Fragment and Vertex Decompiler
2015-05-23 20:45:10 +02:00
raven02
79cb025d25
RSX : factorize DPH
2015-05-23 20:45:09 +02:00
raven02
67e8e0a367
RSX: DP2A for fragment decompiler
2015-05-23 20:45:09 +02:00
raven02
f961a2e3b4
GL: fix IFE instruction
2015-05-23 20:45:08 +02:00
vlj
df794b88b0
GL: Use decompiler common class
2015-05-23 20:45:08 +02:00
vlj
2416d49dba
RSX: Add a class factorizing decompiler code
2015-05-23 20:45:07 +02:00
B1ackDaemon
2a6f11b390
Merge pull request #1089 from vlj/gl
...
Store Vertex/Fragment program in a hashtable and do not rebuilt FP if a constant changes
2015-05-23 02:53:48 +03:00
Vincent Lejeune
7a5c8dd586
GL: Remove unused calls to glGetError()
2015-05-22 19:43:32 +02:00
B1ackDaemon
d5ead0d315
Merge pull request #1091 from vlj/shader-fix
...
gl: Fix swizzle for DIVRSQ, COS, SIN in fragment shader
2015-05-21 19:13:46 +03:00
raven02
d0c2addf91
gl: Fix IFE instruction
...
This fixes the rsx_fp_static_test4.ppu.elf
2015-05-21 22:34:51 +08:00
Peter Tissen
0b0c8723eb
Change GetDeviceLocal device selection
...
For `GetDeviceLocal` only consider a device if the full path to the device
matches the first part of the path to match.
The issue was that putting in a file that was not in a sub-path of an existing
mounted device failed. So if the rpcs3 devices are in
D:\DEV\rpcs3\bin and you open D:\DEV\ps3autotests\tests\rsx\primitives\primitives.ppu.elf
it would return
/dev_usb000/ps3autotests\tests\rsx\primitives\primitives.ppu.elf
which resolves to
D:/DEV/rpcs3/bin/dev_usb000/ps3autotests/tests/rsx/primitives/primitives.ppu.elf
and is wrong.
Correct are either /dev_usb000/../../../ps3autotests\tests\rsx\primitives\primitives.ppu.elf
or /hostfs/D:\DEV\ps3autotests\tests\rsx\primitives\primitives.ppu.elf
I chose to resolve without the ".." beyond root, since that just seems wrong
(so it will now return the hostfs version).
Fixes #1090
2015-05-21 10:45:40 +02:00
vlj
d58188d7ba
gl: Fix swizzle for DIVRSQ, COS, SIN, EXP2, LOG2 in fragment shader
...
This fix rsx_fp_static_test2.ppu.elf, rsx_fp_static_test3.ppu.elf, rsx_fp_static_test5.ppu.elf.
Likely rsx_fp_dynamic_test2.ppu.elf too
2015-05-20 19:31:21 +02:00