1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00
Commit Graph

704 Commits

Author SHA1 Message Date
DH
6cb036d35f Fix for gcc/clang build 2015-10-08 00:05:04 +03:00
DH
1e7ded2163 rsx::thread moved from rsx2 branch
TODO: cellResc module & RsxDebugger disabled, DX12 renderer not compilable
2015-10-05 12:56:05 +03:00
Nekotekina
cd71125277 Git version fixed 2015-10-04 23:05:46 +03:00
Nekotekina
8ae3401ffa Some things improved
shared_mutex_t implemented
GUI Emu Callbacks rewritten
fxm::import, fxm::import_always implemented
cellMsgDialog rewritten
Emu.CallAfter improved (returns std::future)
2015-09-22 16:48:21 +03:00
Nekotekina
9d68c16c62 be_t (se_t) optimizations 2015-09-22 13:28:35 +03:00
Nekotekina
59f1077a36 Cleanup, be_t fixed
Some functions renamed:
get_ps3_function_name
execute_syscall_by_index
2015-09-22 13:28:34 +03:00
Nekotekina
4e62ec7458 PKG Installer fixed, u128 improved 2015-09-22 13:28:32 +03:00
Nekotekina
12f36cf31f Experimental class template Module<T>
Allocates ps3 memory for specific instance T
2015-09-22 13:28:31 +03:00
Nekotekina
cbe83ad8dd Various fixes 2015-09-08 13:47:00 +03:00
Nekotekina
d1f31d6fda fmt::format fixed 2015-08-27 02:57:00 +03:00
Vincent Lejeune
942f26509b Memory: Factorize virtual memory reservation/allocation code in function 2015-08-26 21:54:40 +02:00
Nekotekina
e551e2bc5d Bugfix 2015-08-24 21:22:49 +03:00
Nekotekina
5e14310071 noexcept usage fixed
thread_t renamed to named_thread_t
2015-08-24 21:22:48 +03:00
Nekotekina
9c8773252a Minor style changes (sys_net) 2015-08-24 21:22:43 +03:00
Nekotekina
ce494f8847 fmt::by_value, fmt::Format removed 2015-08-24 21:22:42 +03:00
Nekotekina
73b108765e fs:: const renaming, fs::g_tls_error stub 2015-08-24 21:22:39 +03:00
Nekotekina
d9403c2ed2 thread_t cleanup 2015-08-24 21:22:37 +03:00
Nekotekina
c6bdedf3b0 sleep_queue_t moved to SleepQueue.cpp, cleanup
Used ARMv7Thread instead of ARMv7Context in PSV HLE functions and
callbacks. However, interpreter still uses ARMv7Context.
Various PSV functions partially implemented:
sceKernelCreateEventFlag
sceKernelDeleteEventFlag
sceKernelOpenEventFlag
sceKernelCloseEventFlag
sceKernelWaitEventFlag
sceKernelWaitEventFlagCB
sceKernelPollEventFlag
sceKernelSetEventFlag
sceKernelClearEventFlag
sceKernelCancelEventFlag
sceKernelGetEventFlagInfo
sceKernelCreateSema
sceKernelDeleteSema
sceKernelCreateMutex
sceKernelDeleteMutex
sceKernelCreateCond
sceKernelDeleteCond
2015-08-24 21:22:30 +03:00
Nekotekina
07b9379a7c New u128 type stub 2015-08-24 21:22:27 +03:00
Nekotekina
8d758b9088 alignas() used instead of set_alignment macro 2015-08-24 21:22:25 +03:00
Nekotekina
6f3c50eba2 u128 renamed to v128
Since it's vector union type
2015-08-24 21:22:23 +03:00
Danila Malyutin
d0283265cc Improve clock_gettime on osx
and some clean up
2015-08-24 00:20:02 +03:00
Danila Malyutin
009370f73c Fix some compiling problems on OSX
and enable osx builds on travis
2015-08-24 00:20:01 +03:00
Nekotekina
badeb29901 Minor fixes 2015-08-01 14:39:10 +03:00
Nekotekina
16b7d204d2 decode_x64_reg_op: MOVUPS support 2015-08-01 14:38:59 +03:00
Nekotekina
8e1991c1e1 semaphore_t, RSX fixes
1) GS_LOCK_WAIT_FLUSH semaphore eliminated
2) GS_LOCK_WAIT_FLIP semaphore left unused
3) cellRescSetWaitFlip/cellGcmSetWaitFlip purged: they don't wait for
flip, it's a nonsense, they only generate some RSX command
4) Semaphores rewritten
2015-08-01 14:38:57 +03:00
Nekotekina
ffc11bfda3 b8 type 2015-08-01 14:38:45 +03:00
Danila Malyutin
caa6db8617 Replace clang diagnostics with gcc
Clang understands both types of pragmas. Unfortunately it seems that due to bug in gcc (id=53431) this doesn't help
2015-07-27 03:33:59 +03:00
Danila Malyutin
5ae6586803 Add missing override specifiers 2015-07-26 18:37:14 +03:00
Raul Tambre
14897b23b7 Minor formatting 2015-07-26 16:44:55 +03:00
Peter Tissen
4624377942 use official wxWidgets repo 2015-07-23 12:17:58 +02: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
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
4bacfcf847 sys_lv2dbg added, bugfix 2015-07-10 04:31:41 +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
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
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
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
6c4148a949 Bugfix 2015-07-10 04:30:47 +03:00
Nekotekina
bc9481db1b PSV modules refactoring 2015-07-10 04:30:45 +03:00
Nekotekina
edb9595721 Using vm::ps3 namespace moved in proper places
Various fixes
2015-07-10 04:30:41 +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
vlj
4a7f6af8d9 Memory: Add a callback allowing customisation of handle_access_violation. 2015-07-02 19:05:27 +02:00
Nekotekina
9c1c3bffbe is_be_t, is_le_t fixed 2015-06-15 20:00:08 +03:00
Nekotekina
e833904b02 BEType improved (bugfix) 2015-06-15 19:21:21 +03:00
Nekotekina
b7d967361d vm::ptr conversion operator fixed 2015-06-15 19:21:18 +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
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
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
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
18fa6ca961 Forgotten one 2015-05-28 18:16:03 +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
fba8e84370 Compilation fix 2015-05-27 14:05:04 +03:00
Nekotekina
26e5a07905 Fix 2015-05-27 13:55:15 +03:00
Nekotekina
7037da80cb Compilation fix 2015-05-27 13:17:28 +03:00
Nekotekina
f14b712f07 Compilation fix 2015-05-27 13:02:29 +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
Syphurith
5a6869fc5e Renamed LogSeverity Symbols, like.. LogSeveritySuccess from Succuess to avoid conflicts with macros such as those in X11 header. 2015-05-22 20:16:30 +08:00
Nekotekina
f92c10ef71 Minor fixes 2015-05-08 12:45:21 +03:00
Nekotekina
e676d0bdcf Bugfix 2015-04-26 02:29:53 +03:00
Nekotekina
31a41b795e fs::dir::get_first fixed 2015-04-25 23:55:15 +03:00
Nekotekina
442cf3e937 Compilation fix 2015-04-25 23:24:45 +03:00
Nekotekina
3cab629a67 Compilation fix 2015-04-25 23:21:06 +03:00
Nekotekina
dcf3e0776e Compilation fix 2015-04-25 23:10:39 +03:00
Nekotekina
02ca97804e fs::dir implemented, bugfixes 2015-04-25 22:15:53 +03:00
Nekotekina
c5737d01c6 Logging fixed
Now it displays messagebox if logging system isn't initialized.
Otherwise it could cause stack overflow.
2015-04-25 16:29:05 +03:00
Nekotekina
74b3580b69 rfile_t renamed 2015-04-25 00:38:11 +03:00
Nekotekina
ed6fb7cc43 o_append implemented 2015-04-24 17:06:30 +03:00
Nekotekina
fbc268e993 rFileName removed 2015-04-23 19:58:37 +03:00
Nekotekina
8b0c772423 Fix unique_ptr usage 2015-04-21 22:35:11 +03:00
Nekotekina
56c64c8045 VFS::CreatePath fixed, bugfixes 2015-04-20 18:53:31 +03:00
Nekotekina
8c1aa3ee15 Bugfix 2015-04-20 04:54:19 +03:00
Nekotekina
3b26031692 Bugfix 2015-04-20 01:26:28 +03:00
Nekotekina
339021ac15 cellFsGetDirectoryEntries improved 2015-04-19 22:25:04 +03:00
Nekotekina
73b00b844b sys_fs_fstat fixed 2015-04-19 20:57:04 +03:00
Nekotekina
3c872ab611 sys_fs_ftruncate implemented, bugfixes
Eliminated using stat() for _WIN32 because it doesn't support unicode
correctly, use rExists() or get_file_info() instead
2015-04-19 20:14:16 +03:00
Nekotekina
93ebce4162 Bugfixes 2015-04-19 19:02:35 +03:00
Nekotekina
ab405901ee wxFile removed (rFile -> rfile_t) 2015-04-19 16:19:24 +03:00
Nekotekina
f2276bb70c VFS::TruncateFile() implemented 2015-04-18 16:38:42 +03:00
Nekotekina
4874a81dc5 cellSaveData improved 2015-04-17 07:37:13 +03:00
Nekotekina
00205bfa58 Abstract class for MsgDialog interface 2015-04-15 21:33:44 +03:00
Nekotekina
cfb41c4dab Compilation fix 2015-04-15 18:12:10 +03:00
Nekotekina
d032bc5691 vfsLocalDir, rFile routines improved 2015-04-15 17:27:37 +03:00
Nekotekina
b54a33efce Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2015-04-14 13:35:36 +03:00
Nekotekina
39524318aa CopyFile improved 2015-04-13 22:06:01 +03:00
Nekotekina
7e8e288ba2 CopyFile fixed (finally) 2015-04-13 21:42:39 +03:00
Nekotekina
f8c64b1fb4 CopyFile fixed 2015-04-13 21:35:44 +03:00
Nekotekina
f8ad9d13f8 CopyFile fixed 2015-04-13 21:21:50 +03:00
Nekotekina
a465c1aa0a getFileInfo fixed 2015-04-13 21:10:31 +03:00
Nekotekina
16fe7919a0 VFS::CopyFile implemented 2015-04-13 17:46:10 +03:00
luxsie
ef7166057a Revert Non-Necessary Change. Thank Bigpet. 2015-04-09 21:30:24 +08:00
luxsie
da85fba015 Modify .travis.yml to enable Travis.
Fix the master git repo name in Github, also the one in git-version-gen.cmd.
Display Shell Export List to help debugging our Travis Build.
2015-04-09 15:11:32 +08:00
B1ackDaemon
952098c00f Merge pull request #1046 from Nekotekina/new_interpreter
Alternative interpreters
2015-04-04 20:03:18 +03:00
Nekotekina
1c82e8b1d5 Bugfixes 2015-04-03 19:56:57 +03:00
Nekotekina
6b9a6c50fe PPU: some instructions replaced 2015-04-01 17:01:04 +03:00
Joshua Clark
3c3e3baa14 proper fix for issue #1041 2015-03-31 04:20:25 -05:00
Joshua Clark
10983338d8 Small fixes to allow compililation on linux 2015-03-31 03:34:37 -05:00
Nekotekina
3247152ff7 PPU: some instructions replaced 2015-03-29 14:00:10 +03:00
Nekotekina
d640aba903 PPU: some instructions replaced 2015-03-26 21:42:12 +03:00
Nekotekina
ff1708a899 SPU: some instructions updated 2015-03-21 17:29:33 +03:00
Nekotekina
ef563f038d SPU: some instructions updated 2015-03-21 02:36:05 +03:00
Nekotekina
a71cb5f521 Basic concept 2015-03-17 00:38:21 +03:00
Nekotekina
bee6b84733 sys_fs bugfixes 2015-03-16 19:20:02 +03:00
Nekotekina
c88e0a0eb9 Small cleanup 2015-03-13 04:09:53 +03:00
Nekotekina
5764ee7a2a Small fix 2015-03-13 02:03:22 +03:00
Nekotekina
4a6ef91eb3 More cleanup 2015-03-07 19:03:42 +03:00
Nekotekina
961fc27215 Minor cleanup 2015-03-07 16:39:07 +03:00
Nekotekina
ef65299dff Lv2 Cond/Mutex rewritten, bugfixes 2015-03-07 01:10:04 +03:00
Nekotekina
9e49a33b3c SPU syscall improvements 2015-03-05 00:51:14 +03:00
Nekotekina
8587ae5883 Compilation fix 2015-03-03 02:34:49 +03:00
Nekotekina
5f8cf18a5a SPU refactoring 2015-03-03 00:09:20 +03:00
Nekotekina
619b8e473f Possibly fix for OSX 2015-02-28 22:37:31 +03:00
Nekotekina
942d984dc5 sys_process_get_paramsfo implemented 2015-02-28 17:41:15 +03:00
Nekotekina
d62e95d0f8 Success log level fixed 2015-02-27 21:11:07 +03:00
Nekotekina
655acc746d HLE function binding for PPU/ARMv7 simplified 2015-02-20 16:58:40 +03:00
Nekotekina
7ab1e64aab Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2015-02-20 14:38:57 +03:00
Nekotekina
f9eb3f8476 get_x64_reg_value fix 2015-02-19 23:38:25 +03:00
S Gopal Rajagopal
1356a17e84 Merge upstream 2015-02-20 01:57:46 +05:30
S Gopal Rajagopal
68978a0109 SPURS: More fixes 2015-02-20 01:53:05 +05:30
Nekotekina
2d1d996c50 Small fix 2015-02-19 14:18:28 +03:00
Nekotekina
d177b1adea ARMv7: loader fixed 2015-02-19 00:23:31 +03:00
Nekotekina
af986d8f4c Loader improved, ModuleManager refactored 2015-02-18 19:22:06 +03:00
Nekotekina
1f2eafc4f2 Loader fixed 2015-02-17 18:27:15 +03:00
Nekotekina
3f3873ceb5 STOS support (for memset) 2015-02-17 05:01:47 +03:00
Nekotekina
bddad4d766 Compilation fix 2015-02-17 03:40:10 +03:00
Nekotekina
20dce26b1d Reservations improved 2015-02-17 03:08:23 +03:00
Nekotekina
e6c628caba Memory (unfinished) 2015-02-16 04:53:53 +03:00
Nekotekina
1189503b4d Some cleanup 2015-02-15 20:13:06 +03:00
Nekotekina
6909a15400 decode_x64_reg_op improved 2015-02-15 15:31:42 +03:00
Nekotekina
f01059283a Some cleanup 2015-02-14 00:45:36 +03:00
Nekotekina
0d489518ab Compilation fix 2015-02-13 23:24:18 +03:00
Hykem
fcd300ad4d Merge pull request #1008 from robxu9/master
Fix building on OS X 10.10
2015-02-13 15:55:08 +00:00
S Gopal Rajagopal
853234f7d7 Merge remote-tracking branch 'upstream/master' into spurs_taskset 2015-02-11 15:00:46 +05:30
Robert Xu
00e637645c Fix building on OS X 10.10 2015-02-10 23:17:39 -05:00
Nekotekina
31bbf56ff1 Reservations improved 2015-02-08 18:25:50 +03:00
Nekotekina
19acaf3f86 Bugfix, ECIWX/ECOWX disabled 2015-02-08 16:38:08 +03:00
Nekotekina
1af4848324 New reservations (not finished) 2015-02-07 02:39:51 +03:00
Nekotekina
e93aaf3957 ARMv7: bugfix, some disasm subroutines 2015-02-05 15:18:10 +03:00
Nekotekina
819c955cca ARMv7: partial disasm functionality, bugfix 2015-02-05 02:52:47 +03:00
S Gopal Rajagopal
daaa5059e9 SPURS: Fixed more issues 2015-02-04 20:59:34 +05:30
Nekotekina
e3f55a75a3 TTY output improved; ARMv7: new instructions
ADC_REG, MVN_REG, ORR_REG, ROR_IMM, ROR_REG, TST_IMM, armv7_fmt improved
2015-02-04 15:16:10 +03:00
B1ackDaemon
c267ca2584 Merge pull request #989 from Nekotekina/master
Various improvements
2015-02-02 13:39:51 +02:00
Peter Tissen
bd65f81074 Fix some small mistakes
* replace_first and replace_all were in the wrong namespace, so they could not be linked
* replace_all did not work correctly (would loop indefinately)
* cellGcmUnmapIoAddress did not shif the size, so it would run past the end of the mmap array
* fsstat did use a 32-bit size on Windows, so files >4 gigs would return "stat failed"
2015-02-02 11:27:18 +01:00
Nekotekina
23c7028b2a ARMv7: ARM encoding introduced; bugfixes 2015-02-02 12:14:49 +03:00
B1ackDaemon
1fa301b719 Merge pull request #981 from Nekotekina/master
ARMv7 progress, some changes in vm_ptr
2015-01-29 01:57:42 +02:00
Nekotekina
579a88b7c4 vm_ptr: function format changed 2015-01-28 15:59:16 +03:00
Raul Tambre
095608530f Merge pull request #976 from tambry/Fixes
Various fixes and improvements
2015-01-27 16:54:59 +02:00
Raul Tambre
78a92c7d43 More fixes and fixes to previous fixes 2015-01-26 21:01:47 +02:00
Nekotekina
6d1c9f2764 Some warnings fixed 2015-01-25 19:23:24 +03:00
Raul Tambre
be50130c3f Various fixes
Fixes to dead code and a couple self-assignings
2015-01-24 21:50:26 +02:00
Nekotekina
4f706ed69c ++ 2015-01-23 15:57:50 +03:00
Nekotekina
07a2e0b55a fmt::format fixed 2015-01-22 02:45:50 +03:00
Nekotekina
3428499492 fmt::to_udec(), fmt::to_sdec() 2015-01-19 16:31:02 +03:00
Nekotekina
0d28f378a7 fmt::format() optimization (fmt::unveil template) 2015-01-19 01:54:56 +03:00
Nekotekina
561e7cd5a9 Compilation fix 2015-01-18 17:30:24 +03:00
Nekotekina
6545df2b15 Exception handling fix 2015-01-18 16:57:39 +03:00
Nekotekina
a6754e29a6 Compilation fix 2015-01-17 19:36:23 +03:00
Nekotekina
b897a5d20a cellAudio, thread_t improvements, pause/resume callback 2015-01-17 19:14:58 +03:00
Nekotekina
4dae27c1d4 squeue_t updated 2015-01-16 20:09:53 +03:00
Nekotekina
fd06f70387 cellAudio updated, thread_t updated 2015-01-16 17:36:53 +03:00
Nekotekina
809ba66290 vm::cast in PPUInterpreter 2015-01-14 19:48:50 +03:00
Nekotekina
cdeac05e88 vm::cast 2015-01-14 16:57:19 +03:00
Nekotekina
bf7cf0ee9d .ToLE() changed to .value() or removed 2015-01-14 02:08:00 +03:00
Nekotekina
88fd748dd5 Experimental vm::ptr support for fmt::format 2015-01-13 20:14:07 +03:00
Nekotekina
1c4e89d2bf Formatting fixes, ToBE() replaced with data() 2015-01-13 17:54:36 +03:00
Nekotekina
fe86869f37 Fix 2015-01-13 03:10:39 +03:00
Nekotekina
25672cdc47 cntlz fix 2015-01-13 00:32:53 +03:00
Nekotekina
7372583cab Compilation fix 3 2015-01-12 23:37:29 +03:00
Nekotekina
e40347dd53 Compilation fix 2 2015-01-12 22:31:11 +03:00
Nekotekina
b90540c1eb Compilation fix 2015-01-12 22:11:55 +03:00
Nekotekina
b6ec618f97 Experimental template formatting with be_t<> support 2015-01-12 21:12:06 +03:00
Nekotekina
c36e692411 be_storage_t
BE data is internally stored as u8, u16, u32, u64, u128 value (decreases
amount of reinterpret casts in be<>le conversions)
2015-01-11 12:33:05 +03:00
Nekotekina
056f93f3e4 Linux fixes 2015-01-09 01:17:26 +03:00
Nekotekina
ba5e2e3f0f Fix 3 2015-01-05 01:29:51 +03:00
Nekotekina
43ebd4450d Fix 2 2015-01-05 01:01:43 +03:00
Nekotekina
63df801b03 Compilation fix 2015-01-05 00:59:17 +03:00
Nekotekina
6069071e4d Code moved, attempt to make SIGSEGV handler 2015-01-05 00:46:31 +03:00
Nekotekina
f3cd908d5c Sync primitives reworked
(rwlock rewritten)
2015-01-02 02:41:29 +03:00
Nekotekina
653db28675 removed excessive stuff 2014-12-28 16:15:22 +03:00
Nekotekina
be2d606193 Conflicts fixed 2014-12-26 17:06:36 +03:00
Nekotekina
1491dcdc92 squeue_t fix 2 2014-12-26 01:58:43 +03:00
Nekotekina
bdbbde4d36 squeue_t fixed 2014-12-26 01:49:55 +03:00
Nekotekina
c305949435 Compilation fix 2014-12-25 23:30:34 +03:00
Nekotekina
7613d749ec SQueue renamed and moved 2014-12-25 01:24:17 +03:00
Nekotekina
b2de24db73 SMutex eliminated 2014-12-23 02:31:11 +03:00
raven02
0506bf0352 Reapply fmt::merge change 2014-12-21 07:30:30 +08:00
raven02
37838a49ec Revert fmt::merge 2014-12-18 00:10:20 +08:00
raven02
3fc471eb32 RSX: shaders fix and vertex texture implementation 2014-12-17 22:01:59 +08:00
Hykem
24c5e7d6cd Merge pull request #886 from Arkaran99/master
Avoid giving arguments by value for log
2014-12-14 13:11:50 +00:00
Nekotekina
eb7cd7ccce Demuxer improved + MSVC thread name registrering 2014-12-05 19:12:15 +03:00
Nekotekina
8cb8298c03 Going to fix demuxer 2014-12-03 16:21:58 +03:00
DHrpcs3
a58c5f5a4c VFS fixes
- using /app_home/ as local link
Implemented fmt::merge & fmt::tolower
2014-11-30 13:18:17 +02:00
DHrpcs3
a59cf50f03 Improved LLE Manager
Improved VFS
2014-11-29 15:16:53 +02:00
Raul Tambre
16b4b9bf40 Fix Travis compiling 2014-11-21 15:52:01 +02:00
DHrpcs3
cdfef3bf9e Fixed compilation errors
Implemented converter_le_be
2014-11-20 21:41:04 +02:00
DHrpcs3
598d929aba Implemented LLE Modules Manager (draft)
Improved loader core.
Implemented *_thread wrappers.
Minor fixes.
Temporary disabled ELF Compiler & DisAsm frame.
2014-11-19 16:16:30 +02:00
Nekotekina
df72f5e37c ARMv7: CMP_REG, LDR_IMM, LDR_LIT, STR_REG, SUB_REG
sceLibc: exit and printf drafts
This actually allows to display hello world.
2014-11-02 18:50:20 +03:00
Nekotekina
6df5ddb973 Few warnings fixed 2014-10-24 17:24:09 +04:00
S Gopal Rajagopal
dfd3425e65 Merge remote-tracking branch 'upstream/master' into ppu_llvm_recompiler
Conflicts:
	Utilities/BEType.h
	rpcs3/Emu/Cell/PPUInterpreter.h
	rpcs3/emucore.vcxproj.filters
2014-10-22 00:01:16 +05:30
S Gopal Rajagopal
8a7ba5a709 Merge remote-tracking branch 'upstream/master' into ppu_llvm_recompiler
Conflicts:
	Utilities/BEType.h
	rpcs3/Emu/Cell/PPUInterpreter.h
	rpcs3/emucore.vcxproj.filters
2014-10-19 02:36:26 +05:30
S Gopal Rajagopal
ce4d04290e Support more instructions 2014-10-19 01:57:54 +05:30
Nekotekina
81474be103 AV decoding minor cleanup 2014-10-18 21:00:21 +04:00
Nekotekina
318d06efda cellAdecClose, cellVdecClose fix 2014-10-18 02:20:03 +04:00
Nekotekina
18930a43f2 waiter_map_t small fix 2014-10-18 00:13:25 +04:00
Nekotekina
5de059789d waiter_map_t for syncRwm and syncQueue 2014-10-16 23:34:17 +04:00
Nekotekina
f839713a94 Bugfix 2014-10-16 21:07:41 +04:00
Nekotekina
18b69cac99 waiter_map_t : concept changed
Purpose-specific waiter_map_t objects instead of global one. SM_Sleep()
removed.
2014-10-16 20:29:41 +04:00
Nekotekina
48eb66383b waiter_reg_t, cellSyncBarrier improved 2014-10-11 02:37:20 +04:00
Nekotekina
3c2e0fff07 waiter_op() and waiter_signal() basis
Simplified signaling on condition variables without using them directly.
2014-10-11 01:33:57 +04:00
Nekotekina
446993eaa6 Atomic intrinsics for u128 type
cellSpursGetSpuThreadGroupId
cellSpursGetNumSpuThread
cellSpursGetSpuThreadId
2014-10-10 22:41:57 +04:00
Nekotekina
09fbda603c Atomic intrinsics refactoring 2014-10-10 22:19:14 +04:00
Nekotekina
266c3d4753 Small fixes 2014-10-08 18:26:08 +04:00
Arkaran99
d9a95aae09 Avoid giving arguments by value for log. 2014-10-08 01:35:19 +02:00
Nekotekina
94c30924dd Some things for u128 2014-10-08 01:37:04 +04:00
Nekotekina
237ab974dd SPURS kernel v1 2014-10-07 17:35:44 +04:00
Nekotekina
752449bbc0 Small update 2014-10-02 14:29:20 +04:00
Nekotekina
7d95311a01 Some %x fixed 2014-09-29 19:38:04 +04:00
Nekotekina
ae17ef4d68 vm::atomic -> atomic_t 2014-09-27 22:49:33 +04:00
Nekotekina
e40776ba79 cellSpursWakeUp, CellSpursWorkloadAttribute
+vm_atomic update (8bit type)
2014-09-26 01:41:35 +04:00
Nekotekina
a4a4e572a0 vm::atomic update, small fixes 2014-09-23 18:27:18 +04:00
Nekotekina
3ab08e0d7a vm::atomic update (or, and, xor)
CellSyncMutex, CellSyncBarrier, CellSyncRwm refactoring
2014-09-21 03:29:42 +04:00
Nekotekina
66000240ac vm::atomic update, be_t update
1) MakeFromLE replaced with make(), MakeFromBE removed. Compiler seems
to be able to optimize it anyway.
2) be_t<> conversion operator temporarily replaced with conversion
through LE because it can't work with all possible numeric conversions
(float<>int for example)
2014-09-20 03:16:11 +04:00
Nekotekina
0baf295c1b to_be() 2014-09-19 23:12:31 +04:00
Nekotekina
b6f8700b8b vm::atomic initial structure 2014-09-19 23:11:43 +04:00
Nekotekina
bb77249ac8 CellSpurs initialization 2014-09-19 04:19:22 +04:00
Nekotekina
0044141631 sys_process_is_spu_lock_line_reservation_address
Formatting changed a bit
2014-09-17 17:15:17 +04:00
Nekotekina
b600cba180 CB_FUNC / SC_FUNC small update 2014-09-16 17:56:27 +04:00
Bigpet
96c86580f0 define templates outside of block scope 2014-09-16 15:03:57 +02:00
DHrpcs3
b0569639a9 Improved to_be_t
Fixed cellCameraGetType
Removed be_array_t
Improved cb_caller
2014-09-16 14:23:58 +03:00
Nekotekina
c9132a4bdb Compilation fix + CellSpursAttribute 2014-09-15 22:17:30 +04:00
Nekotekina
597d07bf24 Small refactoring 2014-09-15 02:17:24 +04:00
Nekotekina
c1da446653 FastCall() removed 2014-09-12 23:27:33 +04:00
Nekotekina
cd39256361 CallbackManager rewritten 2014-09-11 23:18:19 +04:00
Nekotekina
470afd78d5 WIP (cellPngDec refactoring) 2014-09-08 04:54:17 +04:00
Arkaran99
1e60319be2 Fix compile errors in Debug - MemLeak.
Add rpcs3/define_new_memleakdetect.h to save and replace new operator with Visual Studio Memory Leak Detection's operator.
Add rpcs3/restore_new.h to restore new operator to a previous saved state.
2014-09-07 10:43:25 +02:00
Nekotekina
58f436e749 Small fix 2014-09-07 03:35:48 +04:00
Nekotekina
82433d946e u128
Only useful as vector type anyway.
2014-09-06 20:30:13 +04:00
Nekotekina
feec20ac3e Compilation fix, be_t fix
+ CellWebBrowserConfig2 struct
2014-09-05 21:54:06 +04:00
Nekotekina
f298d0451e Attempt to fix some warnings 2014-09-05 15:24:37 +04:00
Nekotekina
9f2afffca1 Some functions removed 2014-09-04 21:32:20 +04:00
Nekotekina
05cebd1017 re() removed, added be_t<const T> specialization 2014-09-04 13:21:23 +04:00
Nekotekina
30d7fcd288 Small mistake 2014-09-02 16:18:50 +04:00
Nekotekina
6e02477fc6 Some warnings fixed 2014-09-02 02:35:10 +04:00
Nekotekina
73555c1df1 Compilation fix 4 2014-09-02 01:22:07 +04:00
Nekotekina
09022b1000 Compilation fix 2 + callback fix 2014-09-01 21:38:55 +04:00
Nekotekina
3b764d45f2 Compilation fix 2014-09-01 20:45:22 +04:00
Nekotekina
774b5be7d7 Patch from DH applied 2014-09-01 20:16:44 +04:00
Nekotekina
9e2bb9e9d2 Some warnings fixed 2014-08-31 00:41:01 +04:00
Nekotekina
120c3261b4 <wx/math.h> excluded, wxString forwarded 2014-08-29 23:51:11 +04:00
Nekotekina
2c8b485ba0 Compilation fix 4 2014-08-29 17:06:58 +04:00
Nekotekina
851ae920b9 Compilation fix 3 2014-08-29 16:27:25 +04:00
Nekotekina
12f4f35cfa Compilation fix 2 2014-08-29 16:21:23 +04:00
Nekotekina
028ce2dd9f stdafx_gui.h created, wx removed from stdafx.h 2014-08-29 02:49:26 +04:00
Nekotekina
693e7a38fa Some std include moved 2014-08-28 20:29:05 +04:00
Nekotekina
a74e07dc40 Some cleanup 2014-08-25 22:09:48 +04:00
Nekotekina
61c4a88ab4 rFile.h, Thread.h, IdManager.h includes moved 2014-08-25 18:56:13 +04:00
Nekotekina
84c5899faf Abstract GSFrameBase class and callback 2014-08-25 02:23:26 +04:00
Nekotekina
50b5d72bb2 Include cleaning 2014-08-24 21:42:19 +04:00
Nekotekina
4ffd03fe3e Include clearing 2014-08-24 00:40:04 +04:00
Nekotekina
b005ee3cda Log include fixes 2014-08-23 18:51:51 +04:00
Nekotekina
efa538f9d7 include clearing 2014-08-23 04:16:54 +04:00
Nekotekina
861ce9e733 include clearing 2014-08-23 01:15:02 +04:00
Nekotekina
652c5901f8 Another try 2014-08-22 20:36:27 +04:00
Nekotekina
52cf911c60 Compilation fix 2014-08-22 18:58:50 +04:00
Nekotekina
7a466b7fb7 Conflicts fixed 2014-08-22 18:30:39 +04:00
Nekotekina
5abd3fabfa Attempt to remove some includes 2014-08-22 18:21:55 +04:00
Nekotekina
9eb280c367 SetCurrentNamedThread() 2014-08-20 18:23:48 +04:00
Alexandro Sánchez Bach
d53327f8bb Updated IDManager
ID member m_flags has been replaced with m_type, which stores the type
of the object referenced by the ID and added std::set<IDType> to the ID
manager to group relevant IDs in order to use them later in some
lv2/sys_process functions and the Kernel Explorer.
2014-08-19 13:10:41 +02:00
Raul Tambre
9b1a2e50f2 Fixed some grammatical mistakes 2014-08-17 10:53:09 +03:00
luxsie
069aa9fb2a Added GUI Configuration for Auto-Pause.
You can easily configure it as what you do for VHD/VFS.
To disable/enable Auto-Pause, find the configuration checkboxes from HLE/Misc panel in Config->Setting of rpcs3.
2014-08-14 23:22:13 +08:00
luxsie
ea00c3a07f Auto-Pause At Function Call and System Call.
Would have a configuration window (with create the list, and enable/disable, being something similar to VFSManger and etc).
Move the code to Debug::AutoPause in AutoPause.cpp and AutoPause.h
It triggers currently in GameViewer, and would finally change to somewhere else.
Well and now it is all enabled (Function call + System call) by default.
2014-08-13 20:54:27 +08:00
Nekotekina
270c851645 vfsLocalDir::IsOpened() implemented 2014-08-06 02:34:26 +04:00
Sacha
9f268065de Fix infinite loop in rMkpath 2014-08-05 21:47:03 +04:00
Alexandro Sánchez Bach
90d0e69a56 Fixed error of pull request #714 2014-08-04 01:52:36 +02:00
Sacha
e8525a6f14 More rFile cleanups and fixes.
Was using fileExists/dirExists before when really should have just been exists. File or Dir doesn't matter and would only create false negatives.
Current working directory shouldn't really be used at all. This is just the folder the application is run from (not even where the .exe resides).
Some of the infos required by vfsLocalDir such as executable may not be portable. Not sure of their intended function as they are never used.
2014-08-01 04:20:00 +10:00
Nekotekina
5f55afda0f Little fix 2 2014-07-18 21:30:22 +04:00
Nekotekina
f69337be65 Little fix 2014-07-18 21:04:12 +04:00
Nekotekina
74914c5916 be_t<> constructor elimination 2014-07-18 20:55:26 +04:00
Alexandro Sánchez Bach
75e81bc969 Merge pull request #572 from Nekotekina/master
Update
2014-07-15 01:06:53 +02:00
Sacha
26e1418897 Fix rFile 2014-07-15 05:42:41 +10:00
Nekotekina
01aa74e4a8 IsGoodAddr() bug fixed 2014-07-14 23:15:30 +04:00
Sacha
82536b298c Fix issue from #567 that stopped videos from working. Clean up some code. 2014-07-15 03:21:24 +10:00
Nekotekina
2c7de61027 Compilation fix 2014-07-13 02:56:52 +04:00
Nekotekina
21aedb518c PKG Installing fixed 2014-07-13 02:39:43 +04:00
Nekotekina
1908842255 Build fix
Non-ASCII characters replaced in PPUThread.h
Some cleanup
2014-07-12 18:53:36 +04:00
Sacha
9816ec3aa0 Fix conflicts. 2014-07-12 17:02:39 +10:00
Sacha
c09b0f511e More header changes. 2014-07-12 16:33:04 +10:00
Sacha
6e06fdf638 Stdafx: Major header cleanup 2014-07-12 16:33:04 +10:00
Nekotekina
259b57c64a Fixed conflicts 2014-07-11 10:09:38 +04:00
Nekotekina
cb9c1030a9 Warning fix 2014-07-11 10:01:23 +04:00
Sacha
8793d75811 Stdafx: More cleanup 2014-07-11 06:54:12 +10:00
Sacha
3737993bb2 Use a standard config dir on non-Windows. Fixes #192
Also remove WindowInfo::GetDefault which was redundant.
2014-07-11 05:45:07 +10:00
Nekotekina
123c4ba1a8 Some bugs fixed 2014-07-09 03:04:36 +04:00
Nekotekina
d1fff053c2 Some cleanup 2014-07-07 21:22:36 +04:00
Nekotekina
19db12e090 Memory allocation changes 2014-07-07 03:36:07 +04:00
Nekotekina
5f6a236550 Compilation fix 2 2014-07-01 20:04:58 +04:00
Nekotekina
2eeab1feb0 Compilation fix 2014-07-01 19:34:25 +04:00
Nekotekina
8987350b5b Small changes 2 2014-06-29 07:21:57 +04:00
Peter Tissen
95f1a0e645 use only one set of logging macros instead of two and don't use free() as a function name 2014-06-27 15:28:17 +02:00
Peter Tissen
ae472e9e67 use a more compact method to add and remove listeners t o all channels 2014-06-27 09:22:00 +02:00
Peter Tissen
21da317453 Logging system rework
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration
* disable buffering by default
* add multi-threaded ringbuffer implementation
* use buffered listener for the gui (using the ringbuffer)
2014-06-26 17:34:28 +02:00
Nekotekina
eca7339a67 Some freezing fixed 2014-06-26 01:59:23 +04:00
Nekotekina
2200e6f4d9 Small fixes 2014-06-25 02:16:44 +04:00
Nekotekina
30b8e51234 rCriticalSection & rSemaphore removed
SC_Semaphore errors fixed
Room for interrupt threads
2014-06-22 14:59:28 +04:00
Nekotekina
54cdc41ac8 Small workaround 2014-06-21 18:26:37 +04:00
Nekotekina
e79236a97f SQueue little improvement 2014-06-20 23:57:28 +04:00
Nekotekina
1c4ae999d6 SSemaphore basic implementation
Set for RSX
2014-06-20 23:56:19 +04:00
Nekotekina
90b9861043 SMutex partially replaced with std::mutex
SPURecompiler.h: SETcc bug fixed
2014-06-20 15:00:36 +04:00
Nekotekina
ccfaabd1d7 Defined thread_local for MSVC
Updated asmjit project
Tried to fix crash on exit
Fixed hypothetical issue when pausing already stopped emulator
2014-06-19 17:50:18 +04:00
Nekotekina
4fedf5749e cellSysmoduleLoadModule modified
cellSysutilEnableBgmPlayback draft
cellSurMixerGetCurrentBlockTag
cellSurMixerGetTimestamp
Interval.h draft
2014-06-09 17:35:35 +04:00
Peter Tissen
e85abdeb2c remove unexplained commented out code that I added myself with the last PR
* remove unexplained commented out code that I added myself
* revert asmjit settings change that was meant to only be local for me
2014-06-09 02:55:16 +02:00
Peter Tissen
ed10ea7544 add back fused gui log classes, this needs to be redone another way
also, add back wx requirement for strfmt
2014-06-08 23:16:08 +02:00
Peter Tissen
314307b840 Fix building with precompiled headers
add the unimplemented modules to the emucore project

fix a bug in the rXml wrapper that didn't consider the possiblity of functions returning null pointers
2014-06-08 23:16:06 +02:00
Peter Tissen
c37905e465 initial start to eliminate static func init, not compilable atm
move module initialization into a module manager, still has some issues like stopping not working and debug crashing

add #idef 0 to modules that aren't in the windows project

don't double initialize and don't de-initialize for now, since many modules don't expect it and it leads to many errors

remove duplicate module lists for empty modules and implemented ones, make Module non-copyable but movable

add secondary project, no real use for it now

add some memleak config to the emucore and add asmjit path to rpcs3

small rebase error fixed to get it to compile again

add filters for emucore

re-add the module manager and static file

WIP commit, linker errors abound

some more abstraction layer stuff

fix the remaining linker errors, re-enable platform specific mouse, pad and keyboard handlers

rebasing

fix memset undefined and re() usage of se_t before declaration

Add wxGUI define by default for cmake builds

fix copy constructors of Datetime header

fix copy constructors of other wx interface classes

remove static declarations of global variables

make wxGLCanvas constructor non-ambiguous even with wx2.8. compat mode, fix wrong std::exception constructor calls

remove duplicate definition for FromUTF8 and ToUTF8

temp changes
2014-06-08 23:16:06 +02:00
DH
3c8815cc06 Improved Vertex Shader Decompiler
- Fixed condition register selection
- Implemented LIT
- Fixed RCP
2014-06-08 17:52:35 +03:00
DH
f8e8e2f624 Improved Fragment Shader Decompiler
- Implemented LIT, RFL, LIF, BRK, IF, LOOP, REP
- Fixed KIL, RCP, RSQ, DP2A

Implemented fmt::replace_first & fmt::replace_all
2014-06-07 17:15:49 +03:00
Peter Tissen
40add8f9a2 Seperate ConLog.h and ConLogFrame.h (for now only seperate headers)
make precompiled header slimmer under Linux to increase CI and dev-machine build-times

make sure unused modules don't compile
add unused modules to the VS project to easier keep track of them
2014-06-06 02:50:22 +02:00
Peter Tissen
e8efb8f9fb move inline definitions in header, wtf am I doing, Travis pls. 2014-06-02 22:00:05 +02:00
Peter Tissen
1bb140780b include cstdint type
add mulh like function for gcc

avoid multiple definitions of msvc intrinsic replacements
2014-06-02 21:12:35 +02:00
Peter Tissen
96e229abfa add primitive InterlockedOr64 implementation
use non msvc specific type for int64_t

add umul for gcc
2014-06-02 19:29:22 +02:00
Peter Tissen
2d77415cc3 use non-wx header only Ini library in preparation of the core/gui devide 2014-06-01 22:57:50 +02:00
Blaypeg
5e36362a4c int ->size_t 2014-05-18 13:28:11 +01:00
Andreas Schroeder
ebe20a0825 move clock_gettime() into GNU.cpp 2014-04-29 22:46:43 +02:00
Andreas Schroeder
e7f0efa56d Mac OSX: use __thread for thread-local storage 2014-04-29 22:46:42 +02:00
Andreas Schroeder
64cfab5b46 Mac OSX: fix includes & add missing functionality 2014-04-29 22:46:42 +02:00
Peter Tissen
3220e9bbc4 format warning disable for clang, typo correction 2014-04-28 21:50:07 +02:00
Peter Tissen
baaa2ae45a format warning disable for clang, it clutters up the build messages too much 2014-04-28 21:36:31 +02:00
Bigpet
eea3aa9729 This is squashed commit from the follwing commits:
* various changes to make it compile with clang

* don't compile recompiler on linux yet but make the CMake build include asmjit already

* add experimental travis bot

* modify yml to match

* try to build and install wxWidgets, since it's not in the travis repo

* use newer cmake version for travis

* add keys with sudo

* use sudo for all apt- commands

* Add additional dependencies

* use version approriate gcc flags for c++11

* try clang, gcc too old

* set c++0x flag for clang

* use gcc 4.8

* use gcc 4.8 and add the repo for it

* use gcc 4.8 even for clang to get newer headers

* fix ambiguous conversions

* add lz from hykem and more explicit conversions from be for x86

* more switch disambiguation

* more switch disambiguation

* add additional unigned int casts to deal with be_t conversion ambiguity

* remove unnecessary clang flag

* add lz.cpp to vcxproj and cast to u32 instead of unsigned int

* correct temporaray #ifdefs
2014-04-27 00:41:46 +02:00
nohbdy
d136adc73f RSX Bugfixes and plugging memory leaks
BUGFIX: Add break after NV4097_SET_TEXTURE_BORDER_COLOR in RSXThread.cpp
BUGFIX: Fix parameters passed to RSXTexture::SetControl3 (they were being
passed in reverse order)
BUGFIX: Remove invalid, non-sensical call to glPixelStorei in GLGSRender.h
BUGFIX: Fix signed/unsigned comparison compiler warnings in GLGSRender.h
CHANGE: Make GLFragmentProgram::Decompiler synchronous by default
CHANGE: Update wxWidgets submodule to latest commit
BUGFIX: Fix several memory leaks
ADDED: Created a new MSVC debug configuration to output locations
  of allocations that end up leaking after the program
  is closed.
BUGFIX: Fix the stupid PadHandler crash due to the lack of a virtual d'tor
2014-04-17 15:15:43 -05:00
Bigpet
25c3aa8e19 fixes to get llvm to compile (excepti for utils.cpp, that'll get fixed
later)

Eradicate the Array almost everywhere, some usages like Stack still
remains
2014-04-12 12:06:52 +02:00
Peter Tissen
4066950975 Various warning fixes and devirtualization
* Remove ArrayString
* devirtualize GetCount and SetCount, they're no longer needed
* set storage duration of fmt::placeholder to extern to be consistent
* make length unsigned and the return value of sprintf signed
* remove dead code "s.Close()" is never reached
* devirtualize WrteToLog()
* devirtualize Ini functions
2014-04-08 19:41:47 +02:00
Peter Tissen
373ae6b107 remove dummy alias in strfmt. Fix some wxString remnants, that only make problems in Linux 2014-04-01 20:13:22 +02:00
Peter Tissen
69352206b6 blantant test code removal well this is embarassing, VS didn't recompile it, so I didn't notice the mistake 2014-04-01 19:44:38 +02:00