Commit graph

228 commits

Author SHA1 Message Date
B1ackDaemon e69744c7ca Merge pull request #732 from raven02/patch-2
Return CELL_EFAULT if specified address is invalid
2014-08-09 19:10:37 +03:00
raven02 15fa50f24e Return CELL_EFAULT if specified address is invalid 2014-08-09 20:36:24 +08:00
raven02 6a0ad1b001 cellFsFsync 2014-08-09 16:44:27 +08:00
raven02 ae96537b8d FS: add cellFsChmod & cellFsAioWrite 2014-08-09 15:11:30 +08:00
Nekotekina f0eadc783d Oops. 2014-08-08 22:52:11 +04:00
Nekotekina dfd5fd388e Little cleanup 2014-08-08 22:13:17 +04:00
Nekotekina b00e0fcf69 sys_event_flag.cpp restored 2014-08-08 19:55:12 +04:00
Nekotekina 36f76bf288 Some missing logs 2014-08-06 02:19:33 +04:00
Nekotekina e7ae71bd73 Copy(To)(From)(Real) elimination
It was nothing but a crutch
2014-08-05 21:33:02 +04:00
Nekotekina 021656d821 Some missing logs 2014-08-05 18:06:40 +04:00
Nekotekina bdc263bc34 sys_time fix 2014-08-05 14:29:00 +04:00
Nekotekina 8f04ab07ed IsGood() check elimination
Reasons: 1) It's unsafe - we cannot guarantee that address is still good
while it is used. 2) It's wrong in many modules which are usually just
compare pointer with zero.
2014-08-05 14:18:22 +04:00
Nekotekina f5b3c38c27 Arrgh, wrong checks!!! 2014-08-04 22:33:17 +04:00
Nekotekina 640de81571 Variadic templates for module logs
Two new module log types: Todo() and Notice()
2014-07-21 18:42:43 +04:00
Nekotekina fe49046a96 sys_spinlock fixed 2014-07-21 02:30:16 +04:00
Nekotekina 41495e5d2a sys_ppu_thread_exit fix 2014-07-20 21:05:48 +04:00
Nekotekina 74914c5916 be_t<> constructor elimination 2014-07-18 20:55:26 +04:00
Nekotekina 7816843dfb Little fix 2014-07-16 22:29:26 +04:00
Nekotekina c3e0669435 Time functions fixed 2014-07-16 20:21:09 +04:00
Nekotekina e1a9f08a91 sys_raw_spu_destroy implemented 2014-07-16 16:07:38 +04:00
Alexandro Sánchez Bach 75e81bc969 Merge pull request #572 from Nekotekina/master
Update
2014-07-15 01:06:53 +02: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 a71053ae15 Asmjit updated 2014-07-14 13:24:10 +04:00
Nekotekina 2eafb235ba spu_printf fixed 2014-07-13 22:55:14 +04:00
Sacha a1158c9515 Remove some indirect headers. 2014-07-12 17:46:14 +10:00
Sacha 9816ec3aa0 Fix conflicts. 2014-07-12 17:02:39 +10:00
Sacha 6e06fdf638 Stdafx: Major header cleanup 2014-07-12 16:33:04 +10:00
Nekotekina 125359e30e Some fixes 2014-07-11 13:18:23 +04:00
Nekotekina 259b57c64a Fixed conflicts 2014-07-11 10:09:38 +04:00
Sacha ab7a45aede stdafx: move out some uncommon includes 2014-07-11 00:16:26 +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
Alexandro Sánchez Bach 230ba0d360 Fixed conflicts and minor changes (2) 2014-07-06 18:05:52 +02:00
Alexandro Sánchez Bach 0002cc0af3 Removed old / unnecessary code
* Removed Plugins.h file as I assume setting up a plugin hell is a bad
idea (does anyone disagree?).
* Removed FnIdGenerator, and moved FnIdGenerator::GenerateFnId to
getFunctionId in Modules.cpp
* Disabled RSX Debugger and Memory Viewer when the emulator is stopped.
* ELF64Loader::LoadPhdrData refactored.
2014-07-06 16:44:56 +02:00
Alexandro Sánchez Bach 08d61163ea Removed external functions from SysCalls.h
* Replace `int` with `s32` as return type for syscalls.
* Renamed `SC_Something.*` files with the proper lv2 name
`sys_something.*`.
* Moving away from the lv2, those functions and folders that doesn't
correspond to lv2 functions. E.g. module functions from sys_io,
sysPrxForUser, cellGcmSys.
* Splitted some files (memory -> memory+mmapper) and merged other ones
(event+event_flag ->event, spu+spu_thread -> spu), according to common
sense, PSDevWiki docs, and checking firmware files.
* Removed external functions from `SysCalls.h`.

NOTE: What should we do about: cellGcmCallback? It's not a lv2 syscall
but it appears on the sc_table and it is actually called in games. Is
this some kind of hack?
2014-07-06 16:23:37 +02:00
Nekotekina 2d1409c706 FileExists() fixed 2014-07-01 16:21:55 +04:00
Nekotekina a4308b96f6 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-27 20:05:17 +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
Nekotekina e6a4ef9eb8 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-27 17:03:28 +04: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 458322e548 SC_Event_flag: test passed 2014-06-26 18:17:07 +04: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
Alexandro Sánchez Bach eb3e18ac7e Added some lv2 syscalls for sys_prx 2014-06-23 19:41:22 +02:00
Nekotekina f9c592098f Work on RawSPU: interrupt mailbox
Achievement unlocked: run spu_test!
2014-06-23 05:03:16 +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 5da33c6243 SC_Semaphore rewritten 2014-06-21 18:24:27 +04:00
Nekotekina 7fca980887 sys_ppu_thread_create threadname workaround 2014-06-20 23:54:04 +04:00