Commit graph

73 commits

Author SHA1 Message Date
Nekotekina
318d7276c0 Warning fix 2015-01-02 18:29:57 +03:00
Nekotekina
69388f032e cellFs functions merged 2014-12-24 21:19:59 +03:00
Nekotekina
3bdfc6b499 ARMv7: more opcodes, some changes in loader 2014-11-02 02:19:14 +03:00
Nekotekina
ffda60996d Compilation fix 2014-10-24 23:13:47 +04:00
Nekotekina
6df5ddb973 Few warnings fixed 2014-10-24 17:24:09 +04:00
B1ackDaemon
9c8666573b Merge pull request #842 from tambry/ChangesAndAdditions
Initial cellSail implementation
2014-10-17 18:43:46 +03:00
Raul Tambre
b96037f160 Fixes
Fixed vm::vars missing be_t in a lot of cases and disabled a part of
cellSailCreateDescriptor for now.
2014-10-17 18:14:58 +03:00
Raul Tambre
9e5403aeb3 Remove unneeded be_t 2014-10-11 20:20:01 +03:00
Nekotekina
266c3d4753 Small fixes 2014-10-08 18:26:08 +04:00
Nekotekina
68cdc95da5 Some fixes 2014-09-30 02:28:02 +04: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
3b71721a33 It was overcomplicated 2014-09-09 16:13:38 +04:00
Nekotekina
5d951451c5 cellPngDec (nothing changed) 2014-09-08 18:56:47 +04:00
Nekotekina
470afd78d5 WIP (cellPngDec refactoring) 2014-09-08 04:54:17 +04:00
Nekotekina
db9cbe6cdd MemoryBase::operator+ replaced 2014-09-06 00:26:36 +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
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
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
9e2bb9e9d2 Some warnings fixed 2014-08-31 00:41:01 +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
c9cd80c089 Memory bugs fixed 2014-08-14 16:02:01 +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
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
DHrpcs3
cd33be1491 Implemented vm::var.
MemoryAllocator replaced with vm::var
2014-07-31 19:08:02 +03:00
Alexandro Sánchez Bach
713bff01e1 Flipping / padding on .JPG and .GIF decoding
* Changes in cellJpgDec and cellGifDec come from cellPngDec.
2014-07-22 21:37:45 +02:00
Alexandro Sánchez Bach
fe46a45915 Fixed memory exception on cellJpgDec & cellGifDec
* Added support for CELL_JPGDEC_BUFFER and CELL_GIFDEC_BUFFER.
2014-07-22 17:16:15 +02:00
Sacha
a1158c9515 Remove some indirect headers. 2014-07-12 17:46:14 +10:00
Nekotekina
125359e30e Some fixes 2014-07-11 13:18:23 +04:00
Sacha
f256153a2b Warnings: Fix several warnings. 2014-07-11 05:08:05 +10:00
Nekotekina
8987350b5b Small changes 2 2014-06-29 07:21:57 +04:00
Nekotekina
b11e086589 Small changes 2014-06-28 05:19:44 +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
Alexandro Sánchez Bach
f131f134a5 Minor changes
* Removed old lv2Process* functions
* Function name is displayed again in unimplemented syscalls
* Minor changes that won't affect the emulator.
2014-06-19 20:15:53 +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
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
raven02
57d4d72f60 Fix typo for #283 2014-05-31 03:28:16 +08:00
raven02
141d8e20ec Implement cellPngDecCreate/Destroy() 2014-05-31 01:44:38 +08:00
Michael Yu
3aeb0b0f95 cellPngDecDecodeData handles CELL_PNGDEC_ARGB case much faster.
Profiling done with two samples on Solar v2.1 from rpcs3 init to first frame.
Before optimization, profiler found rpcs3 in cellPngDecDecodeData 15.3% of the time.
Post-optimization, profiler finds rpcs3 in cellPngDecDecodeData 0.33% of the time for ~50x improvement.
2014-05-19 02:23:23 -07:00
Unknown W. Brackets
fed2998d48 cellPngDec: Ignore bytesPerLine < width * bpp.
It seems strange, but Sonic CD passes bytesPerLine = w * 3 for a 4 channel
image.  Either this is a bug elsewhere, or it ignores likely incorrect
strides.

Untested except in Sonic CD.
2014-05-17 22:32:11 -07:00
Unknown W. Brackets
f7114cc620 cellPngDec: fix outputMode, outputBytesPerLine.
This handles CELL_PNGDEC_BOTTOM_TO_TOP and also handles reduced
outputBytesPerLine more correctly-looking.  Not actually tested against
actual behavior.
2014-05-17 09:21:25 -07:00
raven02
86ca4819ee Fix ternary operator 2014-05-16 22:43:32 +08:00
Unknown W. Brackets
2fdefc4fb5 Fix some int/ptr comparisons. 2014-04-28 07:43:06 -07:00