Commit graph

98 commits

Author SHA1 Message Date
Raul Tambre
9e5403aeb3 Remove unneeded be_t 2014-10-11 20:20:01 +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
85f2009175 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-09-12 01:16:57 +04:00
Nekotekina
cd39256361 CallbackManager rewritten 2014-09-11 23:18:19 +04:00
Alexandro Sánchez Bach
b881e095e9 Fixed cellFsStReadInit issue
* Disabled automatic HLEExitOnStop option when the ELF file argument is
provided.
* Reverted some changes of last pull.
2014-09-09 23:18:21 +02:00
Raul Tambre
dc51630803 Comment fix 2014-09-09 19:08:13 +03:00
Raul Tambre
089a6ee07d Minor cellSysutil fix 2014-09-09 18:49:12 +03:00
Raul Tambre
6029cc40f2 Added new things, updated others
+ Tab in settings for cellCamera and cellGem related things, currently
includes setting camera type
+ cellCamera and cellGem initilization
+ Added cellCameraGetType
* Updated asmjit and ffmpeg
* Some minor optimizations
2014-09-09 18:44:02 +03:00
O1L
402199d70f Add PPU / SPU / RawSPU threads in KernelExplorer, and some coding style changes. 2014-09-07 17:47:53 +04:00
Nekotekina
12becc6120 MemoryBase::operator[] replaced 2014-09-06 02:12:10 +04:00
Nekotekina
feec20ac3e Compilation fix, be_t fix
+ CellWebBrowserConfig2 struct
2014-09-05 21:54:06 +04:00
Nekotekina
225dba754d GetMemFromAddr, VirtualToRealAddr replaced
Some arg types changed
2014-09-05 21:23:00 +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
4b49d57f97 Small fix 2014-09-03 21:09:10 +04:00
Nekotekina
1337cf4f04 Some memory functions removed 2014-09-03 20:33:30 +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
a8cfefac07 vm::ptr for u8/char types, mem_list_ptr_t removed 2014-08-31 19:01:48 +04:00
Nekotekina
367b8e7129 memory-wip branch merged 2014-08-31 02:15:11 +04:00
Nekotekina
78cbb90ef6 Some leaks fixed 2014-08-26 03:55:37 +04:00
Nekotekina
7c7782cd4c Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-08-24 02:20:05 +04:00
Nekotekina
4ffd03fe3e Include clearing 2014-08-24 00:40:04 +04:00
Nekotekina
efa538f9d7 include clearing 2014-08-23 04:16:54 +04:00
Raul Tambre
9c6b935770 Added Added cellSaveDataListAutoSave and AutoLoad
Also fixed logging of container argument for all other save data
functions.
2014-08-22 22:34:43 +03:00
Nekotekina
cb58a773c9 Some hack 2014-08-15 16:50:59 +04:00
Nekotekina
021656d821 Some missing logs 2014-08-05 18:06:40 +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
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
DHrpcs3
cd33be1491 Implemented vm::var.
MemoryAllocator replaced with vm::var
2014-07-31 19:08:02 +03:00
Nekotekina
640de81571 Variadic templates for module logs
Two new module log types: Todo() and Notice()
2014-07-21 18:42:43 +04:00
Sacha
6bd044f9be c++11 fixups. Initialise to zero where possible. note: cellAudio looks quite messed up. 2014-07-14 17:26:31 +10: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
Nekotekina
259b57c64a Fixed conflicts 2014-07-11 10:09:38 +04:00
Sacha
f256153a2b Warnings: Fix several warnings. 2014-07-11 05:08:05 +10:00
Nekotekina
d1fff053c2 Some cleanup 2014-07-07 21:22:36 +04: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
abbbaa222b cellMsgDialog functions improved
Callback can return result now
2014-07-04 02:52:43 +04:00
Nekotekina
fdc8479635 Compilation fix 5 2014-07-01 22:06:15 +04:00
Nekotekina
06868cb694 cellGameDataCheckCreate2 implemented 2014-07-01 02:53:29 +04:00
Nekotekina
b11e086589 Small changes 2014-06-28 05:19:44 +04:00
Nekotekina
e6a4ef9eb8 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-27 17:03:28 +04:00
Nekotekina
5ef3b80596 cellSysutilBgmPlayback fix 2014-06-27 15:11:56 +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
raven02
a28ad25221 cellSysUtil : stub remaining BGM playback functions 2014-06-10 00:28:52 +08:00
Nekotekina
4fedf5749e cellSysmoduleLoadModule modified
cellSysutilEnableBgmPlayback draft
cellSurMixerGetCurrentBlockTag
cellSurMixerGetTimestamp
Interval.h draft
2014-06-09 17:35:35 +04: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
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