Commit graph

68 commits

Author SHA1 Message Date
O1L
c0255208cc Old ini-manager only partially used in VFS. Global configuration used as defualt. 2015-10-27 01:09:31 +04:00
Nekotekina
12f36cf31f Experimental class template Module<T>
Allocates ps3 memory for specific instance T
2015-09-22 13:28:31 +03:00
Raul Tambre
cd7fbae583 Implement NetStartDialogLoadAsync, L10N additions
Also improved cellPadPeriphGetInfo
2015-09-10 17:13:31 +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
c2897cddd6 id_traits, idm::get_last_id() added
id_traits for file/dir descriptors
idm::get_current_id() removed, thread-local last ID
2015-08-24 21:22:38 +03:00
Nekotekina
dd665e7363 ID manager simplified
ID manager refactoring, redundant "type" information removed
2015-08-24 21:22:19 +03:00
Nekotekina
b391e93466 Modules cleanup 2015-08-01 14:39:39 +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
6beec80b60 Draft socketselect, other minor fixes 2015-07-15 16:21:41 +03:00
Raul Tambre
66cf864ee0 Fix saving and some more logging
Fixes Shin Hayarigami (BLJS10279).
2015-07-13 22:06:16 +03:00
Nekotekina
83321c5be7 sys_time_get_current_time fixed, CALL_FUNC draft 2015-07-10 04:31:30 +03:00
Nekotekina
32d3d1fbe5 EXCEPTION() macro usage, sceNpTrophy improved 2015-07-10 04:31:20 +03:00
Nekotekina
714da1aa7c vm::var fix, vm::ptr improved
GetCurrentPPUThread() removed
2015-07-10 04:31:00 +03:00
Nekotekina
317417d541 vm::cptr/bcptr/lcptr used widely for const pointers 2015-07-10 04:30:53 +03:00
Nekotekina
9cfdce91a1 vfsDir usage fixed 2015-04-26 00:26:54 +03:00
Nekotekina
d2ad84453d KernelExplorer fixed 2015-04-14 05:00:31 +03:00
Raul Tambre
e6a47bfa89 Fix be_ts and fix loading in some modules 2015-02-23 17:09:52 +02:00
Nekotekina
655acc746d HLE function binding for PPU/ARMv7 simplified 2015-02-20 16:58:40 +03:00
Nekotekina
af986d8f4c Loader improved, ModuleManager refactored 2015-02-18 19:22:06 +03:00
darkf
bddff3b70a Improve sceNpTrophy 2015-02-08 03:37:10 -08:00
Nekotekina
1c4e89d2bf Formatting fixes, ToBE() replaced with data() 2015-01-13 17:54:36 +03:00
Nekotekina
d648957864 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-11-30 15:08:54 +03:00
DHrpcs3
ebae8dad0a Minor fixes 2014-11-30 00:03:29 +02:00
DHrpcs3
12d8e0ef38 Fixed path to param.sfo 2014-11-29 23:59:16 +02:00
Nekotekina
c8d4193f08 PSV: sceKernelCreateThread and sceKernelStartThread
Some fixes in callback manager
2014-11-10 03:21:50 +03:00
Raul Tambre
9e5403aeb3 Remove unneeded be_t 2014-10-11 20:20:01 +03:00
nmzik
c0b53d6b48 Adjusted attributes, added better log messages and an initialization check in the sceNP module 2014-09-30 22:42:15 +04:00
Raul Tambre
790a8bf814 Added sceNpTrophyTerm and proofed some unloadings
Made cellNetCtl, cellGem, cellCamera, sceNp, sceNpCommerce2 and
sceNpTrophy properly unload if termination function wasn't called.
2014-09-22 22:00:28 +03:00
Arkaran99
3caff5a107 Change ModuleManager::init function.
First step to help refactor Module management.
Add every module in the static ModuleInfo list. Module without id are assigned
to 0xffff.
The init function is called after constructor and take a pointer to Module
as an input.
This pointer is used to set the Module's global pointer in its file.
2014-09-13 22:00:17 +02:00
Nekotekina
cd39256361 CallbackManager rewritten 2014-09-11 23:18:19 +04:00
Nekotekina
b952017a3a mem_ptr_t replaced 2014-09-02 05:05:13 +04:00
Nekotekina
f31ed4e9f2 mem_func_ptr_t replaced 2014-09-01 16:47:26 +04:00
Nekotekina
9501869aa1 mem32_t replaced 2014-09-01 04:51:48 +04:00
Nekotekina
0b5ef1d8f9 mem64_t replaced
Added conversion from vm::var to vm::ptr of the same type.
2014-09-01 02:58:08 +04:00
Nekotekina
9e2bb9e9d2 Some warnings fixed 2014-08-31 00:41:01 +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
78cbb90ef6 Some leaks fixed 2014-08-26 03:55:37 +04:00
Nekotekina
a74e07dc40 Some cleanup 2014-08-25 22:09:48 +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
Raul Tambre
9b1a2e50f2 Fixed some grammatical mistakes 2014-08-17 10:53:09 +03:00
Raul Tambre
d36580f1dc Huge SceNp header additions and splitting
TUS, SNS, Commerce and Clans modules are now in seperate files.
Added a lot of headers and structures.
2014-08-15 17:57:55 +03: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
Sacha
6e06fdf638 Stdafx: Major header cleanup 2014-07-12 16:33:04 +10: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
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
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