Commit graph

8660 commits

Author SHA1 Message Date
Nekotekina b09412a79a sys_process_get_sdk_version rough implementation 2014-08-09 20:27:11 +04:00
Nekotekina 18e1799980 Last syscall registering 2014-08-09 20:25:05 +04:00
B1ackDaemon e9835d4a2c Merge pull request #733 from raven02/patch-3
Show game title and ID in log
2014-08-09 19:10:42 +03:00
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 e49fcd4b21 Fix typo 2014-08-09 23:31:21 +08:00
raven02 b9ae34cc3b Show game title and ID in log 2014-08-09 23:16:21 +08:00
raven02 15fa50f24e Return CELL_EFAULT if specified address is invalid 2014-08-09 20:36:24 +08:00
raven02 3f65b54a1e cellFsSdataOpenByFd 2014-08-09 17:17:23 +08:00
raven02 6a0ad1b001 cellFsFsync 2014-08-09 16:44:27 +08:00
raven02 1521eea324 Misc cleanup 2014-08-09 16:27:59 +08:00
raven02 ae96537b8d FS: add cellFsChmod & cellFsAioWrite 2014-08-09 15:11:30 +08:00
Nekotekina c3d84c8f05 Log fix 2014-08-09 00:39:15 +04:00
Nekotekina f0eadc783d Oops. 2014-08-08 22:52:11 +04:00
Nekotekina 231de946a0 Renaming (2) 2014-08-08 22:25:45 +04:00
Nekotekina 7f5ae1cdc2 Renaming (1) 2014-08-08 22:23:30 +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 b89c4fec3e cellSyncLFQueue moved, cellSpursQueue cleared 2014-08-08 18:50:42 +04:00
Nekotekina 9b24db3a76 cellSyncQueuePeek 2014-08-08 17:54:46 +04:00
Nekotekina 9b24ca7a28 Broken comments 2014-08-08 16:55:51 +04:00
Nekotekina 8169a8e4bb cellSyncRwmWrite 2014-08-08 01:34:56 +04:00
Nekotekina 6568a94b0e cellSyncBarrierWait 2014-08-07 23:16:29 +04:00
Nekotekina fb448461df cellSyncBarrierNotify 2014-08-07 11:59:56 +04:00
Nekotekina 270c851645 vfsLocalDir::IsOpened() implemented 2014-08-06 02:34:26 +04:00
Nekotekina 36f76bf288 Some missing logs 2014-08-06 02:19:33 +04:00
Nekotekina facb412e62 ... 2014-08-05 21:47:07 +04:00
Nekotekina 5621258b9d edat patch 2014-08-05 21:47:05 +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 48514b0e93 It doesn't hurt if we list all the imports? 2014-08-05 00:25:25 +04:00
Nekotekina 424d5e22d2 GetCount for Out_IntrMBox 2014-08-04 22:43:42 +04:00
Nekotekina f5b3c38c27 Arrgh, wrong checks!!! 2014-08-04 22:33:17 +04:00
raven02 d48de0afb0 Remove duplicate 2014-08-04 18:36:32 +08:00
Alexandro Sánchez Bach f07c35d9ae Renamed Emu/GS -> Emu/RSX 2014-08-04 01:37:23 +02:00
Alexandro Sánchez Bach 48a339fd17 cellGcmSys updated
* cellGcmGetTiledPitchSize (thanks 3141card), cellGcmFunc15.
* sysPrxForUser: _sys_memset
* Created headers cellGcmSys.h and sysPrxForUser.h
* int, int32_t -> s32 and uint32_t -> u32.
2014-08-04 01:37:21 +02:00
Alexandro Sánchez Bach e3d38f704f Merge pull request #714 from xsacha/rFile
More rFile cleanups and fixes.
2014-08-04 01:07:09 +02:00
raven02 7f5cc96842 RSX : fix opengl error 0x505 2014-08-04 00:27:49 +02:00
raven02 fa2fa5b4bf Init cellSail module 2014-08-04 00:09:37 +02:00
Alexandro Sánchez Bach 35b00bf8bc Fixed error of pull request #719 2014-08-04 00:07:50 +02:00
Raul Tambre f405395f97 Additions and improvements to cellNetCtl 2014-08-03 09:30:45 +03:00
DHrpcs3 7411012db9 Fixed compilation errors
Implemented vm::ptr & vm::ref
2014-08-01 19:27:48 +03: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
raven02 f52c644af7 Update GLGSRender.cpp 2014-07-30 21:31:55 +08:00
raven02 33559ca0ea Minor change 2014-07-30 05:48:58 +08:00
raven02 ebec856a36 EDAT: list the edat files name 2014-07-30 05:45:23 +08:00
raven02 90dd215b8c RSX: cleanup PBO 2014-07-30 03:33:44 +08:00
Raul Tambre 8c6622dd82 Fix debugger startup error 2014-07-29 11:28:15 +03:00
Nekotekina 143a75616c Conflicts fixed 2014-07-29 00:29:38 +04:00
Nekotekina 9d0bd55ec0 cellSyncQueueTryPush, cellSyncQueueTryPop 2014-07-25 12:35:37 +04:00
Nekotekina 74e18dc8c9 cellSyncQueuePop...
cellSyncQueueSize,
cellSyncQueueClear implemented
2014-07-24 19:02:04 +04:00
Nekotekina f8d9242743 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-24 17:26:50 +04:00
Nekotekina 3d184b3a59 cellSyncQueuePush implemented 2014-07-24 01:51:57 +04:00
Alexandro Sánchez Bach 65ecaab2c4 Merge pull request #593 from DHrpcs3/wip
GUI and RSX updates
2014-07-23 20:52:30 +02:00
Alexandro Sánchez Bach 3689560617 Minor fixes and changes 2014-07-23 20:36:57 +02:00
Peter Tissen afe493f187 use a include directory relatie to the lists file 2014-07-23 19:51:41 +02:00
Alexandro Sánchez Bach 602c436e1c Removed "Boot game and start" entry
There is already a setting on the menu (Settings > HLE > Always start
after boot) to do that. Make it active by default since disabling it is
only useful for debugging purposes.
2014-07-23 12:38:08 +02:00
Alexandro Sánchez Bach abbd3ae239 RSX method naming modified
GCM commands (e.g. cellGcmSet*) are not the same as RSX methods (e.g.
NV4097_*). The name has to be changed.
2014-07-23 00:50:45 +02: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
Nekotekina f55afc27a9 cellSyncQueue draft 2014-07-22 23:02:45 +04: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
Nekotekina 1c32a284e1 cellSyncRwmInitialize implemented
cellSyncRwmRead implemented (SPU sample works)
2014-07-22 18:46:31 +04:00
Nekotekina 2a5506dae6 cellSyncBarrierInitialize implemented
(SPU sample works)
2014-07-21 23:05:58 +04:00
Nekotekina fa5311718e Small SPU cleanup 2014-07-21 22:35:44 +04:00
Nekotekina e3fbfc4bda Logging option restored 2014-07-21 20:39:00 +04:00
Nekotekina 5c84ad30a1 LogBase class for both SysCallBase and Module 2014-07-21 19:58:03 +04:00
Nekotekina 0865fca90a Fix for SysCallBase 2014-07-21 18:49:56 +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 da8194d659 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-21 14:37:42 +04:00
DHrpcs3 9c2fe3b25d Revert "Regression fix #343" 2014-07-21 09:57:07 +00:00
Nekotekina fe49046a96 sys_spinlock fixed 2014-07-21 02:30:16 +04:00
Nekotekina 1f64087a3b Fix of fix (damned crutch) 2014-07-20 21:59:59 +04:00
Nekotekina bba74b9056 Compilation fix 2014-07-20 21:52:27 +04:00
Nekotekina 883885dc0b cellSyncMutex fixed 2014-07-20 21:14:04 +04:00
Nekotekina 3d74112aa3 sys_process_is_stack fixed 2014-07-20 21:13:35 +04:00
Nekotekina 25aeb2e086 SysCall table fixes 2014-07-20 21:13:07 +04:00
Nekotekina 41495e5d2a sys_ppu_thread_exit fix 2014-07-20 21:05:48 +04:00
Nekotekina 1f46098b23 Name fix (SPU JIT)
Unnecessary check removed
2014-07-20 21:03:41 +04:00
raven02 5f3ea1005a Make a spelling difference consistent 2014-07-20 14:55:33 +08:00
DH 8b9a46bb39 RSX: fixed scissor 2014-07-19 18:39:47 +03:00
DH 68078427aa Fixed LOOP & REP instructions in FragmentShaderDecompiler 2014-07-19 14:58:32 +03:00
DH 7433a021db Improved RSX emulation
- Fixed NV4097_SET_SHADER_CONTROL
- Vertex Shader: SCA instructions don't override VEC result
2014-07-19 12:24:15 +03:00
B1ackDaemon a7f3b6fd57 Revert "Fix a dst_reg typo for tc9" 2014-07-19 10:04:33 +03:00
raven02 1a36a2d759 Regression fix #2 2014-07-19 04:33:08 +08:00
B1ackDaemon 9989988cb7 Merge pull request #581 from boxingcow/master
Fix small Clang warning about parenthesis
2014-07-18 21:40:39 +03:00
boxingcow c7e4c90cb5 Merge git://github.com/DHrpcs3/rpcs3 2014-07-18 19:13:27 +01:00
raven02 f151ba7c53 GUI : Boot elf and run at start 2014-07-19 02:07:50 +08:00
B1ackDaemon e7ad52ee9f Merge pull request #579 from raven02/patch-4
Fix a dst_reg typo for tc9
2014-07-18 20:56:06 +03:00
B1ackDaemon b97ce7732b Merge pull request #578 from Nekotekina/master
Elimination of be_t<> constructors
2014-07-18 20:51:29 +03:00
raven02 d058ef769c Fix a dst_reg typo for tc9 2014-07-19 01:47:58 +08:00
B1ackDaemon 2eb73e5b4b Merge pull request #576 from raven02/patch-2
Fix compiler warning
2014-07-18 19:59:14 +03:00
Nekotekina 74914c5916 be_t<> constructor elimination 2014-07-18 20:55:26 +04:00
raven02 4856066a81 Regression fix #1 2014-07-18 23:03:39 +08:00
raven02 f729f21e6c Fix compiler warning 2014-07-18 22:19:37 +08:00
Hykem a7971b55ee Merge pull request #574 from Nekotekina/SРU
SPU Fixes
2014-07-17 13:41:15 +01:00
Nekotekina 7816843dfb Little fix 2014-07-16 22:29:26 +04:00
boxingcow c37c90613f Fix small clang warning 2014-07-16 17:45:54 +01:00
Nekotekina c3e0669435 Time functions fixed 2014-07-16 20:21:09 +04:00
Nekotekina ecbc9d1b08 RawSPU cleanup 2014-07-16 20:10:18 +04:00
Nekotekina 694a2b774e SPU Recompiler fix 2014-07-16 16:15:20 +04:00
Nekotekina 3d0983e7d0 SPU Interpreter fix
(these bugs weren't in SPURecompiler)
2014-07-16 16:13:11 +04:00
Nekotekina 3d9c76a80d RawSPU initialization fix 2014-07-16 16:09:43 +04:00
Nekotekina d94ce7094e Rounding mode set 2014-07-16 16:09:20 +04:00
Nekotekina e1a9f08a91 sys_raw_spu_destroy implemented 2014-07-16 16:07:38 +04:00
Nekotekina b487dcee27 RawSPU initialization fix 2014-07-16 16:06:58 +04:00
David Kiarie 78aef474a5 rename some functions as per their function 2014-07-15 18:29:48 +03:00
David Kiarie dbfd07f11e fix broken commit (2267c84d6a) 2014-07-15 18:04:37 +03:00
Alexandro Sánchez Bach 75e81bc969 Merge pull request #572 from Nekotekina/master
Update
2014-07-15 01:06:53 +02:00
Nekotekina 51f64049ab Callback header fix 2014-07-15 01:33:35 +04:00
Nekotekina 51b54a4d6b SSE4.1 detection 2014-07-15 01:32:32 +04:00
Nekotekina 01aa74e4a8 IsGoodAddr() bug fixed 2014-07-14 23:15:30 +04:00
B1ackDaemon 73491d4ffa Merge pull request #570 from xsacha/video-fix
Fix issue from #567 that stopped videos from working. Clean up some code...
2014-07-14 21:02:01 +03:00
Sacha 82536b298c Fix issue from #567 that stopped videos from working. Clean up some code. 2014-07-15 03:21:24 +10:00
Hykem 62d3dcaf64 Merge pull request #567 from xsacha/master
c++11 cleanup
2014-07-14 12:04:57 +01:00
Hykem 09d0d81a43 Merge pull request #566 from lioncash/assignments
RSXThread: Remove some redundant assignments
2014-07-14 12:04:22 +01:00
Hykem 17d400f72a Merge pull request #565 from boxingcow/master
Fix the OS X build fixes...
2014-07-14 12:03:57 +01:00
Hykem b930b874fe Merge pull request #557 from Aslaville/ui
rpcs3/Gui:minor gui  fixes
2014-07-14 12:03:19 +01:00
Nekotekina a71053ae15 Asmjit updated 2014-07-14 13:24:10 +04:00
boxingcow ebf713c5a6 Update Memory.h
To remove extraneous code.
2014-07-14 09:18:45 +01: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
Lioncash 3c04f2fef9 RSXThread: Remove some redundant assignments 2014-07-14 00:06:15 -04:00
Nekotekina dab3d6c6d6 Callbacks 2014-07-13 23:05:28 +04:00
Nekotekina 1dbbbc55f6 Little fix 2014-07-13 22:59:54 +04:00
Nekotekina 2eafb235ba spu_printf fixed 2014-07-13 22:55:14 +04:00
boxingcow 10647890ef There is a special place in hell for 'Smart Dashes' 2014-07-13 18:51:19 +01:00
Nekotekina 7370c49ff3 Forgotten memory check + PSV stuff fixed 2014-07-13 16:26:38 +04:00
boxingcow 3c8084b2c7 Stupid mistake. 2014-07-13 09:31:11 +01:00
B1ackDaemon fc962de3dd Merge pull request #562 from boxingcow/master
Fix OS X build
2014-07-13 01:08:31 +03:00
B1ackDaemon f240690ff5 Merge pull request #558 from Bigpet/modunload
unload modules upon stopping
2014-07-13 01:08:25 +03:00
boxingcow b7b3761c09 Add include path for XQuartz on OS X 2014-07-12 22:10:49 +01:00
boxingcow a4f73bc705 Fix broken OS X build with isnan and MAP_ANONYMOUS 2014-07-12 22:06:43 +01:00
Nekotekina 2331c5991a Little fix 2014-07-12 20:38:37 +04:00
Nekotekina a94d0771fe Compilation fix 2 2014-07-12 19:40:52 +04:00
Nekotekina 9b5a3fd2b6 Compilation fix 2014-07-12 19:30:07 +04:00
Nekotekina 1908842255 Build fix
Non-ASCII characters replaced in PPUThread.h
Some cleanup
2014-07-12 18:53:36 +04:00
Peter Tissen f75a3c8f60 unload modules upon stopping I guess we won't find out what's wrong if we don't let it fail 2014-07-12 13:52:37 +02:00
David Kiarie 2267c84d6a rpcs3/Gui:minor gui fixes
Enable uses to go back after using VHDDManager or
VFSManager by providing Ok and Cancel buttons otherwise I
have to kill rpcs3

signed-off-by: asla<davidkiarie4@gmail.com>
2014-07-12 12:48:58 +03: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 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
Alexandro Sánchez Bach 14050c7302 Removed: "Ignore R/W memory errors" option
Very small commit to take care of one thing missing in #409.

Reasons for that change:
<Nekoteki>AlexAltea: it's fatal error that shouldn't be ignored
<Nekoteki>AlexAltea: the second reason, ps3 can handle page faults by
itself
2014-07-11 18:18:12 +02:00
Nekotekina c16daed87d Compilation fix 2014-07-11 16:50:50 +04:00
Nekotekina 2203cb1dcf F|_|C|< the speed, we need some checks 2014-07-11 16:22:56 +04:00
Nekotekina 2fe52451e1 Exceptions fixed 2014-07-11 15:32:34 +04:00
Nekotekina ad524798fa Compilation fix 2014-07-11 13:39:51 +04: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 51bb9dced4 Optimise travis a bit more. Use Cmake 3.0. Also drop rPlatform from stdafx. 2014-07-11 07:13:45 +10: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
Sacha f256153a2b Warnings: Fix several warnings. 2014-07-11 05:08:05 +10:00
raven02 8cacbe3567 Remove m_alpha_func sanity check 2014-07-11 02:41:48 +08:00
B1ackDaemon d1533b606b Merge pull request #411 from raven02/patch-22
RSX : set default values using opengl one.
2014-07-10 21:06:47 +03:00
raven02 a8480f66e0 RSX : set bunch of default values using opengl one 2014-07-11 01:23:36 +08:00
Sacha 6b148d1d4c CMake: Improve to support build type. Default to release. 2014-07-11 02:46:10 +10:00
Nekotekina 0dfbb5de73 Compilation fix 2014-07-10 18:29:38 +04:00
Sacha ab7a45aede stdafx: move out some uncommon includes 2014-07-11 00:16:26 +10:00
Nekotekina 22b9afdb60 Some cleanup 2 2014-07-10 04:13:04 +04:00
Nekotekina b5f376f834 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-10 02:07:53 +04:00
Alexandro Sánchez Bach 59d0b1da4e Merge pull request #408 from raven02/patch-21
Fix crash in Battle fantasia/Crystal defenders
2014-07-10 00:05:14 +02:00
raven02 96fb8b968f Fix crash in Battle fantasia/Crystal defenders 2014-07-10 05:50:25 +08:00
Sacha 80dbe1a67f Use an alternative to sregex. 2014-07-10 06:49:24 +10:00
Nekotekina 3fdeb72999 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-10 00:02:45 +04:00
Nekotekina bb0695e76c Using recursive mutex 2014-07-10 00:02:21 +04:00
Sacha 711f9eadc5 Revert some changes until GCC 4.9 is available. 2014-07-10 05:16:17 +10:00
Nekotekina 123c4ba1a8 Some bugs fixed 2014-07-09 03:04:36 +04:00
Sacha 0299ab7660 wxRemoval: Ini.cpp 2014-07-09 06:34:10 +10:00
Nekotekina 6e77f80d5f Small fix 2 2014-07-08 21:18:12 +04:00
Nekotekina 34590bc884 Small fix 2014-07-08 21:08:56 +04:00
Sacha 2ba5ada9f8 Qt: Update to match rest of emu. 2014-07-09 02:26:31 +10:00
Sacha ba3838f54c Qt: Update to Qt 5.2 code base. Makes the code much simpler! 2014-07-09 02:25:17 +10:00
raven02 52112006d4 RSX: simplify recale native resolution 2014-07-08 23:25:02 +08:00
Nekotekina 50b42f8593 ifdefs and linux (posix) version (not tested) 2014-07-08 18:26:49 +04:00
Nekotekina d1fff053c2 Some cleanup 2014-07-07 21:22:36 +04:00
raven02 38e41e0ea8 RSX : add rescale support for native 960x1080 & 1024x768 2014-07-07 22:16:59 +08:00
SiPlus bf8e6dbc8e Change vec2(float, 0.0).xxxx to vec4(float) in FS 2014-07-07 10:57:03 +04:00
SiPlus 8a305b19af Change vec2(float, 0.0).xxxx to vec4(float) in VS 2014-07-07 10:53:47 +04:00
Nekotekina faab4ed6db Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-07 03:36:26 +04:00
Nekotekina 19db12e090 Memory allocation changes 2014-07-07 03:36:07 +04:00
raven02 d751e350c6 cellPamf : add error log for CELL_PAMF_ERROR_INVALID_ARG 2014-07-07 02:26:05 +08:00
Alexandro Sánchez Bach e55c8410b4 Merge pull request #398 from Bigpet/slnfix
fix compile error on the Debug - Memleak config
2014-07-06 20:12:47 +02:00
Peter Tissen ad83fb325c fix compile error on the Debug - Memleak config 2014-07-06 19:40:51 +02: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
B1ackDaemon 7218ccfe66 Merge pull request #394 from raven02/patch-17
RSX blending MRT and cellResc 512MB io address space changes
2014-07-06 03:15:39 +03:00
Nekotekina b0ce69f1e1 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-05 23:24:54 +04:00
Nekotekina 60f3ed3543 SSPlayer funcs in libmixer 2014-07-05 23:24:14 +04:00
Nekotekina d16953d392 SPU Decrementer 2014-07-05 23:23:34 +04:00
raven02 9ede2d6753 RSX blending MRT and cellResc 512MB io address space changes 2014-07-06 01:33:04 +08:00
raven02 1fc3654ca4 Comment style change 2014-07-05 04:07:15 +08:00
raven02 6a6fbea5ee RSX : comment out code for NV4097_SET_SCULL_CONTROL and add LOG_WARNING 2014-07-05 04:01:49 +08:00
Alexandro Sánchez Bach 072dfc600c Merge pull request #390 from Nekotekina/master
cellMsgDialog functions improved
2014-07-04 01:24:14 +02:00
B1ackDaemon f3cbdcd59d Merge pull request #388 from raven02/patch-13
RSX: sanity check m_alpha_func
2014-07-04 02:07:11 +03:00
Nekotekina abbbaa222b cellMsgDialog functions improved
Callback can return result now
2014-07-04 02:52:43 +04:00
raven02 feb241439e Few changes and comment 2014-07-04 06:19:23 +08:00
raven02 4d57af9ed2 cellResc : SetVBlankHandler() & SetFlipHandler() 2014-07-04 03:10:30 +08:00
raven02 8b9a454e2f Sanity check m_alpha_func 2014-07-03 13:29:54 +08:00
raven02 b7be0dc633 Obsolete option "480p downscale" and make it auto rescale whenever approriate 2014-07-03 00:48:44 +08:00
raven02 82a28d3365 RSX : check packed before memcpy when writing color/depth buffers 2014-07-02 16:30:56 +08:00
B1ackDaemon 6d870cb558 Merge pull request #383 from raven02/patch-9
Indentation fix
2014-07-02 01:58:50 +03:00
raven02 3019122685 Obsolete skipPamf option 2014-07-02 04:42:53 +08:00
raven02 1eb66198c0 Indentation fix 2014-07-02 04:29:16 +08:00
B1ackDaemon fd56797b77 Merge pull request #381 from Nekotekina/master
Nekotekina's stuff
2014-07-01 22:06:52 +03:00
Nekotekina 77458e5795 Compilation fix 6 2014-07-01 22:42:05 +04:00
Nekotekina fdc8479635 Compilation fix 5 2014-07-01 22:06:15 +04:00
Nekotekina 7f5f67163b Compilation fix 4 2014-07-01 21:50:57 +04:00
Nekotekina 8736a14599 Compilation fix 3 2014-07-01 21:39:03 +04:00
raven02 7aefdd3e1f Implement Polygon Stipple 2014-07-02 00:09:24 +08: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 f3b61f58ef Fixed conflicts 2014-07-01 17:29:47 +04:00
Nekotekina 2d1409c706 FileExists() fixed 2014-07-01 16:21:55 +04:00
B1ackDaemon f0468a145f Merge pull request #380 from raven02/patch-6
cellResc : few more stuff init and cleanup
2014-07-01 05:51:12 +03:00
raven02 a7bac1f084 cellResc : few more stuff init and cleanup 2014-07-01 10:20:30 +08:00
raven02 8d1d227dac Cross-check and validate all NV0406E/4097/3089/3062/308A functions with gcm_method.h 2014-07-01 07:57:49 +08:00
Nekotekina 017e44cf4d Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-07-01 02:54:36 +04:00
Nekotekina 06868cb694 cellGameDataCheckCreate2 implemented 2014-07-01 02:53:29 +04:00
raven02 0f1606fbd3 Build fix 2014-06-30 10:38:24 +08:00
raven02 347f6f20b7 Implement cellRescCreateInterlaceTable() 2014-06-30 06:11:00 +08:00
Nekotekina cf98ddf979 Small fixes 2014-06-30 01:08:56 +04:00
raven02 26c77fbaa0 cellResc : InitMembers , InitSurfaces and few stuffs for InitRSXContext 2014-06-30 03:15:37 +08:00
Nekotekina 6f1efc851f Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-29 07:22:39 +04:00
Nekotekina 8987350b5b Small changes 2 2014-06-29 07:21:57 +04:00
Alexandro Sánchez Bach 0c53c00325 Merge pull request #373 from raven02/remove
Remove obsolete option "Hide Debug Console"
2014-06-28 18:00:47 +02:00
raven02 fb8ced95b0 Remove obsolete option "Hide Debug Console" and move skipPamf to HLE section 2014-06-28 23:58:20 +08:00
raven02 382af8437c Fix texture MAG filter and add max anisotropy 2014-06-28 21:12:14 +08:00
Nekotekina b11e086589 Small changes 2014-06-28 05:19:44 +04:00
raven02 a1db96d70d Fix CELL_GCM_TEXTURE_DEPTH24_D8 and detail trace for GLTexture::Init() 2014-06-28 07:30:12 +08: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
Nekotekina 5ef3b80596 cellSysutilBgmPlayback fix 2014-06-27 15:11:56 +04: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 1ad4380fab rename conlog gui file and set the logbuffer-consumed flag sooner 2014-06-27 06:01:40 +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 458322e548 SC_Event_flag: test passed 2014-06-26 18:17:07 +04:00
B1ackDaemon 394b698e92 Merge pull request #370 from Nekotekina/master
Fixed some samples freeze
2014-06-26 01:37:21 +03:00
Nekotekina eca7339a67 Some freezing fixed 2014-06-26 01:59:23 +04:00
raven02 0ed518a85d Add EDAT_FLAG_0x3C/0x3D 2014-06-26 00:11:10 +08:00
raven02 eb7128bcc1 Log error when flag 0x3c/0x3d EDAT files detected 2014-06-26 00:10:17 +08:00
Nekotekina 2200e6f4d9 Small fixes 2014-06-25 02:16:44 +04:00
raven02 6f3b3f11c8 Gameviewer : fix wrong category 2014-06-24 23:03:27 +08:00
Alexandro Sánchez Bach eb3e18ac7e Added some lv2 syscalls for sys_prx 2014-06-23 19:41:22 +02:00
raven02 677bc4c553 RSX: Use blit for MRT as well 2014-06-24 00:42:57 +08:00
Hykem 2e668cd2b6 Merge pull request #364 from raven02/patch-5
RSX : delete PBOs when exit thread
2014-06-23 03:41:26 +01:00
Hykem 35b57fc78e Merge pull request #365 from Nekotekina/master
Work on RawSPU: interrupt mailbox
2014-06-23 03:41:11 +01:00
Nekotekina f9c592098f Work on RawSPU: interrupt mailbox
Achievement unlocked: run spu_test!
2014-06-23 05:03:16 +04:00
raven02 fe74f97d44 RSX : delete PBO when exit thread 2014-06-23 03:45:32 +08:00
B1ackDaemon 77e11d670a Merge pull request #361 from raven02/patch-4
RSX: asynchronous glReadPixels with PBO for writing color/depth buffers
2014-06-22 19:27:59 +03:00
Alexandro Sánchez Bach 5a1d702e3d Merge pull request #362 from Nekotekina/master
rCriticalSection & rSemaphore removed
2014-06-22 13:23:37 +02:00
Nekotekina 30b8e51234 rCriticalSection & rSemaphore removed
SC_Semaphore errors fixed
Room for interrupt threads
2014-06-22 14:59:28 +04:00
raven02 a99061127f RSX: asynchronous glReadPixels with PBO for writing color/depth buffers 2014-06-22 18:44:22 +08:00
raven02 f5813bf2cd Paritally revert #359 2014-06-22 06:55:02 +08:00
raven02 2f2a0c8fbc FP: flush m_code_level & check emptyness of m_end_offsets 2014-06-22 05:23:24 +08:00
Nekotekina 2fad8039f5 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-21 18:40:35 +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
raven02 4e55e6abbd Set rendering width/height to buffer width/height 2014-06-21 18:04:59 +08:00
raven02 c3960b7f43 Misc thread started/ended/aborted aligment 2014-06-21 12:29:17 +08:00
raven02 12f217aba9 RSX: matrix offset fix and use original buffer width for writing color/depth 2014-06-21 12:02:11 +08:00
Nekotekina 1c4ae999d6 SSemaphore basic implementation
Set for RSX
2014-06-20 23:56:19 +04:00
Nekotekina 7fca980887 sys_ppu_thread_create threadname workaround 2014-06-20 23:54:04 +04:00
raven02 fda97f25a0 Downscale small bug fix 2014-06-21 02:25:32 +08:00
Hykem 9048bab305 Merge pull request #350 from Nekotekina/master
Some crash avoidance
2014-06-20 14:47:59 +01:00
Nekotekina 568e99d4d3 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-20 17:13:51 +04:00
Nekotekina 90b9861043 SMutex partially replaced with std::mutex
SPURecompiler.h: SETcc bug fixed
2014-06-20 15:00:36 +04:00
raven02 efffc7e6bc Option allow downscaling 720p/1080p to 480p 2014-06-20 17:49:22 +08:00
Nekotekina 237e7989b4 Tried to avoid glDeleteShader crash 2014-06-20 00:34:09 +04: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
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
raven02 07006fd093 Add comment 2014-06-19 05:20:27 +08:00
raven02 4f4ab4c81a Fix 1024x768 resolution not being saved 2014-06-19 05:02:04 +08:00
raven02 79d34afb96 Remove glDetachShader for vp and fp 2014-06-18 00:21:40 +08:00
raven02 0541482ee4 Drop off glEnable(GL_SCISSOR_TEST) 2014-06-16 06:32:11 +08:00
raven02 ee58ba9fd9 Paritally fix depth read elf 2014-06-16 03:05:28 +08:00
raven02 64044173c6 set default m_line_stipple_pattern as 0xffff 2014-06-15 12:25:09 +08:00
raven02 76c8eedb25 RSX : implement line stipple 2014-06-15 05:53:26 +08:00
raven02 44dd770cec RSX: fix line width 2014-06-15 02:29:27 +08:00
raven02 5007d62e27 Regresion fix : restore point size functionality 2014-06-15 00:59:16 +08:00
raven02 f471857a25 Gameviewer : name category HG as HDD game and DG as Disc game 2014-06-14 14:16:23 +08:00
raven02 bf456d5d16 Build fix 2014-06-14 04:44:53 +08:00
raven02 469faf43aa Fix line width conversion and comment out point size which already done in vertex shader 2014-06-14 04:14:04 +08:00
raven02 8112440a27 Fix point size/line_width/poly_offset_scale_factor/bias 2014-06-13 02:18:12 +08:00
B1ackDaemon ada0b31295 Merge pull request #332 from raven02/patch-18
Fix vertex program decompile function
2014-06-12 17:27:23 +03:00
raven02 9b951d5d3f Gameviewer : read PARAM.SFO for blue-ray disc 2014-06-12 09:27:27 +08:00
raven02 70f6871363 Fix vertex program decompile function 2014-06-12 04:22:32 +08: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 779117d129 fix machine specific path, sorry about that one 2014-06-09 05:37:12 +02: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
Hykem bd6837f2f9 Merge pull request #216 from UnconventionalT/binary-dir-fix
Set build independent binary output dir
2014-06-09 01:36:15 +01:00
Peter Tissen 33d82e0d6e reset debug output directory 2014-06-08 23:23:36 +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 10e10de98d add xinput pad handler to the windows emucore 2014-06-08 23:16:07 +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
B1ackDaemon c4e3ec825e Merge pull request #322 from raven02/patch-16
cellSpurs : create new taskset using attr
2014-06-08 19:36:58 +03:00
raven02 f051011fd1 cellSpurs: create new taskset using attr 2014-06-08 23:29:16 +08:00
Alexandro Sánchez Bach d6f71ee2b3 Merge pull request #323 from Bigpet/master
enable full precompiled headers for non-Windows Platforms
2014-06-08 17:26:01 +02:00
Peter Tissen 4d84507c96 try include guards to circumvent a weird error with gcc and unity builds 2014-06-08 16:58:40 +02:00
DH 3c8815cc06 Improved Vertex Shader Decompiler
- Fixed condition register selection
- Implemented LIT
- Fixed RCP
2014-06-08 17:52:35 +03:00
Peter Tissen 982ea35d44 enable full precompiled headers for non-Windows Platforms for now to make people not guess all the time what to include 2014-06-08 16:43:53 +02:00
DH 7bb966ba82 Improved PPU Interpreter
- Fixed UpdateCR0
- Fixed XER.CA updating
2014-06-08 08:27:57 +03:00
DH 03d2798dba Fragment Shader Decompiler: fixed condition registers. 2014-06-07 19:20:39 +03:00
DH e0046671f1 Improved Fragment Shader Decompiler
- Fixed KIL
- Added all regs to reg_table
2014-06-07 18:52:25 +03:00
DH afcbeb3713 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-06-07 18:32:42 +03:00
DH 1b1ce85b32 Fixed small error in Fragment Shader Decompiler 2014-06-07 18:32:15 +03:00
Alexandro Sánchez Bach 125b71d2c5 Reverted remaining .ToBE() deletions & small fix
And fixed wrong comparison on: `_cellSpursEventFlagInitialize`.
2014-06-07 17:18:40 +02:00
DH a4740d5f09 Improved unknown HLE functions logging
Fixed Fragment Shader Decompiler
2014-06-07 18:08:14 +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
Alexandro Sánchez Bach 30a1516d19 Merge pull request #318 from raven02/patch-14
Centre the game list panel
2014-06-07 15:40:34 +02:00
raven02 7855ebcd9f cellSpurs : initialize eventFlag 2014-06-07 20:31:07 +08:00
raven02 219e048922 Centre the game list panel 2014-06-07 16:08:02 +08:00
Alexandro Sánchez Bach 5ed77a3ca9 Reverted BE <-> LE comp. changes in some lv2 SCs 2014-06-07 09:08:16 +02:00
Alexandro Sánchez Bach 2534216971 Improvements in SC_Process and other lv2 syscalls
* Splitted the file in SC_Process.h and SC_Process.cpp.
* Some argument data types modified on sys_process_* functions.
* Implemented sys_process_get_number_of_object and sys_process_get_id.
* Added dummy versions of other sys_process_* functions based on the old
SysCalls::lv2Process* code (which I deleted).
* Improved BE <-> LE comparisons on SC_Mutex, SC_Lwmutex and SC_Lwcond.
* Updated some SC_Memory functions to use mem_ptr_t<T>.

NOTE: There are probably better ways to get the active objects that
don't imply creating a new data type filled with std::set<u32>'s.

TODO: For some types, the corresponding std::set<u32> isn't being
updated when an object is created/destroyed. I'll take care of this
soon.
2014-06-07 08:34:36 +02:00
Alexandro Sánchez Bach 5e00dfb5c3 GcmZcullInfo::Pack and removed 32-bit OAL dll 2014-06-07 04:22:29 +02:00
Alexandro Sánchez Bach 4ac8061240 Merge pull request #315 from Bigpet/simplestdafx
Reduce stdafx.h under Linux for better build-times
2014-06-06 04:17:15 +02:00
Peter Tissen 8da681eab2 enable cotire for better build-times 2014-06-06 03:33:24 +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
B1ackDaemon 283f290f47 Merge pull request #314 from raven02/patch-11
cellGcmSys: fill out some stuffs for zCulling
2014-06-05 23:19:45 +03:00
raven02 b9a055f1c8 cellGcmSys: fill out some stuffs for zCulling 2014-06-06 01:50:48 +08:00
raven02 26fc29c1a9 cellResc : add those unimplemented and error logging 2014-06-06 00:19:23 +08:00
Alexandro Sánchez Bach af219bb415 cellGcmSys: Report retrieval functions 2014-06-05 00:04:11 +02:00
raven02 44d762fc60 cellGcmSys : add those unimplemented and error logging 2014-06-05 04:51:17 +08:00
raven02 1827b91882 Check 8-byte and 128-byte alignment for spurs 2014-06-05 02:52:30 +08:00
raven02 7c137cc482 Build fix 2014-06-05 00:53:37 +08:00
raven02 c7b26f1372 cellSpurs task error code fixes and plus bunch of new functions add 2014-06-05 00:03:31 +08:00
raven02 ba91345984 enum for vertex data type 2014-06-04 23:59:46 +08:00
Alexandro Sánchez Bach 585ac5a748 Fixed cellSaveDataAutoLoad2
Probably that's closer to what a real PS3 does. Anyway, tests are
required to be sure about that.

Issue #304 fixed.
2014-06-03 22:42:15 +02:00
raven02 1a37723a05 Add missing case 0x0d 2014-06-04 03:02:12 +08:00
raven02 59628960b6 Fix opcodes STR/SFL for both VP and FP 2014-06-04 02:53:06 +08:00
B1ackDaemon 650c5155df Merge pull request #303 from raven02/patch-4
Set default log level to Error
2014-06-03 16:13:52 +03:00
B1ackDaemon 4faa4d6ed9 Merge pull request #307 from raven02/patch-5
RSX: Reorganize and group revelant NV4097 functions
2014-06-03 16:13:36 +03:00
raven02 8bb5da3b06 Speedup write color buffers 2014-06-03 18:32:27 +08:00
raven02 aac846ff74 Add NV4097_SET_FLIP
It is custom naming
2014-06-03 06:18:33 +08:00
raven02 c4075f1592 RSX: Reorganize and group revelant NV4097 functions 2014-06-03 06:17:33 +08: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
Alexandro Sánchez Bach b05bd51216 Fixed GameViewer issue
Double-clicking an entry in the sorted list caused the corresponding
element of the unsorted list to be run. This is now fixed.
2014-06-02 16:59:50 +02:00
Alexandro Sánchez Bach 82c6d8d68b Removed 32-bit related #if(n)def's 2014-06-02 14:08:32 +02:00
Alexandro Sánchez Bach 111da4d0fd Removed 32-bit config. from .SLN and CMakeLists 2014-06-02 13:59:45 +02:00
Alexandro Sánchez Bach ab65b38d9a Merge pull request #301 from raven02/patch-2
Stub bunch of cellSpurs functions & error log null pointer
2014-06-02 10:36:28 +02:00
raven02 f7d21596a5 Set default log level to Error 2014-06-02 16:34:31 +08:00
raven02 54ede6c4e3 Fix wrong identation 2014-06-02 16:09:36 +08:00
raven02 c4522922f2 Silly typo fix 2014-06-02 15:57:34 +08:00
raven02 96bcfdac7e Fix 'always start after boot' not saving 2014-06-02 15:18:01 +08:00
raven02 05d80e4994 EventFlag_add should be always present and checked 2014-06-02 14:53:13 +08:00
raven02 5597f95aba Log as error for null pointer 2014-06-02 13:42:30 +08:00
raven02 3662c4e9bf Stub cellSpurs functions 2014-06-02 12:14:00 +08:00
Alexandro Sánchez Bach cb3622176a Merge pull request #300 from Bigpet/iniReplace
use non wxIni implementation
2014-06-02 00:02:53 +02:00
Peter Tissen c216c0f2e8 revert argument order again, doesn't really need to be reversed, will just cause confusion 2014-06-01 23:07:35 +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
Alexandro Sánchez Bach a9768739eb Merge pull request #298 from Bigpet/twophasefix
help out compilers that use two phase lookup as dictated by the standard
2014-06-01 21:56:49 +02:00
Bigpet 924f117ba0 help out compilers that use two phase lookup as dictated by the standard 2014-06-01 21:28:29 +02:00
Alexandro Sánchez Bach fe0e34cbe1 Merge pull request #290 from Blaypeg/master
Add options for autoboot
2014-06-01 21:03:01 +02:00
Blaypeg dab71d01c1 Add Remove Game option to Gameviewer
Can right click game to remove from list and installation
2014-06-01 19:36:08 +01:00
raven02 16d909834f Change to Error logging for null cmd 2014-06-02 02:32:00 +08:00
B1ackDaemon fea95d264f Merge pull request #295 from raven02/patch-32
Fragment decompiler changes to async mode
2014-06-01 16:16:08 +03:00
Blaypeg 934856c350 Moved autostart to HLE Section 2014-06-01 14:10:26 +01:00
DH c00f4b6022 Improved mem_ptr_t.
Implemented mem_func_ptr_t.
2014-06-01 12:38:37 +03:00
raven02 ceeff8ae81 Fragment decompiler change to async mode 2014-06-01 14:54:56 +08:00
raven02 1bff3ad6ff Opcodo : Add DP2A and temporarily disable KIL 2014-06-01 07:12:31 +08:00
Alexandro Sánchez Bach c01b5fb0db Added cellSaveDataAuto* functions
Implemented:
- cellSaveDataAutoSave2
- cellSaveDataAutoLoad2
2014-05-31 23:41:12 +02:00
Oil 1705c5afb6 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-05-31 19:19:54 +04:00
Hykem 1affafe5ea Merge pull request #277 from aniruddh22/patch-1
Add 1024x768 native resolution support
2014-05-31 16:11:15 +01:00
Oil 14fae9a401 Add a option for converting audio to 16 bit. Issue #276 fixed with using this option? 2014-05-31 18:21:47 +04:00
Blaypeg 0d3b8c0808 Add Menu and INI option to autostart emulation 2014-05-31 11:40:37 +01:00
Alexandro Sánchez Bach 834f5dc9a9 Merge pull request #288 from raven02/patch-29
Implement cellSpursAttributeSetMemoryContainerForSpuThread
2014-05-31 10:53:39 +02:00
raven02 08c7ae64e3 Compact duplicate draw objects routine 2014-05-31 15:48:23 +08:00
raven02 41d0163781 cellSpursAttributeSetMemoryContainerForSpuThread() 2014-05-31 10:31:43 +08:00
raven02 97561ff52b Use be_t<u32>/<64> 2014-05-31 06:49:19 +08:00
Alexandro Sánchez Bach a0cc3a0fb0 Merge pull request #286 from Nekotekina/master
Some bugs fixed
2014-05-31 00:20:39 +02:00
raven02 57d4d72f60 Fix typo for #283 2014-05-31 03:28:16 +08:00
raven02 eb61c2a960 Add struct CellPngDecMainHandle 2014-05-31 01:45:45 +08:00
raven02 141d8e20ec Implement cellPngDecCreate/Destroy() 2014-05-31 01:44:38 +08:00
Nekotekina d5d4f88c17 Small RSX fix 2014-05-30 21:16:20 +04:00
Nekotekina 940d71ecdb Another cellPamf issue fixed
event_flag messages changed
2014-05-30 18:13:49 +04:00
raven02 bb64684be9 Fix spacing 2014-05-30 19:25:48 +08:00
raven02 323a48d14b Cleanup and add point size/point sprite/specular 2014-05-30 19:19:26 +08:00
raven02 13d68cbeeb Opcode : add STR/SFL and fix KIL (discard) 2014-05-28 11:32:56 +08:00
raven02 872cbec8ba Opcode : add KIL & LRP 2014-05-28 08:03:57 +08:00
aniruddh da77ed1de3 Update sysutil_video.h 2014-05-26 17:31:07 +05:30
Alexandro Sánchez Bach b953e06622 Merge pull request #275 from Blaypeg/master
GUI Update, Game panel column headings now sortable
2014-05-25 23:30:15 +02:00
Blaypeg 42e5000c2d Remove Unused varible 2014-05-25 22:01:00 +01:00
Blaypeg f060f9e047 Set Game List columns as sortable 2014-05-25 21:59:26 +01:00
Blaypeg f1257f9e3f Change types to stop compiler warnings 2014-05-25 21:36:55 +01:00
Alexandro Sánchez Bach 40f0f80f5d Minor changes
Irrelevant modifications. None of this affects RPCS3 directly.
2014-05-25 22:31:40 +02:00
B1ackDaemon 948d4ef3a2 Merge pull request #274 from raven02/patch-22
GLGSRender: re-enable glPrimitiveRestartIndex
2014-05-25 22:39:33 +03:00
B1ackDaemon 5fda90abc6 Merge pull request #273 from raven02/patch-21
RSXDebugger : add scissor test & primitive restart
2014-05-25 22:39:28 +03:00
B1ackDaemon 6b66f77590 Merge pull request #272 from raven02/patch-20
RSXThread: add few more logging and comments
2014-05-25 22:39:22 +03:00
B1ackDaemon ddd485fdad Merge pull request #271 from raven02/patch-19
DbgConsole: hide debug console
2014-05-25 22:39:17 +03:00
B1ackDaemon 9c1ec3569f Merge pull request #268 from O1L/master
Switch to OpenAL Soft.
2014-05-25 22:39:09 +03:00
Blaypeg 95f67080f8 Attempt to make columns sortable for game list 2014-05-25 19:45:44 +01:00
raven02 29d0b1443e Add Primitve restart & scissor test 2014-05-26 01:07:16 +08:00
raven02 fe31f1be61 Re-enable glPrimitiveRestartIndex 2014-05-26 00:50:43 +08:00
raven02 c096bfce7a Add case_16(NV4097_SET_TEXTURE_FORMAT, 0x20) 2014-05-25 22:21:38 +08:00
raven02 5109065425 RSXThread: Add few more logging and comments 2014-05-25 22:08:45 +08:00
raven02 2b8998af91 Hide debug console option 2014-05-25 16:05:21 +08:00
Michael Putters 6780a2f0bf Inverted XInput Y-axis for sticks 2014-05-25 09:34:06 +02:00
Oil 8a1227eaa2 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-05-25 01:46:25 +04:00
Oil 6072fd2fbb Switch to OpenAL Soft (see issue #166). Use native FLOAT32 data now. Add small check in OpenALThread. 2014-05-25 01:38:29 +04:00
Michael Putters 03914d60d3 Basic XInput support 2014-05-24 21:05:00 +02:00
Hykem 490d1059ac Merge pull request #250 from ItzWarty/cellPngDecDecodeData_optimizations
Optimize cellPngDecDecodeData's CELL_PNGDEC_ARGB case
2014-05-24 17:23:17 +01:00
raven02 8a068e7fca Add option to skip PAMF 2014-05-24 21:48:54 +08:00
Unknown W. Brackets f49d3d6a28 Fix the DCBZ instruction.
Needs to zero memory.
2014-05-23 09:57:13 -07:00
B1ackDaemon a186efded2 Merge pull request #264 from unknownbrackets/ppu-minor
Clean up LR updates in branches, remove CA update in ADD
2014-05-23 19:24:32 +03:00
Unknown W. Brackets 82d60ee48d Do not set the CA bit in ADD().
Thanks Ashe`.
2014-05-23 09:20:58 -07:00
Unknown W. Brackets 493bf93a5a Update LR only when cond passes.
It should not be updated otherwise.  In most cases, won't matter.

Also, reorder slightly so SetBranch() can safely set PC directly.
2014-05-23 09:20:57 -07:00
B1ackDaemon 0ec78e0d5e Merge pull request #263 from raven02/patch-16
Add 960x540 natvie resolution support
2014-05-23 19:02:40 +03:00
raven02 6520b8f06d Add 960x540 natvie resolution support 2014-05-23 23:51:55 +08:00
raven02 a2af749e71 Replace slow glReadpixels routine with glBlitframebuffer for non-MRT 2014-05-23 22:22:32 +08:00
raven02 94393ff4ea Re-enable glFrontFace with sanity check 2014-05-22 01:08:46 +08:00
raven02 3445f8a49f There is no glEnable(GL_FRONT_FACE) 2014-05-22 00:48:49 +08:00
raven02 b95667563f Code cleanup and added glPolygonOffset 2014-05-22 00:31:40 +08:00
B1ackDaemon e569de73d6 Merge pull request #248 from ItzWarty/master
virtual memory block reads/writes properly fail if address is out of bounds
2014-05-21 18:22:01 +03:00
Oil 3475912233 Some changes from previous commit restored. 2014-05-21 16:14:33 +04:00
Oil 570efab05f asmjit project moved in asmjitsrc directory. 2014-05-21 14:45:36 +04:00
raven02 967935d389 Enable GL_SCISSOR_TEST and add glLogicOp 2014-05-21 18:14:51 +08:00
Jake afc5294016 cellPad: Changes to report 0 length if theres no changes 2014-05-20 19:56:36 -05:00
Jake 233b179f65 cellPad: Fix logic error in setPressMode and setSensorMode 2014-05-20 19:54:08 -05:00
raven02 e0f89beb7d Set default polygon_mode as GL_FILL 2014-05-21 02:08:49 +08:00
raven02 f67d30571b Add NV4097_SET_BACK_POLYGON_MODE 2014-05-20 22:10:14 +08:00
Alexandro Sánchez Bach 9209edc15c Merge pull request #253 from ItzWarty/memoryviewer_fixes
Improve Memory Viewer: There are bugs in text representation.
2014-05-20 00:29:03 +02:00
Michael Yu 85785b471e MEMORY: Fixed IsMyAddress bound error (GetEndAddr returns an inclusive value) 2014-05-19 14:58:01 -07:00
Michael Yu 4c02c20d84 Improve Memory Viewer: There are bugs in text representation.
Char display now only displays printable ascii characters. Anything non-printable is printed as '.' as is standard.
Additionally, displayed lines are properly delineated with newlines so that we don't wrap on spaces.
2014-05-19 14:56:58 -07:00
raven02 0ba5bb4e7a Regress fix cellPamf 2014-05-19 22:48:59 +08:00
Alexandro Sánchez Bach c312bc1b70 Merge pull request #249 from raven02/patch-9
Add support for m_surface_depth_format 0
2014-05-19 15:16:17 +02:00
raven02 4f961c9e0b Add comment for depth format 0 2014-05-19 21:14:30 +08:00
Alexandro Sánchez Bach e280d54f3f Fix pointers issue in cellUserInfoGetList
Solves GetMemFromAddr(0x0) on NPEB01894.
2014-05-19 15:05:53 +02: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
Michael Yu 9bdb12e3da MEMORY: Added AppendRawBytes, which also advances the memory pointer unlike Memory.CopyFromReal 2014-05-19 02:23:23 -07:00
Michael Yu 2834697f1f MEMORY: Copy from real's destination parameter should be immutable 2014-05-19 02:23:22 -07:00
raven02 c2f3f04808 Add support for m_surface_depth_format 0 2014-05-19 15:43:41 +08:00
Michael Yu 9e791da7bd virtual memory block reads/writes properly fail if address is out of bounds.
Fixes Solar v2.1 http://puu.sh/8ScXK.jpg
2014-05-18 23:12:28 -07:00
Unknown W. Brackets 7948f376fb GL: Fix the compressed R8B8 / B8R8 type formats.
The not-swizzled bit is always set for them.
2014-05-18 15:24:12 -07:00
Unknown W. Brackets 612e515317 GL: Fix X16 / Y16_X16 texture formats.
Per the rsx/texture_formats test.  Not sure about pitch, may need to deal
with UNPACK_ROW_LENGTH...
2014-05-18 14:39:04 -07:00
Unknown W. Brackets 06c4c45200 GL: Fix half-float texture formats.
This matches the ps3 output/channels for these textures per the
rsx/texture_formats test.
2014-05-18 14:22:05 -07:00
Alexandro Sánchez Bach b4a7684344 Check pointers in cellPamf 2014-05-18 12:46:01 +02:00
B1ackDaemon 9e7f8564b6 Merge pull request #244 from raven02/patch-6
Fix wrong color effect in Disgaea 3
2014-05-18 11:08:17 +03:00
B1ackDaemon 1a6fa4aedc Merge pull request #243 from unknownbrackets/texformats
Swap R/B in a few other texture formats
2014-05-18 11:08:12 +03:00
B1ackDaemon be11bd85f6 Merge pull request #242 from unknownbrackets/pngdec
cellPngDec: Ignore bytesPerLine < width * bpp
2014-05-18 11:08:05 +03:00
raven02 c8e52a78f9 Fix wrong color effect in Disgaea 3 2014-05-18 14:57:56 +08:00
Unknown W. Brackets 07505aa9e2 GL: Fix D1R5G5B5 texture R/B components as well. 2014-05-17 23:14:42 -07:00
Unknown W. Brackets 7992115f6c GL: Swap R/B in A1R5G5B5 correctly.
Fixes Terraria, thanks @raven02.  How did I miss this, it was not passing
the test after all...
2014-05-17 23:06:26 -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 c8dea6b931 Typo. 2014-05-17 15:38:13 -07:00
Unknown W. Brackets 28b10157ad GL: Add Y16_X16 tex format (untested.) 2014-05-17 14:49:23 -07:00
Unknown W. Brackets 439dd9d8a3 GL: Add Y16_X16_FLOAT tex format (untested.) 2014-05-17 14:49:22 -07:00
Unknown W. Brackets cf0e116a56 GL: Add R8B8_R8G8 / B8R8_G8R8 formats, tweak G8B8.
Based on how the first two swizzle, most likely G8B8 works that way too.
2014-05-17 14:49:22 -07:00
Alexandro Sánchez Bach 0e3e4c7553 Merge pull request #236 from unknownbrackets/pngdec
cellPngDec: fix outputMode, outputBytesPerLine
2014-05-17 21:48:16 +02:00
Alexandro Sánchez Bach 921de12d93 Merge pull request #238 from unknownbrackets/texformats
Correct various texture formats in OpenGL
2014-05-17 20:56:29 +02:00
Unknown W. Brackets dbcee43567 Typo. 2014-05-17 11:32:18 -07:00
Unknown W. Brackets b58320d7dc GL: Small simplification. 2014-05-17 11:29:49 -07:00
Unknown W. Brackets 0978a1348e GL: Correct byteswapping for 565 type textures. 2014-05-17 11:15:26 -07:00
Unknown W. Brackets 86d35d58df GL: Add support for R6G5B5. 2014-05-17 11:15:26 -07:00
Unknown W. Brackets 2f8e31cddd GL: support the G8B8 tex format. 2014-05-17 11:15:25 -07:00
Unknown W. Brackets 68bc41b436 GL: Correct texture reswizzling, fix A4R4G4B4. 2014-05-17 11:15:25 -07:00
raven02 ccc35176f6 Fix wrong type for DEPTH24_D8/DEPTH16 2014-05-18 00:52:48 +08: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
Alexandro Sánchez Bach d745a7bb4e Implemented CELL_GCM_TEXTURE_D1R5G5B5
Same color issue as A1R5G5B5 though.
2014-05-17 17:17:41 +02:00
B1ackDaemon 1f465bc7d8 Merge pull request #235 from raven02/patch-4
Implement CELL_GCM_TEXTURE_A1R5G5B5 & CELL_GCM_TEXTURE_A4R4G4B4
2014-05-17 12:22:58 +03:00
B1ackDaemon 389e3bbd91 Merge pull request #233 from raven02/patch-3
Fix CELL_GCM_TEXTURE_B8 opengl error 0x0500
2014-05-17 12:22:45 +03:00
B1ackDaemon a3a6a8a9e0 Merge pull request #232 from raven02/patch-2
Fix ternary operator
2014-05-17 12:22:35 +03:00
B1ackDaemon 36d5cf1a7f Merge pull request #231 from raven02/patch-1
Set default off for WriteColorBuffers / DepthBuffers
2014-05-17 12:22:27 +03:00
B1ackDaemon a33e4c7346 Merge pull request #230 from raven02/master
Use GL_BGRA for glReadPixels()
2014-05-17 12:22:12 +03:00
raven02 0d9de89a26 Implement CELL_GCM_TEXTURE_A1R5G5B5 & CELL_GCM_TEXTURE_A4R4G4B4 2014-05-17 17:00:25 +08:00
raven02 ddfdaa270e Set default on for Ignore RW errors
This seems to be making couples of games at least not booting without the option ticking.
2014-05-17 10:03:21 +08:00
raven02 e7a4eac676 Typo fix 2014-05-17 01:44:13 +08:00
raven02 ca7c4e119e Fix CELL_GCM_TEXTURE_B8 opengl error 0x0500 2014-05-17 01:27:55 +08:00
raven02 86ca4819ee Fix ternary operator 2014-05-16 22:43:32 +08:00
raven02 8278c8f5c4 Set default off for WriteColorBuffers / DepthBuffers 2014-05-16 21:29:34 +08:00
raven02 20af7c4981 Log lvl -> Log Level 2014-05-16 21:27:14 +08:00
raven02 f5e1d9eab1 Use GL_BGRA for glReadPixels() 2014-05-16 15:13:34 +08:00
raven02 42434adfaf Add few more texture formats and comments 2014-05-15 22:29:55 +08:00
raven02 f3c3bebd6e Implement CELL_GCM_TEXTURE_R5G5B5A1/R5G6B5 2014-05-15 16:11:29 +08:00
Oil 5833d22fe0 Fixed issue #221, and other minor changes. 2014-05-13 22:45:24 +04:00
Alexandro Sánchez Bach 38bd40891d Fixed issue with RSX Reports
Reports consist of 16 bytes (64-bit timestamp, 32-bit value and 32-bit
zero padding). This was found by @nohbdy some time ago.
2014-05-12 21:31:01 +02:00
Peter Tissen ca64054505 some light formatting and hotkeys for main frame restored 2014-05-10 16:00:34 +02:00
Alexandro Sánchez Bach 8d5599d3dc Merge pull request #220 from unknownbrackets/opcodes
Add a few missing opcodes, fix SRAWI
2014-05-09 06:23:20 +02:00
Jake 6045c9a890 Removed unneccessary commented analog stick code 2014-05-08 17:20:16 -05:00
Unknown W. Brackets ff89e06fd6 Add missing ICBI instruction. 2014-05-07 23:53:19 -07:00
Unknown W. Brackets 9290453d2e Add missing STFSUX/STFDUX instructions. 2014-05-07 23:48:27 -07:00
Unknown W. Brackets 592e13b6a0 Add missing LSWX and STSWX instructions. 2014-05-07 23:39:45 -07:00
Unknown W. Brackets a5c18b2a09 Add missing TD instruction. 2014-05-07 23:36:13 -07:00
Unknown W. Brackets d54237b0a3 Fix SRAWI instruction decoding.
It's SH, not sh.  Lowercase combines bits from two fields.
2014-05-07 23:23:23 -07:00
Unknown W. Brackets 134e891068 Fix operand order in DSTST instruction.
No functional change.  Also, switch SC to use a u32 for more typesafe
opcode decoding - also no functional change.
2014-05-07 23:22:03 -07:00
Jake 5deedb1524 Fix pad handler for digital buttons 2014-05-07 18:08:16 -05:00
Jake 4d28d2e75d Revert comment out of cellPadGetCapabilityInfo in funcList 2014-05-07 01:45:18 -05:00
Jake 0e933439dc Initial cellPadClearBuf functionality 2014-05-06 23:09:10 -05:00
Jake 387eac4d08 Added pressure support for keys, redid analog 'key' stick support 2014-05-06 23:04:47 -05:00
Jake 0d4e950769 Implemented more cellPad functions, fixed some cellpad error returns 2014-05-06 22:54:41 -05:00
Jake 604eecf5d4 Add in cellPadGetCapabilityInfo function 2014-05-06 22:48:55 -05:00
Jake 199845a9d1 Fixed 'Assign_changes' usage for cellpad / padhandler 2014-05-05 21:58:49 -05:00
Jake 29cd11ad06 Added in some more error codes to Cellpad functions 2014-05-05 20:49:20 -05:00
Peter Tissen 4de24cb436 more compact precompiler checking 2014-05-01 19:32:16 +02:00
Peter Tissen 0aa8a9f372 fix OpenGL includes for Win32 2014-05-01 19:29:28 +02:00
Andreas Schroeder 11ca131607 detect Mac OSX and Windows, fall back to Linux 2014-04-30 00:58:57 +02:00
Andreas Schroeder 64cfab5b46 Mac OSX: fix includes & add missing functionality 2014-04-29 22:46:42 +02:00
Clayton Walker 4db97eae7c Set build independent binary output dir
Useful for using multimple compilers (gcc/clang) with different compile-time (debug/release)
2014-04-29 01:17:41 -06:00
Peter Tissen 92d556524b well let's hope Clang doesn't mind implicit unsigned int to u64 2014-04-28 21:18:11 +02:00
Hykem 90896560bb Merge pull request #209 from unknownbrackets/warnings
Fix a bunch of warnings
2014-04-28 17:15:12 +01:00
Hykem 82e47a5c53 Merge pull request #212 from unknownbrackets/perf
Improve memory access performance a little
2014-04-28 16:31:11 +01:00
Unknown W. Brackets 8ff354a4ea Switch a bunch of loops to range fors. 2014-04-28 07:57:49 -07:00
Hykem 7b28d9d7ba Merge pull request #185 from lioncash/gui-cleanup
Clean up UI code.
2014-04-28 15:54:54 +01:00
Unknown W. Brackets d6baac6fbe Fix reseved -> reserved typo. 2014-04-28 07:43:12 -07:00
Unknown W. Brackets fce0a1efa1 Add AboutDialog.h header to msvc. 2014-04-28 07:43:12 -07:00
Unknown W. Brackets fb03214f0a Clarify if/else precedence in a macro. 2014-04-28 07:43:11 -07:00
Unknown W. Brackets bdb08c58d3 Clarify a no-content loop. 2014-04-28 07:43:11 -07:00
Unknown W. Brackets 1fb8060263 Clarify precedence in macro. 2014-04-28 07:43:10 -07:00
Unknown W. Brackets 75fe77115d Avoid a trigraph. 2014-04-28 07:43:10 -07:00
Unknown W. Brackets 763fb2719f Don't try to delete [] things that weren't new'd. 2014-04-28 07:43:09 -07:00
Unknown W. Brackets bcf63a0fae Correct some non-const string literals.
Should not be treated as non-const char *.
2014-04-28 07:43:09 -07:00
Unknown W. Brackets 80eb12a9d6 Always return a value in get_time().
Although, clock_gettime() should never fail here.
2014-04-28 07:43:08 -07:00
Unknown W. Brackets f2d6bf73ca Clarify an assignment is not a comparison. 2014-04-28 07:43:07 -07:00
Unknown W. Brackets 563aa2d2ca Log unhandled case in FPSCR::checkSliceRounding(). 2014-04-28 07:43:07 -07:00
Unknown W. Brackets 2fdefc4fb5 Fix some int/ptr comparisons. 2014-04-28 07:43:06 -07:00
Unknown W. Brackets b550ccfc73 Make MemoryBase::Unmap() return a value. 2014-04-28 07:43:06 -07:00
Unknown W. Brackets 32554b7023 Use templates in FastRead/FastWrite to simplify.
DRY.
2014-04-28 00:42:02 -07:00
Unknown W. Brackets e4c0b0310c Don't ask twice if MemoryBlocks can read mem.
They already check on Read32(), so just use that to iterate.
2014-04-28 00:15:37 -07:00
Unknown W. Brackets 2f7fbf01cf Avoid pointless strdup(). 2014-04-27 21:31:42 -07:00
Unknown W. Brackets 42d5da633a Fix an unused variable warning. 2014-04-27 21:31:42 -07:00
Unknown W. Brackets 5f6a2e498a Fix some type comparion warnings. 2014-04-27 21:31:41 -07:00
Lioncash 8feabb00d6 Correct event handlers to trigger in all instnces
Some events don't propagate correctly to the right sub-window
and some things like the pad handler don't even necessarily have
windows. So, just register some events with the top-level app.

Also add a virtual destructor to the PadHandlerBase to be able to
deal with multiple inheritance in the derived classes.
2014-04-27 20:05:01 -04:00
Lioncash b877879db6 Clean up UI code.
- Use Bind instead of connect. It's recommended for anyone using wx 2.9+
- Remove AppConnector. All this did was destroy objects used in the UI. However, wxWidgets handles this. So it's redundant.
- Misc other unimportant changes.
2014-04-27 19:53:13 -04:00
Clayton Walker 0c5526f2fd Gui: Replace sscanf with ToULong 2014-04-27 17:11:03 -06:00
Peter Tissen fad6c7cecb add asmjit path hack, we'll get rid of it sooner or later 2014-04-27 21:32:12 +02:00
Peter Tissen 870fa5a153 explicit cast from void(*)() to void * 2014-04-27 20:23:32 +02:00
Peter Tissen 0bcadaf155 explicitER casting, why you heff to be mad Clang 2014-04-27 20:13:47 +02:00
Peter Tissen 95ca5315e7 fix path to the asmjit lib 2014-04-27 19:59:12 +02:00
Peter Tissen 9d3d7b09b3 explicit casting 2014-04-27 19:55:31 +02:00
Peter Tissen 7169972434 disable cotire for now 2014-04-27 19:34:09 +02:00
Peter Tissen 4981c576d2 rename all the non-standard include file extensions to *.h 2014-04-27 19:28:03 +02:00
Peter Tissen 6a24d2bbac fix typo in cmakelists.txt, again 2014-04-27 19:23:11 +02:00
Peter Tissen 07841fc9e3 fix typo in cmakelists.txt 2014-04-27 19:17:41 +02:00
Peter Tissen 85be97e6a2 add explicit casts for the ptrdiffs 2014-04-27 19:15:35 +02:00
Peter Tissen a766f5951d add precompiled header build to cmake to speed up building 2014-04-27 19:07:20 +02:00
Peter Tissen 60a7fe17b5 remove .m128i_uxx subscripts because they're non standard 2014-04-27 18:51:24 +02:00
Peter Tissen f906d031fa remove more offsetof calls on linux and add asmjit linkage 2014-04-27 18:37:21 +02:00
Peter Tissen 1ba5cafc5f enable SPU recompiler on linux 2014-04-27 18:18:04 +02:00
darkf d47dbf4f32 pad: Send all button states so release events fire 2014-04-27 05:33:31 -07: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
Nekotekina 0d375809b1 Useless code removed 2014-04-26 00:28:43 +04:00
Nekotekina a24cb250d8 Compilation fix again 2014-04-26 00:09:23 +04:00
Nekotekina 555d053e32 Compilation fixes 2014-04-25 16:48:27 +04:00
darkf 2b7c12a3f0 Stub cellWebBrowserEstimate2 so some apps proceed 2014-04-24 22:14:40 -07:00
darkf ee2e0b3bbf sys_net: Implement sockaddr_in, inet_addr, listen 2014-04-24 22:02:33 -07:00
darkf b0b6034e63 accept accepts NULL address 2014-04-24 05:10:43 -07:00
darkf 090f7f8cfb Add SPU decoder mode selection to GUI/Config 2014-04-23 05:06:19 -07:00
Alexandro Sánchez Bach 0d7e45639a Merge pull request #197 from Nekotekina/master
Simple SPU JIT
2014-04-23 13:19:18 +02:00
Nekotekina 525084e7cc Some stuff 2014-04-20 23:36:53 +04:00
Nekotekina e1bbedd4bf Accuracy improved 2014-04-20 02:53:42 +04:00
Alexandro Sánchez Bach 9e793c2122 cellSaveData* (cellSysutil) refactoring 2014-04-19 18:50:06 +02:00
Nekotekina 678a964ff4 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-04-19 18:45:55 +04:00
Nekotekina 7875738391 More opcodes 2014-04-19 02:11:07 +04:00
Nekotekina 62df7eb499 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
Conflicts:
	rpcs3/rpcs3.vcxproj.filters

Conflicts fixed
2014-04-18 16:59:31 +04:00
Peter Tissen ee9d25c675 forgot the right check 2014-04-18 13:31:37 +02:00
Peter Tissen 79eaffaaa7 copying class with pointers as member when deleting them in the desctructor is danger zone. 2014-04-18 13:28:27 +02:00
Nekotekina 5d091411a3 More opcodes 2014-04-18 00:25:02 +04: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
Nekotekina 29d2ea7513 Some bugs fixed 2014-04-17 03:28:21 +04:00
Nekotekina a57841d006 Some comments cleared 2014-04-16 15:36:20 +04:00
Nekotekina dab0751300 ... 2014-04-16 15:09:06 +04:00
Peter Tissen f073f1ca4b yeah, that happened 2014-04-15 14:48:21 +02:00
Nekotekina c41317dd82 New bugs added 2014-04-14 13:42:55 +04:00
Peter Tissen 8ef9414406 try to reign in the vector<ptr> madness 2014-04-14 10:55:43 +02:00
Peter Tissen 552b71a378 fix not range-checked vector access 2014-04-14 09:01:31 +02:00
B1ackDaemon 0d7397a636 Merge pull request #183 from Bigpet/cmakefix
quote guard CMake variables
2014-04-12 22:54:43 +03:00
Bigpet a14c61802e quote guard CMake variables 2014-04-12 21:36:34 +02:00
Nekotekina 180f8aac5d SPU Interpreter fix 2014-04-12 14:27:27 +04: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 d65968b41d unify line endings to shut up VS 2014-04-12 11:42:20 +02:00
Nekotekina e56bb1b675 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-04-11 12:33:41 +04:00
Nekotekina a7057f5205 Conflicts fixed 2014-04-10 02:00:01 +04:00
Oil 0763e429b8 I just forgot to do it... 2014-04-10 00:42:50 +04:00
Oil 770ebaf271 Implemented small tool for generating id of HLE-Function. Fixed small issue in PADManager dialog. 2014-04-09 23:57:26 +04:00
Alexandro Sánchez Bach 8183ee4d56 cellSaveData* improvements
* cellSaveDataFixedSave2 and cellSaveDataFixedLoad2 implemented. Still a
little buggy.
* Small fix the cellSaveDataList(Save|Load)2 problem in Disgaea D2 and
other games.

NOTE: cellSysutil_SaveData.cpp is a total mess: some blocks of code
appear in all the syscalls. I just want to wait until most of the
SaveData functions are implemented and working to do some serious
refactoring.
2014-04-09 18:23:14 +02:00
Peter Tissen 10ca726752 Remove GCC specific variadic macro syntax 2014-04-08 21:47:02 +02:00
Alexandro Sánchez Bach e89ecd192b Merge pull request #177 from Bigpet/minifix
Various warning fixes and devirtualization
2014-04-08 20:06:20 +02:00
Alexandro Sánchez Bach ce1b6039ac Merge pull request #175 from eriksson/nx-fixes
*nix fixes
2014-04-08 20:05:55 +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
Nekotekina 33f7afd6e6 Some bugs fixed 2014-04-08 19:10:07 +04:00
Eriksson Monteiro 3cb18ac5a9 fix trailing comma in array 2014-04-08 00:41:09 +01:00
Alexandro Sánchez Bach 1975b7e139 Merge pull request #176 from lioncash/ppu-typo
Fix a typo in SUBFZE for the PPUInterpreter.
2014-04-07 21:21:38 +02:00
Nekotekina 4e9dc8ab9c SPU JIT: more asm 2014-04-07 22:27:30 +04:00
Lioncash f019bd995a Fix typo in SUBFZE for the PPUInterpreter. 2014-04-07 11:48:30 -04:00
Nekotekina f9b68bc012 SPU JIT fix
Nothing changed in interpreter.
2014-04-07 17:06:13 +04:00
Alexandro Sánchez Bach 9e40247af0 Fixed error in SC_Pad.cpp and Readme.md updated 2014-04-07 14:40:50 +02:00
Lioncash d36da21d6f Fix stupid mistake I made with rebasing.
Accidentally overwrote the Pad handler stuff for windows. Should be fixed now.
2014-04-06 23:47:00 -04:00
Lioncash 3c5e3fa853 Move the mouse/keyboard/pad handlers over to using unique_ptr as the underlying base. 2014-04-06 23:46:59 -04:00
lioncash c5a7946a24 Move Keyboard/Mouse/Pad handlers over to using vector. 2014-04-06 23:46:59 -04:00
lioncash 26e80a18b4 Disallow inheriting of the null and windows mouse/keyboard/pad handlers. These aren't intended to be further extended. 2014-04-06 23:46:58 -04:00
Eriksson Monteiro e65d1a3dd9 replace CLK_TCK for CLOCKS_PER_SEC 2014-04-06 22:51:36 +01:00
Eriksson Monteiro 5a5edf17fd Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 into nx-dbgoutput 2014-04-06 22:35:36 +01:00
Alexandro Sánchez Bach 8798b05e1f Merge pull request #161 from lioncash/vs
Reorganize the VS project.
2014-04-06 22:59:05 +02:00
Nmzik f9e6230ead added 2 functions 2014-04-06 23:47:21 +04:00
Nekotekina e614a7313c SPU JIT WIP 2014-04-06 23:23:32 +04:00
Hykem d0b249fbca Merge pull request #172 from O1L/master
GUI: Pad Settings dialog reworked.
2014-04-06 16:17:07 +01:00
Hykem f76e1630b4 Merge pull request #171 from Nmzik/master
Minor improvement
2014-04-06 16:08:07 +01:00
Eriksson Monteiro d7dc938653 remove trailing commas in arrays 2014-04-06 14:25:53 +01:00
Lioncash 842a6fe1d4 Fix two parameter sanity checks in sceRtc. 2014-04-05 15:46:56 -04:00
Nekotekina 4a9310755f Working on simple SPU JIT
No, it doesn't work.
2014-04-05 20:30:08 +04:00
O1L bbbe2f8916 GUI: Pad Settings dialog reworked. 2014-04-05 18:26:45 +04:00
Nmzik 3243c4c0c8 Test 2014-04-05 14:17:32 +04:00
Nekotekina c6c6dbe546 Conflicts fixed 2014-04-04 18:43:43 +04:00
lioncash d0c9d7c0ae Use spaces for vertical alignment 2014-04-04 09:25:38 -04:00
darkf 4d4b6c0895 Implement/stub cellSysutilGetBgmPlaybackStatus 2014-04-04 00:28:00 -07:00
Nekotekina 24eb97f287 AudioDumper: 8ch output 2014-04-04 00:46:40 +04:00
Nekotekina fb9dbfab3a Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-04-03 16:11:56 +04:00
Nekotekina 1e02598903 cellSync: global mutex avoided
cellAudio: level bug fixed
2014-04-03 15:01:14 +04:00
Alexandro Sánchez Bach 7093852fa0 lv2 sc_table edited & FP recompiler ddx/ddy fix
* Replaced ddx/ddy with dFdx/dFdy in FP recompiler.
* SysCalls table edited. It should now be easier to read / edit. Tell me
if you disagree with this.
2014-04-03 04:20:12 +02:00
Alexandro Sánchez Bach 01b5681dc8 Merge pull request #165 from lioncash/misc
Add a parameter check to some Gif/Jpg/Png decoding syscalls
2014-04-03 04:06:51 +02:00
Lioncash 9d0dd4c7cf Add a parameter check to some Gif/Jpg/Png decoding syscalls 2014-04-02 22:02:43 -04:00
Lioncash 2a83af6dbf Stub some sceNp funcs 2014-04-02 19:32:07 -04:00
Lioncash 1aff35f669 Fix the build. 2014-04-02 14:42:25 -04:00
Lioncash bb40c0a71a Reorganize the VS project.
Puts all the headers with the corresponding cpp file instead of having every include in a single folder.

Also added headers that weren't included previously.
2014-04-02 14:30:30 -04:00
Alexandro Sánchez Bach fc9a90e220 Merge pull request #160 from Bigpet/master
Gui logging in main thread
2014-04-02 19:58:34 +02:00
Alexandro Sánchez Bach 2c2ee023b5 Merge pull request #159 from lioncash/vector
Move most of PPUProgramCompiler over to vector
2014-04-02 19:57:02 +02:00
Alexandro Sánchez Bach 81cdaa883a cellPngDec fixes and some rewritings
* This commit solves the cellPngDec GetMemFromAddr(0x0) error when
loading PNGs from files.
* cellVideoOutGetResolution, cellRtc* syscalls rewritten to use the use
the mem*_t data types.
* Replaced int/uint with s32/u32 in some syscall arguments and structs.
2014-04-02 19:53:44 +02:00
Peter Tissen dad82aa1eb Gui logging in main thread
Do the logging to the GUI log element in the main thread. Not doing this
causes issues with the GTK backend of wxWidgets. Plus it's just common
sense to try to limit gui calls to one thread.
2014-04-02 17:57:50 +02:00
Nekotekina b6d8f1e028 Small fix (cellAudio, fsAioRead)
libsynth2 draft
2014-04-02 19:17:43 +04:00
Lioncash 990fca3e7b Minor simplifications to PPUProgramCompiler 2014-04-02 10:21:16 -04:00
Lioncash b3e0441940 Move PPUProgramCompiler to vector 2014-04-02 09:58:47 -04:00
Nekotekina e2e8980194 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-04-02 12:37:03 +04:00
Nekotekina d2ca1cc25a Audio sync fix
Libmixer: SSPlayer draft
Detection fixed
Macros for function substitute registration
2014-04-02 00:04:56 +04:00
Peter Tissen 748aa6fce8 fix indentation 2014-04-01 20:27:58 +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 02729695ff remove some wxString references I missed 2014-04-01 19:25:22 +02:00
Peter Tissen bcb9ad94c1 correct some merge error that happened from automatic git merging 2014-04-01 19:19:51 +02:00
Alexandro Sánchez Bach bc095322c3 Merge pull request #153 from Bigpet/wxString_exorcism
wxString exorcism
2014-04-01 18:25:33 +02:00
Peter Tissen febe8624bf remove redundant c_str -> string -> c_str conversions 2014-04-01 17:22:57 +02:00
Peter Tissen 8ac226ae69 replace all instances of wxString with std::string in all cases not
directly involved in either the GUI or other wxWidget classes like wxFile
2014-04-01 16:23:03 +02:00
Alexandro Sánchez Bach fa4473de49 Merge pull request #147 from lioncash/mem-leaks
Fix some memleaks in unedat.cpp
2014-03-31 21:41:24 +02:00
Alexandro Sánchez Bach a09ad031ec cellSaveData* (cellSysutil) improvements
* cellSaveData improvements: cellSaveDataListLoad2 should work perfectly
(ignoring the fact that there is no dialog, and the first entry is
chosen automatically). cellSaveDataListSave2 has improved too. Some code
refactoring is required though.
* Reverted (deleted) Emu/SysCalls/Dialogs/ folder which I accidentally
included while merging Nekotekina's branch (including minor SaveData
changes).
* Modified some small things in cellGcmSys.
2014-03-31 20:30:07 +02:00
Peter Tissen b1894ac6cb fix implicit conversion error 2014-03-31 17:35:05 +02:00
Peter Tissen 8a000940da upgrade to VS2013 to use variadic templates for type safe printing 2014-03-31 17:35:04 +02:00
lioncash c4b64c8d9f Fix variable typos in unedat.cpp
Also fixed possible uninitialized variable usage. Initializes length to zero.
2014-03-31 08:59:52 -04:00
lioncash e47e37a8d2 Fix some memory leaks in unedat.cpp. 2014-03-31 08:56:24 -04:00
Alexandro Sánchez Bach 01dbb8eb9a Merge pull request #145 from Nekotekina/master
Fixed conflicts.
2014-03-31 12:04:34 +02:00
Alexandro Sánchez Bach 8011cc8ec4 Merge pull request #146 from darkf/stuff
Add FindGLEW to CMake build and fix naming error
2014-03-31 11:23:17 +02:00
darkf 61d0e4ee54 Rename xor to xor_ to allow build to continue in compliant compilers 2014-03-31 00:55:27 -07:00
darkf 8007693084 Add FindGLEW to CMake modules along with some compiler flags 2014-03-31 00:00:30 -07:00
Anthony Miyaguchi 2106fb83b2 Added cellGcmSetUserHandler that already existed but was never added. 2014-03-30 18:01:51 -07:00
Anthony Miyaguchi b571f14fe4 Function declaration at top needed for another function. 2014-03-30 17:56:03 -07:00
Anthony Miyaguchi eab81deb27 Reordered functions for organization. 2014-03-30 17:54:57 -07:00
Anthony Miyaguchi a62552b086 Organized the cellGcmSys_init() functions in a more sane manner. 2014-03-30 17:54:34 -07:00
Hykem 196c2ffe5b Updated the crypto engine:
- Updated AES and SHA-1 source code;
- Fixed a few code warnings;
- Implemented EDAT/SDAT decryption.

Started SPURS implementation:
- Added an internal SPURSManager class draft;
- Added several drafts for cellSpurs functions.

Implemented key.edat decryption in sceNpDrmIsAvailable:
- NOTE: Currently, the decrypted key.edat is stored under dev_hdd1/titleID and the user must replace this file in dev_hdd0. This behavior will change in the future as it's currently intended for controlled testing only.
2014-03-30 21:09:49 +01:00
Lioncash b9de74f5c6 Move VHDDManager over to using vector. Also fix some variable and function name typos. 2014-03-30 00:13:00 -04:00
Lioncash 479ef45aec Fix a case where m_hdd_file is passed to m_file uninitialized.
Due to the way initializations work in C++, despite the order of the initializations in the initialization list, it will actually do the initializing in the order the class variables are defined.
2014-03-30 00:08:16 -04:00
Alexandro Sánchez Bach ae5d06d4be Merge pull request #141 from lioncash/bounds
Memset the ringbuffer in m_fs_config by the size of the actual ringbuffer struct, not FsRingBufferConfig's size..
2014-03-30 00:18:02 +01:00
Lioncash 12b627fa9c Memset the ringbuffer in m_fs_config by the size of the actual ringbuffer struct, not FsRingBufferConfig. 2014-03-29 16:28:39 -04:00
Lioncash d6bcf14cc0 Fix missing unary increment operator in DisAsmFrame 2014-03-29 16:13:05 -04:00
Ben Anderson 33f7f37ca7 Fixes null ptr in gcc, probably to do with operator precedence. @Bigpet was all over this one. 2014-03-30 03:21:41 +13:00
Ben Anderson 84c9323750 Fixes GL fix, which was broken. Added -g flag to cmake, so we can have debug builds. 2014-03-30 03:15:46 +13:00
Ben Anderson e24027eccb Added call to GlewInit() under *nix, should fix cairo display crashes. 2014-03-29 21:11:43 +13:00
Ben Anderson b317b2feda Commenting out all of this, should fix the pathing glitches on *nix, without breaking windows functionality. 2014-03-29 20:52:39 +13:00
Ben Anderson 6141c33630 Fixes invalid conversion from wxStringConst, to std::string under gcc-4.8 2014-03-29 13:52:27 +13:00
Alexandro Sánchez Bach 503c24453a cellSaveData* progress & reverted commit 950fcfe
* Reverted commit
950fcfe4ef
(Reverted ConLog changes) that fixed the "Bad flip!" error since there
is a better way of solving it. It will be fixed soon.
* Moved cellSaveData to cellSysutil (but preserving the functions in a
separated file named: cellSysutil_SaveData.cpp).
* Progress on cellSaveDataList* functions.
* Added a small margin to the new Settings dialog. :-)
2014-03-28 20:06:15 +01:00
O1L 1be14f818a GUI: some changes in Config -> Settings 2014-03-28 21:17:44 +04:00
Ben Anderson b36a5a95f0 x11 fix 2014-03-29 00:33:51 +13:00
Hykem 98b4a35fb5 Merge pull request #130 from nohbdy/bugfix
Minor code and memory initialization fixes
2014-03-28 04:53:28 +00:00
Hykem e03b68f12f Merge pull request #129 from acmiyaguchi/master
Fix a hang after failing to run an *.elf file and stopping emulator
2014-03-28 04:52:51 +00:00
Alexandro Sánchez Bach 950fcfe4ef Reverted ConLog changes of commit 5ea58d94
This was causing a "Bad flip!" error on Arkedo Series 02 Swap!. I guess
we will have to search for a better solution. I just reverted the
ConLog.cpp / ConLog.h files.

Related commit:
5ea58d9451
2014-03-28 05:32:24 +01:00
Alexandro Sánchez Bach 2c7269e3de PSF Loader improved & issue #126 fixed
* Improved PSF Loader: Now you can get the value of the PARAM.SFO
entries directly with the GetString(key), GetInteger(key) methods.
GameInfo related lines were removed since they have nothing to do with
PSF files.
* cellGame, cellSysutil, and GameViewer are modified because of the PSF
Loader changes.
* Removed unnecessary null pointer checks:
https://github.com/DHrpcs3/rpcs3/issues/126
2014-03-28 05:20:13 +01:00
nohbdy d533572ee9 Minor code and memory initialization fixes
* Explicitly initialize member variables in SELFDecrypter, MemInfo, and
VirtualMemoryBlock
* Zero out memory used for counter/nonce in aes-ctr
* Fix use of a ControlInfo pointer after it is added to an Array via
Array::Move (which makes it an invalid pointer) in
SELFDecrypter::LoadHeaders
2014-03-27 22:16:14 -05:00
Anthony Miyaguchi 544bacf54e Quick one line change fixes a hang after failing to run an *.elf file and stopping the emulator via the Stop button. 2014-03-27 18:57:28 -07:00
Alexandro Sánchez Bach 64145d7d62 Merge pull request #124 from xsacha/master
Linux build fix
2014-03-27 23:17:59 +01:00
Alexandro Sánchez Bach 1fd42c34c2 Minor fixes
* Modified some .gitignore's
* Removed some #include <vector>'s
and other stuff...
2014-03-27 16:40:58 +01:00
Alexandro Sánchez Bach c541176a32 Merge pull request #125 from lioncash/ui
Simplify some VFS-related code.
2014-03-27 16:08:04 +01:00
lioncash a5f35cc437 Fix a typo in a log message
Also moved a logging statement after an if statement check. We don't want to signify creation of something before checking its validity.
2014-03-27 09:23:32 -04:00
lioncash 7f5412f427 Make a some printfs into error log calls. 2014-03-27 09:22:56 -04:00
lioncash 007f0f2437 More specific log message for adecRawRead.
Was previously logging as adecRead.
2014-03-27 07:36:24 -04:00
Lioncash 8e44bcdbda Simplify some VFS-related code. 2014-03-27 02:49:02 -04:00
Sacha 9b0bcf0b54 Linux build fix 2014-03-27 11:12:45 +10:00
Hykem 457455b71d Merge pull request #121 from lioncash/stack
Use Push instead of AddCpy in CallStackBranch.
2014-03-27 00:12:04 +00:00
Lioncash 2185465d34 Remove an unnecessary c_str call. 2014-03-26 19:54:09 -04:00
Lioncash a7bc2034d0 Use Push instead of AddCpy in CallStackBranch. 2014-03-26 19:25:12 -04:00
Sacha ebc6b9e66e Fix an assign. Some other misc changes. 2014-03-26 10:29:17 +10:00
Sacha 3e9cbb4a24 Linux build fix. 2014-03-26 10:23:06 +10:00
Alexandro Sánchez Bach 31e1464e1a Merge pull request #117 from lioncash/const-references
Use const references for the string keys in Ini.cpp/.h
2014-03-25 02:11:56 +01:00
Lioncash a5d9c9033f Fix erroneous assignment in an if statement.
Should have been a comparison.
2014-03-24 20:08:33 -04:00
Lioncash b8d3ce7ae8 Use const references for the string keys in Ini.cpp/.h 2014-03-24 19:53:14 -04:00
lioncash 90b83f6b3e Fix a missing return in an if statement in sceNpTrophyCreateContext. 2014-03-24 09:40:25 -04:00
lioncash 6841230141 Fix erroneous duplicate condition check in cellSpursGetTasksetId. 2014-03-24 09:40:02 -04:00
lioncash 8302e6c001 Fix case where UTF16stoUTF8s in cellL10n.cpp would always fail out if compiled with Visual Studio. 2014-03-24 09:21:17 -04:00
lioncash 4db1f49aaf Remove redundant assignment in RSXThread.
This is assigned the same value further down the function.
2014-03-24 08:53:34 -04:00
lioncash c00850c4c5 Minor const correctness 2014-03-24 08:47:30 -04:00
lioncash 874da27599 Initialize strings through the initializer list in PPUProgramCompiler.h 2014-03-24 08:40:35 -04:00
Nekotekina be80a7c39c SC_Lwcond fixed 2014-03-23 01:04:55 +04:00
Nekotekina d0ea397492 cellAtrac draft
sys_spu_thread_group_resume
Some bugs fixed
2014-03-22 15:08:07 +04:00
Nekotekina 169fcd098b Demuxer improvement 2014-03-22 05:08:25 +04:00
Nekotekina 5ea58d9451 ConLog unicode support improved 2014-03-21 19:06:08 +04:00
Nekotekina 39d1e21802 Fix slashes for Windows :p 2014-03-21 13:45:26 +04:00
Nekotekina cad7a05848 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-21 13:02:10 +04:00
Alexandro Sánchez Bach ad7ac17647 Small fixes in sceNpTrophy and cellSaveData
* Added cellSaveData.cpp to the project.
* Fixed wrong cellSaveData structs.
* Fixed compilation problem caused by the switch/case statements
introduced in sceNpTrophy and TROPUSR.cpp in the last commit
2014-03-21 00:46:27 +01:00
Alexandro Sánchez Bach f86ac251a8 TROPUSR Loader & sceNpTrophy stuff
* Added a loader for the TROPUSR.DAT files.
* Added a few structs/enums to sceNpTrophy.h
* Added more sceNpTrophy functions and updated other ones.
* Updated cellHddGame error codes in cellSysutil.h
* Added addresses of cellHddGame to cellSysutil_init.

NOTE:  There is a known problem in the `if
(!Emu.GetVFS().ExistsFile(filepath))` in `TROPUSRLoader::Load` which
causes the games to overwrite their TROPUSR.DAT file every time they
boot and they "forget" the unlocked trophies. However, as long as the
game is running the unlocked trophies should be still there.
2014-03-20 19:23:14 +01:00
Peter Tissen f0e73a652f stswi and lswi instructions 2014-03-20 02:48:02 +01:00
Peter Tissen 6e4203998a Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-20 00:51:58 +01:00
Alexandro Sánchez Bach cd4f0b2c68 Merge pull request #108 from Bigpet/master
added SUBFME, SUBFZE and fix cache folder creation
2014-03-20 00:10:12 +01:00
Nekotekina 87e016bdf0 RLWIMI, RLWINM and RLWNM fixed 2014-03-19 23:40:52 +01:00
Peter Tissen 5a1ce28105 fix carry errors 2014-03-19 23:40:49 +01:00
Peter Tissen acf955635f correct the subtraction instructions and try something more sensible for overflow detection 2014-03-19 18:13:52 +01:00
Alexandro Sánchez Bach 8c2aee5e64 cellHddGameCheck and some fixes
* Fixed wrong endianness in several structs.
* Fixed CreateFile-related bug in TRP Loader.
* Added cellHddGame (cellSysutil) structs and cellHddGameCheck.
2014-03-19 16:19:35 +01:00
Nekotekina a520934abd RLWIMI, RLWINM and RLWNM fixed 2014-03-19 18:47:28 +04:00
Peter Tissen 27bb41d652 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-19 14:38:42 +01:00
Nekotekina 38bfbe2c40 Audio decoding 2014-03-19 04:32:23 +04:00
Peter Tissen 2ddee26d83 add experimental subfme and subfze support and fix cache folder creation 2014-03-18 23:58:42 +01:00
Alexandro Sánchez Bach 37f7a31a22 Another small fix related with TextureBorderColor
TODO: Find an appropriate place for setting the GL_TEXTURE_BORDER_COLOR
parameter.
2014-03-18 18:27:11 +01:00
Alexandro Sánchez Bach 2601933bdc TextureBorderColor & cellFont problems fixed
* Fixed tabs/spaces problem in cellSysutil.h too.

NOTE: The problem with cellFont (crash on line 604) has been fixed, but
for a high price: There is now a huge memory leak when a NULL pointer is
passed to cellFontRenderSurfaceInit.
2014-03-18 17:45:26 +01:00
kacek 39dc6f0838 cellGcmSetTexture_BorderColor fix 2014-03-18 07:20:59 +01:00
kacek 4b14c72ed8 implemented cellGcmsetTexture_BorderColor function 2014-03-18 01:03:26 +01:00
Alexandro Sánchez Bach cf4501fe41 cellGame, cellSysutil and TRP installer improved
* TRP Loader and sceNpTrophyRegisterContext improved.
* cellSysutil constants moved to cellSysutil.h
* cellGameBootCheck bug fixed that makes size->hddFreeSizeKB be 0.
* Added system language selector (this is *not* RPCS3's language).
cellSysutilGetSystemParamInt(0x111) will return the selected language.

NOTE: The problems caused by the last commit (pull request #104 merged)
are not yet fixed.
2014-03-17 20:34:19 +01:00
Nekotekina c4d9223034 event flag improvement (not finished)
Fixed empty SPU thread name issue
2014-03-17 19:07:47 +04:00
Sacha 6968137bbc Fix slashes for Linux 2014-03-17 23:41:15 +10:00
Nekotekina 475c3ff967 Merge https://github.com/elisha464/rpcs3 2014-03-17 13:17:12 +04:00
Nekotekina 4cbe3a2a46 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-17 13:16:43 +04:00
Nekotekina 1a1bed2258 Event flag partial implementation 2014-03-17 00:14:46 +04:00
Sacha a00f47b5e4 Linux build fix 2014-03-16 22:49:05 +10:00
Nekotekina 4aa6ddf3dd Weird MFC_PUTR_CMD handling 2014-03-16 01:33:19 +04:00
Nekotekina c9a421f12f SPU Thread Group-specific MMIO
LS access, SNR writing
2014-03-16 00:46:53 +04:00
Hykem 0a35c4f2c4 Added missing change. 2014-03-15 20:37:29 +00:00
Hykem c4a9c874d1 Improved FRES and FRSQRTE results (tested with ppu_fpu).
Implemented and improved several SC_Memory syscalls.

Started working in sceNp module.
2014-03-15 19:45:43 +00:00
Nekotekina 60d922da11 DMA List commands
cellAudio: multiple queue support
sys_cond simplified
cellFsMkdir (?)
2014-03-15 19:43:14 +04:00
Nekotekina 024aa0660c Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-15 03:15:18 +04:00
Alexandro Sánchez Bach 6c4a980d36 Minor changes
* Fixed identation
* Make some parts of the code more readable.
2014-03-14 18:12:12 +01:00
O1L b0f6b03c38 Fixed crash on using NUll Audio Output, fixed possible crash in OpenAL exit and minor changes in cellAudioEventQueue functions. 2014-03-14 17:53:37 +03:00
Nekotekina 2c447f686d sys_spinlock implemented 2014-03-13 20:11:16 +04:00
Nekotekina 2de22f0321 Fixed conflicts 2014-03-13 13:18:47 +04:00
Nekotekina 8cc6a287a7 Update 2014-03-13 13:17:45 +04:00
DH 0e437312ad Improved OpenAL audio output
Implemented LDBRX PPU instruction
Enabled FRSQRTE PPU instruction
Improved Fragment Program Decompiler
Implemented Log lvl selection
2014-03-13 02:26:53 +02:00
Alexandro Sánchez Bach 80cfb2eb58 cellGame functions & MULHD(U) warn. disabled 2014-03-12 23:34:35 +01:00
Alexandro Sánchez Bach fb1b57720c Merge pull request #100 from O1L/master 2014-03-11 20:14:39 +01:00
elisha464 62f9d454eb Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-11 21:00:21 +02:00
elisha464 c08c5eef10 disabled a few stuff and changed color to white before rendering to main window (fix fw_stencil_reflect) 2014-03-11 20:52:14 +02:00
Alexandro Sánchez Bach 5c563d04c7 Merge pull request #99 from xsacha/master
Linux build fix
2014-03-11 19:29:28 +01:00
elisha464 9194b73a81 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-11 19:57:31 +02:00
Alexandro Sánchez Bach b31a990cf1 cellUserInfo module added & cellFsReadWithOffset 2014-03-11 18:40:37 +01:00
Sacha 5f3f7e197a Linux build fix. 2014-03-12 02:36:58 +10:00
Nekotekina b7b33145f6 Compilation fix 2014-03-12 02:36:58 +10:00
Nekotekina 7f7d5a57c8 rldcr, rldcl instructions
Some intructions fixed
2014-03-11 20:20:01 +04:00
Alexandro Sánchez Bach d5e94d4cd9 Some sys_net functions
* sys_net; Added some functions using winsock.h | sys/socket.h
* sys_net: Renamed overloaded function/structs "*" to "sys_net_*"
* Added SetAddr function to mem_base_t
2014-03-11 15:42:28 +01:00
Nekotekina 7984df37c3 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-10 20:24:15 +04:00
Lioncash 1aa6e5df95 Fix a case where an array is read out of bounds in cellSpurs.cpp 2014-03-10 03:28:17 -04:00
Nekotekina a33575b115 Compilation fix 2014-03-10 03:07:53 +04:00
Sacha bde5c9cfed Fix slashes in OpenAL includes 2014-03-10 00:44:12 +10:00
Alexandro Sánchez Bach 8461bee32e Updates in cellL10n and sceNpTrophy
* UTF16stoUTF8s updated.
* Added missing return in sceNpTrophyRegisterContext.
* Added sceNpTrophyGetGameInfo.
2014-03-09 04:57:19 +01:00
Nekotekina 75f535c947 Conflicts fixed 2014-03-08 03:02:59 +04:00
O1L df894c05b2 Implemented simple OpenAL audio output. Structures and enum's from cellAudio.cpp moved to cellAudio.h . Audio dump functions moved in AudioDumper class. 2014-03-08 02:15:39 +03:00
Nekotekina 1c302433af cellSpurs draft added 2014-03-08 01:31:08 +04:00
Nekotekina 3a00ec7682 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-07 16:04:14 +04:00
Nekotekina 3127543b6e sys_ppu_thread_join, sys_ppu_thread_exit fixed
Some diagnostic messages in mutexes
2014-03-07 16:03:42 +04:00
elisha464 0edd70d3d8 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-07 09:10:29 +02:00
Peter Tissen 3871134a49 respect the outputBytesPerLine parameter if it's longer than the natural length of the PNG file 2014-03-07 04:15:56 +01:00
elisha464 e32a6a2eea Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-06 19:46:23 +02:00
Alexandro Sánchez Bach 898fbf02b8 Fixes in sceNpTrophy and FSEL (PPU instr.) 2014-03-06 13:27:58 +01:00
Nekotekina fac86aae58 Conflicts fixed (again) 2014-03-06 15:55:50 +04:00
Nekotekina 05c6a96d27 Conflicts fixed 2014-03-06 15:50:45 +04:00
Nekotekina e86a849600 libmixer draft
and some hacks
2014-03-06 15:40:50 +04:00
Alexandro Sánchez Bach d6596ca453 Progress in cellL10n
* cellL10n added to the project.
* Function addresses added to cellL10n_init.
* UTF16stoUTF8s implemented (WARNING: I haven't tested it).
2014-03-06 09:48:35 +01:00
Alexandro Sánchez Bach 39d3814be7 Changes in cellRtc & sceNpTrophy
* Two header files added: cellRtc.h and sceNpTrophy.h
* Changes in sceNpTrophyCreateContext.
* Implemented sceNpTrophyGetTrophyInfo.
2014-03-06 01:52:23 +01:00
Nekotekina 384536ba4f prx_mem memory leak fixed
CPUThread::ExecAsCallback (experimental)
2014-03-04 23:18:17 +04:00
Alexandro Sánchez Bach 8204deaae6 Minor changes
* Fixed some forgotten `!` in cellFsGetFreeSize.
* Fixed VSUM2SWS opcode.
* Added cellNetCtl to the project.
* Implemented cellNetCtlGetState.
2014-03-04 15:40:15 +01:00
Aishou d32025ae3c more fixes... 2014-03-04 09:37:28 +01:00
Nekotekina b32a8e2e28 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-04 03:36:45 +04:00
Nekotekina 8a4c67deab It can play video, but it can't
I don't know how to disable aggressive data caching that occures in
vdecRead(). Also ReleaseAu function is disabled because it breaks
everything.
2014-03-04 03:21:34 +04:00
elisha464 11571cf2a4 fix memory alignment
added eaIOMap with flags (draft)
changed gcmInit to throw an error when not being able to map to io address
2014-03-03 22:45:27 +02:00
Aishou 354cf24302 fix gcc compile... 2014-03-03 14:51:54 +01:00
Aishou bd45704c83 merge branch 'master' of https://github.com/DHrpcs3/rpcs3 into crypto 2014-03-03 14:42:21 +01:00
Alexandro Sánchez Bach 05db17b2b0 Fixed x64 compilation errors & cellFsGetFreeSize 2014-03-03 14:16:42 +01:00
Hykem 4770e5af08 Fixed AboutDialog (changed in last commit). 2014-03-03 04:59:22 +00:00
Hykem a1adc6cdaa First installment of RPCS3's custom crypto engine:
- Removed all scetool dependencies;
- Implemented a key vault to manage PS3 keys internally;
- Implemented SELF decryption;
- Improved PKG handling.

Notes:
- NPDRM SELF files (EBOOT.BIN) can also be decrypted. A valid matching RAP file must be placed under the dev_usb000 folder.
- The source code is considerably commented and several debugging functions were also added in order to aid anyone who wishes to contribute to the engine.
2014-03-03 04:48:07 +00:00
Nekotekina c064c701e2 cellAdec draft 2014-03-03 03:02:42 +04:00
Aishou 851acfdbf3 add ffmpeg to link.. 2014-03-02 13:00:57 +01:00
Aishou bea8be29d5 get ffmpeg working with cmake.. 2014-03-02 12:55:20 +01:00
Aishou 7a1d44b552 Merge https://github.com/Nekotekina/rpcs3 2014-03-02 11:57:17 +01:00
Aishou b4712c0dca Merge remote-tracking branch 'upstream/master' 2014-03-02 11:50:07 +01:00
Nekotekina c978fe377d Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-02 10:24:18 +04:00
Nekotekina 9e62b330b1 I cannot do anything 2014-03-02 03:50:47 +04:00
Alexandro Sánchez Bach 1e53c7f244 Reverted 'Unimpl.' warning on some SPU instr.
I'm sorry. I deserve punishment and torture for this.
2014-03-01 20:29:26 +01:00
Aishou e0d3f1cae6 Merge remote-tracking branch 'upstream/master' 2014-03-01 19:59:36 +01:00
Alexandro Sánchez Bach 6c28753dae Minor fixes: SPU, sys_mmapper, and cmd-line args.
* Some SPU instructions updated:
- Updated wrong instructions: SHLH, FRDS
- Added UNIMPLEMENTED warning to: HBR, HBRA, HBRR
* Updated sys_mmapper_allocate_memory declaration in SysCalls.h
* Added sceNp.cpp to project
* Added checkbox in the Settings menu for exiting RPCS3 when
sys_process_exit (SC_Process.cpp) is called. Unfortunately, due to some
problems, this checkbox doesn't have a real effect yet.
2014-03-01 19:33:40 +01:00
Alexandro Sánchez Bach 7f7ad1b661 Few functions added
* sceNpManagerGetStatus
* sys_mmapper_free_memory
* Minor changes in sys_mmapper_allocate_memory
* Changed the layout of the sys_vm functions in SysCalls.cpp
2014-03-01 19:33:39 +01:00
Alexandro Sánchez Bach cd10dca71f RPCS3 arguments, TTY to file & sceNpTrophy stuff 2014-03-01 19:33:38 +01:00
Aishou d418cceae4 fix the typo. 2014-03-01 15:32:15 +01:00
Nekotekina 4828723d5c Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-03-01 12:39:42 +04:00
Nekotekina 17fa60c31c Vpost draft 2014-03-01 12:38:50 +04:00
Aishou 377db4515a Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
Conflicts:
	Utilities/BEType.h
2014-02-28 19:55:48 +01:00
Alexandro Sánchez Bach 6a15351363 Merge pull request #88 from Bigpet/master
fix small mistakes
2014-02-28 19:39:43 +01:00
Peter Tissen dbc39bce40 fix small mistakes
fix endian mistakes, mistaken word length and preprocessor mistake
2014-02-28 19:36:19 +01:00
Nekotekina f3a3a630c3 Merge branch 'master' of https://github.com/elisha464/rpcs3 2014-02-28 13:53:46 +04:00
elisha464 1ab5bc40a0 fixed colors on scogger 2014-02-28 11:19:56 +02:00
Nekotekina dbdae77780 Some errors fixed 2014-02-27 22:25:32 +04:00
elisha464 d0300e5f43 fix alpha test 2014-02-27 19:47:08 +02:00
elisha464 5fbc190c80 fixed flipped colors on some homebrews 2014-02-26 23:24:57 +02:00
Nekotekina 8b952bf98c memcpy partially replaced
Fixed one of exit issues
2014-02-26 18:06:13 +04:00
Aishou f85420b343 small compile fixes 2014-02-26 14:24:41 +01:00
Nekotekina 8bd0ee875c Fixed conflicts 2014-02-26 15:27:06 +04:00
Nekotekina 8048c70bc8 cond/lwcond fixed 2014-02-26 14:35:30 +04:00
Nekotekina 0bd5dc5363 Demuxer improved, cellPamf improved
File reading improved
2014-02-26 11:51:00 +04:00
Alexandro Sánchez Bach 681c3c53f0 cellPad modifications
* Using be_t on cellPad structs.
* Swapped Square and Circle default keys (they were inverted).
2014-02-25 14:09:44 +01:00
Alexandro Sánchez Bach 2827db0e2a Using be_t in some cellGcm structs & minor fixes
* Using be_t in CellGcmControl, CellGcmConfig, CellGcmContextData and
CellGcmTileInfo.
* Fixed wrong names in Emu/SysCalls/Modules/sceNp.cpp
* Fixed ConLog's mount info strings in System.cpp
2014-02-24 17:03:47 +01:00
DHrpcs3 d9d80d8fb4 Merge pull request #83 from Bigpet/master
Make buildable with GCC in Linux
2014-02-24 09:14:21 +02:00
Alexandro Sánchez Bach 7379b0e2ed Minor changes: GCM command, PKG loader & SysCalls
* Fixed incorrect time displayed on NV4097_GET_REPORT.
* Fixed small bug in PKGLoader::UnpackEntry
* Moved some code in SC_Time.cpp
* Auxiliary function declarations of SC_Time.cpp in SC_Time.h
* Updated cellFsUnlink. *This won't work until ExistsFile is fully
implemented*.
2014-02-24 07:54:42 +01:00
Peter Tissen 1908286e7c make things compile under windows again, there's still some ugly ifdefs
I'd like to get rid of
2014-02-24 01:51:55 +01:00
Nekotekina a14276abf1 Work on demuxer, ffmpeg libs linked 2014-02-24 04:00:42 +04:00
Bigpet 92fb77d50e more merge fixes, I should really compile it before submitting a pull request 2014-02-23 20:40:12 +01:00
Bigpet 1be8563fdb fix small merge mistake 2014-02-23 18:21:10 +01:00
Bigpet 9a30ce5f18 Make buildable with GCC in Linux
* replace GetThreadID with std::this_thread.getId()
* name all anonymous structs and unions that contain non-trivially constructable objects
* made default constructor for big endian type noexcept to make it work with std::atomic
* move instantiated specialized template function members ouside of the class definition to comply with the standard
* added default instantiation for template parameter "=nullptr"
* used the C++11 standardized thread_local instead of the __declspec(thread)
* added transitional definitions to bridge the microsoft specific calls (compare and exchange and aligned alloc)
* removed cyclic dependency between Emulator->CPUThreadManager->CPUThread->SMutex->Emulator->...
* fixed some instances of indentation by space instead of tabs
* surrounded some unused code with an #if 0 block to make sure it doesn't compile
2014-02-23 17:52:52 +01:00
Alexandro Sánchez Bach 696e00a570 Merge refactoring branch & Krofna's pull req. #46 2014-02-23 02:39:46 +01:00
DH 81b19057bb Implemented audio Dump To File
Fixed MFOCRF, MTOCRF, MTCRF
Minor fixes
2014-02-22 14:06:23 +02:00
DHrpcs3 7c6c20ef18 Merge pull request #82 from Nekotekina/master
Event, audio, SPU fixes
2014-02-22 10:54:32 +02:00
DH 05184d2e71 Improved GameViewer
GameViewer use VFS.
Implemented be_t increment / decrement
Implemented se
Improved sys_fs syscalls.
2014-02-22 04:53:06 +02:00
Nekotekina b56df0c7f6 New functions
sys_spu_thread_bind_queue, sys_spu_thread_connect_event and SPU-side
sys_spu_thread_receive_event, sys_spu_thread_send_event
Fixed event system
Fixed SleepQueue priority alg
Audio: cellAudioGetPortTimestamp and cellAudioGetPortBlockTag
2014-02-22 04:26:50 +04:00
Bigpet 07135570f4 merge branch 2014-02-21 20:36:22 +01:00
Alexandro Sánchez Bach e7a721a1fb Merge pull request #46 from krofna 2014-02-21 17:13:57 +01:00
Alexandro Sánchez Bach 17b877e448 Minor changes in RSXTexture.h and PKG Loader
* Moved RSXTexture from RSXThread.h to RSXTexture.h
* Renamed RSXTexture::Getmipmap to RSXTexture::GetMipmap
* Used more GCM texture format constants in GLGSRender.h
* PKG Loader: Added an "Overwrite?" dialog in case the folder
dest+titleID (i.e. "/dev_hdd0/game/"+titleID) already exists. Note that
in that case, the game won't be installed regardless of the option you
choose on the dialog.
2014-02-21 14:21:08 +01:00
Alexandro Sánchez Bach 5f9e60c45f PKG Loader rewritten
* Rewritten unpkg.c -> Loader/PKG.cpp
* MainFrame::InstallPkg now *only* installs the PKG.
* Fixed crash when unpacking big debug PKG files.
* Debug PKGs are no longer recrypted.
* 'About...' dialog updated to remove PKG-related notice.
* Unpkg removed.

NOTE: The class PKGLoader is using wxWidgets functions to access the
files. I think VFS would be better, but the Emulator isn't necessarily
running when installing the PKG. In the other hand, initializing VFS
with RPCS3 may be somewhat risky... Any alternatives?

TODO: Get rid of the decrypted "*.dec" files, and try to decrypt and
read contents of the PKG on the fly using the information stored in
m_entries.
2014-02-21 02:35:33 +01:00
Nekotekina 81147506f0 Event fix, cellAudio fix 2014-02-21 00:47:22 +04:00
Nekotekina 08b4748aae cellAdec, cellVpost headers 2014-02-20 16:13:02 +04:00
Nekotekina 9351e50f63 Minor changes, some bugs fixed
cellVdec headers, cellFsAioRead review, sync stuff review, cellAdec and
cellVpost
2014-02-20 06:16:17 +04:00
DH d6fe398f79 Implemented RSXThread OutOfArgsCount notification. 2014-02-20 01:39:47 +02:00
elisha464 ab4c4c2fd2 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-02-20 00:41:32 +02:00
elisha464 45452c57c4 fixed MFOCRF 2014-02-20 00:38:47 +02:00
DH b1df7444a4 Minor fixes 2014-02-19 19:27:52 +02:00
Alexandro Sánchez Bach 83a7c83761 Moved some lines and deleted old code
* Removed Compiler ELF references from rpcs3.cpp
* Reordered the menu bar lines.
* Moved the construction of some panels of MainFrame from rpcs3.cpp to
MainFrame.cpp
2014-02-19 05:33:31 +01:00
Alexandro Sánchez Bach b85a86b225 RSX Debugger: Shader program editor
* Added checkbox in the Settings dialog for logging/editing shader
programs.
* Added "Programs" tab to the RSX Debugger. Double-click on the entries
to view/edit the shaders. Click on "Yes" after closing the editor will
recompile your program even if no changes were done.
* Replaced "Ctrl+C" shortcut for running the emulator with "Ctrl+E" to
avoid accidentally unpausing the emulator when copying text.
* Added glDetachShader to GLProcTable.tbl

NOTE: There is a known bug: For some reason, certain shaders refuse to
compile again, even if you save the original shader as the "new" one.
2014-02-19 01:41:57 +01:00
Alexandro Sánchez Bach 51613df455 Merge pull request #80 from Nekotekina/master
Sync changes, simple file output for sound
2014-02-18 20:57:32 +01:00
Nekotekina d849e083b6 Small changes 2014-02-18 22:45:51 +04:00
elisha464 7f7b12a6dd a small fix in vertexShaderDecompiler (fixes scogger loading screen) 2014-02-17 23:05:59 +02:00
Alexandro Sánchez Bach ab25edfacc Few source-code improvements
* Fixed identation inconsistency after last merge.
* Replaced uint32_t with u32 in LinearToSwizzleAddress.
* Replaced hardcoded values with defined GCM constants (in Emu/GS/GCM.h)
in some switch statements.

This commit won't produce any changes in the RPCS3 executable. It's just
to make the code easier to read.
2014-02-16 22:17:56 +01:00
Nekotekina 931929a82c Fixed conflicts 2014-02-16 21:57:36 +04:00
DH bd8ff4ca11 Fixed cellFsOpen & cellFsOpendir 2014-02-16 17:37:32 +02:00
Nekotekina 4375b9dd2a Audio port output in .wav file 2014-02-16 19:23:58 +04:00
DH 321d323beb Improved VFS
- Implemended vfsDir.
- Improved vfsDevice.
- Improved vfsFile.
2014-02-16 17:19:06 +02:00
DH 5d59dae730 Fixed RSXDebugger 2014-02-16 11:39:03 +02:00
DH a7368cc893 Merged elisha464 branch 2014-02-16 10:56:58 +02:00
DH 01f3763eb4 Small fixes 2014-02-16 10:28:32 +02:00
Alexandro Sánchez Bach 3fdb50b0ea Some sceNpTrophy syscalls and few fixes
* Restored deleted functions in FuncList.cpp
* Fixed bugs in TRPLoader.
* Implemented some sceNpTrophy syscalls.
* Added sceNp headers (required for sceNpTrophy).
* Updated .gitignore to ignore trophies.

NOTE: Thanks to the new sceNpTrophy syscalls, RPCS3 can install the
trophy contents in dev_hdd0/home/00000001/trophy/. Remember this is
still on an experimental stage.
2014-02-16 02:51:04 +01:00
Nekotekina 848c5dadf0 Fixed some problems 2014-02-16 01:16:35 +04:00
Peter Tissen bdc8eba3bb Add cache support
also added tentative blocksize and sys_game_procexit support

added final cache support and improved the process chainloading error messages

don't ignore cache directory in the .gitignore

add warning for clearing cache
2014-02-15 01:51:59 +01:00
Alexandro Sánchez Bach deaedcb6fa TRP Loader and undo few cellGame changes 2014-02-15 01:06:12 +01:00
Alexandro Sánchez Bach f2a3db0bd8 Merge pull request #76 from Bigpet/master
Fix stepping a little better than last time
2014-02-14 21:09:24 +01:00
Nekotekina e066bcf261 Small cellAudio update 2014-02-15 00:08:02 +04:00
Peter Tissen f179bd4cd7 fix stepping a little better than last time 2014-02-14 20:50:02 +01:00
Alexandro Sánchez Bach e03d274071 Merge pull request #75 from Bigpet/master
Undo thread behavior changes and add html subproject to dependencies.
2014-02-14 18:17:04 +01:00
Peter Tissen 8bf8c7e6e9 undo thread behavior changes and add html subproject to dependencies. 2014-02-14 18:14:14 +01:00
Nekotekina e94ea409fe sys_lwcond, sys_mutex, sys_cond rewritten
Some bugs fixed
2014-02-14 15:40:41 +04:00
Alexandro Sánchez Bach 82e0bbebdb Fixed few warnings and typos 2014-02-14 01:30:15 +01:00
Peter Tissen 6fbd4d3daf Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-02-14 00:10:58 +01:00
Peter Tissen 11ba83738f make stepping work again, it's impossible to use it without these changes 2014-02-14 00:08:32 +01:00
Alexandro Sánchez Bach eb93e87b7f Logging CheckBox, cellGame stuff and other fixes
* cellGameContentPermit and cellGameBootCheck updated.
* Checkbox in the Settings dialog, for enabling logging.
* Fixed GUI issue in the InterpreterDisAsmFrame.
* Fixed -dirty flag in wxWidgets submodule.
2014-02-13 20:05:23 +01:00
Nekotekina 5a240c32a9 log fixes (to wx_str()) 2014-02-13 20:59:13 +04:00
Alexandro Sánchez Bach 373d189edb Merge pull request #70 from Nekotekina/rpcs3
and conflicts fixed.
2014-02-13 12:13:05 +01:00
Alexandro Sánchez Bach 5953781c13 Few bugs fixed and license file added
* Fixed GUI issues caused by the update to wxWidgets 3.
* Fixed small bug in SC_TTY (thanks Nukem9!)
* Added GPL v2 license file.
2014-02-13 11:33:07 +01:00
Peter Tissen d3f4b086c6 add the x64 library directory correctly 2014-02-12 21:57:37 +01:00
Peter Tissen de95ac3adb remove the outdated gl.lib reference, if this causes new linker issues we need to add the right name to the vcxproj instead 2014-02-12 21:46:23 +01:00
Alexandro Sánchez Bach e9b3c4b5f6 Merge pull request #66 from Bigpet/wxWidget3Port
wxWidgets3 port
2014-02-12 19:54:41 +01:00
Alexandro Sánchez Bach 8adf19c904 Few module functions added
Implemented:
* cellSysutilApGetRequiredMemSize
* cellGameContentErrorDialog

Binded lv2 SysCall 814 to cellFsUnlink
2014-02-11 03:47:25 +01:00
Peter Tissen b05e466e8f clean up more output conversions, everything that wants to get printed needs to be explicitly convertex to the wxCharType otherwise the VFormat prints nothing 2014-02-10 19:51:03 +01:00
Peter Tissen 427a63f324 remove commented out code 2014-02-10 17:16:35 +01:00
Peter Tissen 7423997b42 convert Dbg console packets uniformly to char* 2014-02-10 17:13:38 +01:00
Peter Tissen b9c3dc352d use .wx_str() instead of .mb_str(), Dbg console is still broken 2014-02-10 13:53:09 +01:00
Peter Tissen fdcdd7769f use the unicode version of the regex lib, don't know why the releas config links against it while debug doesn't 2014-02-10 11:19:48 +01:00
Peter Tissen bf26e069b8 use relative paths again to include the wxWidgets stuff 2014-02-10 03:00:02 +01:00
Peter Tissen 3f52a6aa50 prevent overflow becaus wxStrings aren't \0 terminated anymore 2014-02-10 02:43:24 +01:00
Peter Tissen b9abb1e075 merging vfs changes because I need to fix wxstring reads 2014-02-10 02:23:40 +01:00
Peter Tissen 59dcbd3ba3 make it compilable, don't merge this, string logs are broken and paths absolute to my machine 2014-02-10 02:13:13 +01:00
Alexandro Sánchez Bach 4d98826259 Directory-related functions implemented
* cellFsOpendir, cellFsReaddir, cellFsClosedir functions implemented.
* vfsDirBase: m_entryes, GetEntryes renamed to m_entries, GetEntries
respectively.
* vfsLocalDir: Read() function added to get the entries one by one.
* Moved IsExists() from vfsLocalDir to vfsDirBase to avoid "R6025 pure
virtual function call" error.
* Other minor changes in some functions of sys_fs
2014-02-09 22:53:48 +01:00
Alexandro Sánchez Bach 4ebd974f5e Merge pull request #64 from Nekotekina/master
Last changes
2014-02-09 14:50:35 +01:00
Nekotekina 3308fefa7f Small changes
lwmutex completely implemented
2014-02-09 15:11:48 +04:00
Alexandro Sánchez Bach 66a9acfb04 cellFont rendering functions
-Now, all the games using rendering text using
cellFontRenderCharGlyphImage and all the related functions should work,
or at least don't crash.

-There are still issues with the character position on surface, and in
some cases, it renders the text with a different font than the one the
game specified. A lot of cellFont stuff is still missing or may be not
properly implemented.

-For games using system-embedded fontsets you have to find a *legal* way
to copy the .TTF files from your PS3 into dev_flash/data/font.
2014-02-09 12:07:50 +01:00
Nekotekina ed40732e7b Reservation review
Minor changes
SC_Event_flag.cpp module detached
2014-02-08 01:55:25 +04:00
Nekotekina 6c606be09f Reservation implemented
Some SPU bugs fixed;
sys_spu_thread_get_exit_status
sys_spu_thread_group_destroy
2014-02-07 02:55:48 +04:00
O1L 74426fd4e9 Minor changes 2014-02-06 22:34:05 +04:00
O1L e0737204fd Use _ftelli64 and _fseeki64 instead ftell and fseek in unpkg, required to unpacking big files (> 4 Gb). Deleted wxMoveDir() (not needed now :P ) and added simple progress bars in unpkg. 2014-02-06 20:58:42 +04:00
Nekotekina cfe154d916 Small changes, some bugs fixed 2014-02-05 15:55:32 +04:00
Nekotekina aeca523a34 Small changes 2014-02-04 00:23:05 +04:00
Nekotekina 311486ed79 Fixed thread issues
Fixed args passing
Fixed thread stopping/pausing (temporarily)
Fixed problems with SC_Condition and SC_Mutex (partially)
2014-02-03 17:12:25 +04:00
Nekotekina a0c8e116df Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-02-03 01:20:48 +04:00
DH 8ba8d35541 Fixed compilation errors. 2014-02-02 22:47:17 +02:00
Nekotekina 7fce5589f8 Memory alignment fix
Some mutexes added, _sys_heap_memalign implemented
2014-02-02 23:49:10 +04:00
DH beb19633e9 Implemented vfsLocalDir & vfsDirBase.
Improved ThreadBase.
Minor fixes.
2014-02-02 21:42:32 +02:00
Nekotekina 15dd0bb0f2 Oops 2014-02-01 14:19:15 +04:00
Nekotekina b602260314 Some typos fixed (thanks to Nukem9)
cellSysutilCheckCallback() modified, some warnings converted
2014-02-01 14:17:15 +04:00
elisha464 9526ff37b9 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-02-01 00:16:43 +02:00
Nekotekina 9919154d66 Afterfix 2014-02-01 02:07:37 +04:00
elisha464 985b27daab Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-02-01 00:02:10 +02:00
Nekotekina 6553909dc5 Fixed conflicts 2014-02-01 01:56:44 +04:00
Nekotekina 67601bd639 Small changes 2014-02-01 01:35:48 +04:00
DH d93ce95a36 Small fixes 2014-01-31 22:54:26 +02:00
elisha464 678e455b4f fixed fragment decompiler
when adding a const, I added a check to see if it already exists
2014-01-31 22:44:35 +02:00
DH 4b8d6b6919 Improved ThreadBase.
Improved Vertex Shader Decompiler.
2014-01-31 20:40:18 +02:00
Nekotekina 432c6cf206 Small changes
SC_FUNC changes (done by DH)
PPUInterpreter changes (copied from main, done by elisha464)
Log() using fixed
2014-01-31 16:46:49 +04:00
Nekotekina 6efe751d4c Bugs fixed, lwcond implementation
Modules: mutex added
2014-01-31 03:40:05 +04:00
Nekotekina 67a144df2a SC_Rwlock implementation, SC_Lwcond draft
Other small changes
2014-01-30 00:31:09 +04:00
elisha464 7e591deaf3 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-01-28 20:02:20 +02:00
elisha464 3209b2f5f3 fixed VPREM and VSLDOI 2014-01-28 20:01:44 +02:00
elisha464 057efb48fa fix problem where there was black quads instead of text in fw samples 2014-01-26 23:08:09 +02:00
elisha464 543ed01642 delete m_main_mem_addr 2014-01-26 23:07:14 +02:00
Nekotekina 4de64e5afe FDs fix 2014-01-26 02:53:02 +04:00
Nekotekina 88208f5e01 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-01-26 00:42:53 +04:00
elisha464 824fd46062 forgot some stuff :P 2014-01-24 02:26:08 +02:00
elisha464 8e9dcd279a changed everything to use the new IO address space 2014-01-24 01:22:56 +02:00
Nekotekina fc3f5348b8 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-01-24 00:38:29 +04:00
elisha464 4ee90e1f90 changed warning of cellGcmAddressToOffset to Log 2014-01-23 21:38:26 +02:00
elisha464 8a3835bcef fix thread exit crash 2014-01-23 21:37:59 +02:00
Nekotekina d16dbedaa1 Fixed conflicts 2014-01-23 22:45:40 +04:00
Nekotekina 93faac5780 Small changes 2014-01-23 22:40:49 +04:00
elisha464 64bfae6648 fix stop when trying to run two games in a row 2014-01-23 19:03:43 +02:00
elisha464 ec942f2657 fixed getId and create thread (the id was written using write32 instead of write64) 2014-01-22 21:53:11 +02:00
elisha464 f260d1c602 fix cellGcmMapMainMemory 2014-01-22 20:04:11 +02:00
elisha464 14c7c63e34 small fix 2014-01-21 22:23:28 +02:00
elisha464 7920f6d473 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
Conflicts:
	rpcs3/Emu/SysCalls/Modules/cellGcmSys.cpp
2014-01-21 21:19:07 +02:00
elisha464 9b9e621593 finished all memory mapping functions of libgcm 2014-01-21 21:10:44 +02:00
elisha464 8514a14cf4 small change to unmapping functions 2014-01-21 20:29:16 +02:00
elisha464 6504ddede4 fixed some memory mapping functions 2014-01-21 20:08:33 +02:00
elisha464 66a481d4bc Implement reserved memory in virtual memory block 2014-01-21 19:55:48 +02:00
Nekotekina 5f9bc13898 Some bugs fixed 2014-01-21 03:34:16 +04:00
Nekotekina 6fb1a67a83 SC_Lwmutex 2014-01-20 01:19:37 +04:00
DH dc2fd8c39e Improved vfsDevice.
Minor fixes.
2014-01-19 18:05:27 +02:00
Nekotekina d65647acf3 cellPamf update, cellDmux draft 2014-01-19 14:52:30 +04:00
DH ab41540064 Improved ID manager.
Improved MemoryBlock.
2014-01-19 05:14:11 +02:00
elisha464 4e4dd43646 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-01-18 23:36:42 +02:00
elisha464 48726e8fed More memory mapping functions for libgcm 2014-01-18 23:36:22 +02:00
Nekotekina 9e06aeff33 cellPamf update 2014-01-18 03:45:07 +04:00
elisha464 509d46a544 Added Virtual Memory Block for the IO Address Space
Started implementing some the memory mapping functions of libgcm
2014-01-17 18:56:03 +02:00
Nekotekina e41f21abc7 Simple analog stick support (from KB)
Left stick: arrows; right stick: PgDn/PgUp (vertical) and Home/End
(horizontal)
Added L10n functions' list (copied from old distr)
Fixed "LoadShdr64 error: shstrndx too big" in ELF64 loader
Other minor changes
2014-01-14 23:03:48 +04:00
Nekotekina 970b834f2e CellSync review (mutexes, SPU).
File descriptors temporarily detached from ID manager.
Some logs disabled.
2014-01-12 14:27:59 +04:00
Nekotekina 4e8cd72e59 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-01-12 13:35:10 +04:00
Alexandro Sánchez Bach 2506810a2e cellAudio updated
cellAudio:
* Change endianness of datatypes.
* Fixed port handling.
* Uninitialize module when restarting.
* Minor syntax fixes.
2014-01-10 22:06:22 +01:00
Nekotekina 1be7454bc4 Fixed errors, improvements
cellSync review, MFC channel AtomicStat added, draft implementation of
MFC_GETLLAR_CMD, MFC_PUTLLC_CMD etc, memory allocating hacks for
alignment.
2014-01-10 05:30:59 +04:00
DH 76695a97b9 Implemented mem_func_ptr_t.
Improved cellFsAioRead.
Fixed cellAudioOut* return error codes.
2014-01-08 23:16:13 +02:00
Nekotekina 775bf8b340 Fixed conflicts 2014-01-08 00:49:40 +04:00
Nekotekina f4952bee18 Small fixes 2014-01-08 00:27:34 +04:00
DH 7971db665e Improved Vertex Shader Decompiler.
Fixed VFS Manager crash.
Fixed SPU image loader.
Draft implementation of cellFsAioRead.
Improved Callbacks.
2014-01-07 22:11:02 +02:00
DH cbeadcf872 Improved RSX Debugger
- Fixed crash in debug build.
 - Implemented texture selection.
2014-01-07 09:30:41 +02:00
Nekotekina db8f01717c cellPamf improvements 2014-01-06 20:16:11 +04:00
Nekotekina 5f8d36600c cellPamf partial research and implementation 2014-01-06 05:50:56 +04:00
Nekotekina 2d011e94cd Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-01-05 03:58:19 +04:00
Nekotekina 5f06f46f32 Minor improvements
cellFsAioRead partially implemented, cellPadInfoPressMode &
cellPadInfoSensorMode stubs
2014-01-05 03:58:03 +04:00
Alexandro Sánchez Bach aa9b0d0a31 RSX Debugger, Mem. Viewer and module improvements
* Small cleanup in cellJpgDec and cellPngDec.
* cellPamf added to the project and a few test lines added to
cellPamfGetHeaderSize(2).
* Improved speed of the Raw Image Preview on the the Memory Viewer.
* Now you can click on the shown buffers / textures in the RSX Debugger
in order to see them in full size. More settings added to the tabs.
* Fixed cellFsStat in order to fix the crash aused by opening
directiories. The solution is really *really* ugly. Once vfsDir is
ready, I will replace it with something better.
2014-01-05 00:45:44 +01:00
Nekotekina 64b18b4dc2 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2014-01-02 18:56:53 +04:00
Alexandro Sánchez Bach 1a43fe5ceb RSX Debugger & cellFont improved
RSX Debugger:
*Better way to add name:value pairs to the tabs.
*Added some entries in the Settings/Texture/Lightning tabs.
*Experimental DisAsm.
*Support for previewing RGB textures (buggy!).
*Minor cleanups and improvements

cellFont:
*Added cellFontOpenFontMemory, cellFontOpenFontFile,
cellFontOpenFontset. They still need some modifications (e.g. bind these
functions to stblib/stb_truetype.h).
2014-01-02 02:13:08 +01:00
Nekotekina 906f448221 Fixed conflicts 2013-12-31 15:16:05 +04:00
Nekotekina 552fd355bc New functions
Added cellSync module, implemented sys_spu_thread_group_join,
sys_spu_thread_group_suspend, added /dev_bdvd/ device, fixed default
values of analog sticks.
2013-12-31 15:10:24 +04:00
Alexandro Sánchez Bach d1a27748a3 Experimental RSX Debugger & minor changes
RSX Debugger:
Currently, it can preview the color buffers while the RSX Thread is
running, view and modify the render flags, and act as a memory viewer in
the RSX command buffers (no disasm yet). You can press F5, to update the
information (buffers, memory, flags, etc.) of the frame. There are *a
lot* of TODO's here that will be done in the future.

Minor changes:
*Added /dev_flash/ to VFS (required for cellFont in the future).
*cellMsgDialogOpenErrorCode implemented using wxMessageBox. The
information for each error code comes from PSDevWiki. There are lots
error codes missing.
*Updated sys_memory_get_page_attribute

Happy new year to everyone! :-)
2013-12-30 23:59:39 +01:00
Osvaldo Costa 7277940b84 Halfplement syscall 351 (sys_memory_get_page_attribute) 2013-12-30 16:34:39 -03:00
Osvaldo Costa 9a1e22fb85 Halfplement syscall 351 (sys_memory_get_page_attribute) 2013-12-29 18:18:51 -03:00
O1L 429041097b Update missed file 2013-12-28 14:05:44 +04:00
Hykem e807ae1a58 Merge pull request #37 from O1L/master
cellSysutil audio functions, configurable controls and other minor changes
2013-12-27 13:51:14 -08:00
Hykem f477b62813 Merge pull request #36 from Nekotekina/master
SPU Improvements
2013-12-27 13:50:55 -08:00
Hykem 69be408b32 Merge pull request #34 from osvcos/master
Relocate sys_process_is_stack to sysPrxForUser.cpp
2013-12-27 13:50:25 -08:00
Nekotekina ca13d4f2ef SPU
LQX Hack removed, Critical Section for m_status removed.
2013-12-27 15:35:08 +04:00
O1L 286254a10a Implemented some cellSysutil audio functions, added configurable controls (draft/ugly implementation), and minor changes in cellAudio and ConLog 2013-12-27 14:55:11 +04:00
Nekotekina 1ab5ef9dd7 SPU
Implemented sys_raw_spu_load, sys_raw_spu_image_load. Minor review of
MFC, channels.
2013-12-25 21:28:10 +04:00
Nekotekina 35257f5e94 SPU Improvements
Implemented sys_spu_image_import, original Mandelbrot PKG should work
now.
2013-12-24 21:34:51 +04:00
Nekotekina 3a82ed5dc9 Fixed x86 build
Fixed crashes
2013-12-24 15:10:55 +04:00
Nekotekina ab2bc35b18 Fixed conflicts
(merge branch)
2013-12-24 12:42:03 +04:00
DH eb2ab73e16 Implemented LWZUX, LWAX, LWAUX, LHA, LHAU, LWA, STWBRX, STHBRX. 2013-12-24 07:25:15 +02:00
DH 456374d487 Added missed files. 2013-12-24 06:02:21 +02:00
DH b500fcbaed Fixed ELF64 loader.
Fixed cellPadGetInfo.
Fixed cellFsOpen path encoding.
Draft implementation of cellAudioGetPortConfig.
Implemented STBUX, STHUX, STWUX.
Improved Boot (S)ELF / Install PKG UI.
2013-12-24 05:58:32 +02:00
Nekotekina ba8108d595 SPU Fixes
Mandelbrot set does work now and its modified version included in
TEST12345 folder.
2013-12-23 15:57:09 +04:00
Nekotekina 37b5b49f58 Fast fix
Previous commit was wrong
2013-12-22 22:16:57 +04:00
Nekotekina c9abf559be SPU Improvements
Implemented SNR channels and syscalls, fixed sys_spu_thread_initialize
(args' passing, SPU image copying for each thread)
2013-12-22 21:40:50 +04:00
Nekotekina e28ba30561 Notification of NI flag change
Probably useless.
2013-12-19 02:30:06 +04:00
Nekotekina c3d2cd344f Win32 fix & elf loading fix
Fixed compilation error for x86 version. Fixed issue with ELF loading.
2013-12-15 01:59:37 +04:00
Nekotekina 01a274a1db Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-12-14 04:17:02 +04:00
Nekotekina eed6a7ffe3 STBUX implemented
Missed PPU opcode + replaced some non-unicode non-ASCII characters in
PPPInstrTable.h
2013-12-14 04:15:20 +04:00
Nekotekina ee137323aa MBox, some improvements
Some changes reverted (warnings), multi-thread safety fixed, MBox MMIO
modified
2013-12-13 05:35:28 +04:00
Osvaldo Costa 2c1cb51843 Relocate sys_process_is_stack to sysPrxForUser.cpp 2013-12-11 19:26:36 -03:00
Osvaldo Costa bc3772614b Relocate sys_process_is_stack to sysPrxForUser.cpp 2013-12-11 19:13:28 -03:00
Nekotekina c9fc99c388 Basic DMA, MFC, channel changes
Added new consts, thread-safe locks for critical resources, removed some
warnings. Modified git-version.h
2013-12-11 02:58:11 +04:00
Alexandro Sánchez Bach e2de06da63 Fixed conflicts 2013-12-09 18:07:13 +01:00
Alexandro Sánchez Bach 849af30bfd First cellFont functions & minor changes
* Edited .gitignore
* Moved some functions to cellFontFT.
* Now cellFont initializes correctly, but it doesn't render anything
yet. There are still several things to change and functions to
implement. I will take care of it.
2013-12-09 17:56:04 +01:00
Nekotekina bba9ea830f Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-12-08 21:46:14 +04:00
Nekotekina e8d2245a0b Revert "SPU Improvement"
This reverts commit 9bf8f2eec5.
2013-12-08 21:44:52 +04:00
DH bf03874be2 Refresh Game Viewer after Install PKG 2013-12-08 19:06:20 +02:00
DH 23539f13b5 Improved Boot UI.
Added dev_usb000.
Fixed Game Viewer.
Minor fixes.
2013-12-08 18:54:45 +02:00
Nekotekina 78ca7e1d44 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-12-08 18:04:12 +04:00
Nekotekina 34ac4688e6 MFC
Minor changes
2013-12-08 18:03:51 +04:00
DH eaef09df91 Improved PSF loader.
Improved Game Viewer.
Implemented cellPadGetInfo.
Minor improvements.
2013-12-08 15:47:54 +02:00
Nekotekina 2135fb9685 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-12-08 05:00:53 +04:00
DH 34f5997f82 Improved OpenGL renderer.
- Rotate color buffer.
2013-12-08 02:42:59 +02:00
DH 76a93443c3 Improved OpenGL renderer
- Implemented color buffer reading.
2013-12-08 02:09:16 +02:00
Nekotekina 430ded8259 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-12-08 03:13:03 +04:00
Nekotekina 9bf8f2eec5 SPU Improvement
Some instructions implemented with SSE intrinsics
2013-12-08 03:12:37 +04:00
DH bba1b6a6e0 SPU improvements
- Implemented more SPU Channels.
- Improved interpreter.
Minor improvements.
2013-12-08 00:52:41 +02:00
Hykem a9a246a866 General improvements:
- Added drafts for event flag emulation;
- Implemented memory locking/unlocking;
- Refactored common SC_Memory objects;
- Implemented VM (virtual memory) syscalls;
- Improved cellGameBootCheck;
- Added more dummy values to cellVideoOutGetDeviceInfo;
- Mapped functions sys_mmapper_allocate_memory and sys_mmapper_map_memory to sysPrxForUser;
- Mapped syscalls 341 and 342 (duplicates of 324 and 325) to sys_memory_container_create and sys_memory_container_destroy;

Improved PKG installation routine:
- Allow immediate game booting;
- Fixed and improved game folder path handling.
2013-12-07 20:56:42 +00:00
Nekotekina 241ae83645 SPU Improvement
Implemented CFLTS, CFLTU, CSFLT and CUFLT. Finally fixed FREST.
2013-12-04 00:35:45 +04:00
Nekotekina 73c2628ef4 SPU Fixes 3.2 2013-12-02 22:49:06 +04:00
Nekotekina 38fabf7cd2 SPU Fixes 3.1
Small fixes
2013-12-02 14:40:58 +04:00
Nekotekina 1cfcc742d8 SPU Fixes 3
Almost all implemented instructions are fixed. Partialy tested. Some
instructions are still unimplemented.
2013-12-01 21:30:40 +04:00
Nekotekina ae39d3802f SPU Fixes 2
It's almost finished
2013-12-01 04:36:55 +04:00
Nekotekina b217742c7b Merge fix 2013-11-30 03:50:43 +04:00
Nekotekina f0946c4bc8 Merge branch 'master' of https://github.com/Nekotekina/rpcs3 2013-11-30 03:40:50 +04:00
Nekotekina 384e20acf0 SPU fixes
Partially tested and fixed
2013-11-30 03:40:31 +04:00
Nekotekina c48168ffc7 SPU ELF loading
I'm not sure that it's correct way to get entry point
2013-11-29 19:27:10 +04:00
Nekotekina 65c920bc8d Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-11-29 18:46:57 +04:00
Alexandro Sánchez Bach 5ce57e963f New functions & Minor changes
* cellGameBootCheck, cellSysutilGetSystemParamString partially
implemented.
* Improved debug SELF loader (I applied DH's changes over another part
of code that Hykem wrote).
* Added checkbox in the Config>Settings menu to ignore Read/Write errors
(disabled by default).
* Minor issues.
2013-11-29 05:56:26 +01:00
Nekotekina a32fe40275 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-11-28 18:37:33 +04:00
DH 28a5d1bcab Fixed conflicts. 2013-11-28 14:27:04 +02:00
Nekotekina 794cd4cf89 cellGcmSetUserHandler (empty), SPU.SF syntax
Test commit
2013-11-28 02:15:45 +04:00
Sacha 6bcaf469e8 First stage of WX dependency removal. 2013-11-28 05:16:19 +10:00
Sacha d83a9b12d6 Introduce a Qt UI for RPCS3 2013-11-27 16:37:46 +10:00
DH 4fbfc14763 Improved Debug SELF loader 2013-11-26 07:04:39 +02:00
DH 9ce30fdd74 Improved OpenGL renderer & RAW SPU
- Improved Fragment Shader Decompiler.
- Fixed NV308A_COLOR cmd.
- Fixed break points for RAW SPU Thread.
- Added cellMsgDialogOpen2 to cellSysutil module.
2013-11-26 06:34:19 +02:00
Hykem 97d65e5563 Missing changes from last commit. 2013-11-26 00:28:08 +00:00
Hykem 03d2525ccc Implemented syscall 114.
Implemented manual unfself routine for debug (homebrew) packages.
2013-11-26 00:23:25 +00:00
DHrpcs3 a852baee5b Merge pull request #25 from FGRE/master
Fix linking
2013-11-25 09:57:22 -08:00
O1L 206cc6ac91 Added libfont module. Set Renderer to OpenGL, Aspect Ratio to 16:9 and Pad Handler to Windows by default. Partially implemented cellGcmSetDebugOutputLevel and cellGcmSetSecondVFrequency functions. Added 'host_root' path to VFS Manager. 2013-11-25 15:49:55 +04:00
Mislav Blažević 9a8cf34f44 Fix linking 2013-11-24 10:23:04 +01:00
Alexandro Sánchez Bach f43a324937 New GCM commands implemented
- NV4097_SET_DEPTH_BOUNDS_MIN
- NV4097_SET_POLY_OFFSET_FILL_ENABLE
- NV4097_SET_POLY_OFFSET_LINE_ENABLE
- NV4097_SET_POLY_OFFSET_POINT_ENABLE
- NV4097_SET_RESTART_INDEX_ENABLE
- NV4097_SET_RESTART_INDEX
2013-11-24 01:47:17 +01:00
DH c7ca4b996a Fixed compilation errors
Minor improvements
2013-11-24 02:01:57 +02:00
Mislav Blažević 2926d3805c Cleanup OpenGL hacks 2013-11-23 23:31:05 +01:00
Mislav Blažević d8bd34b57e Start porting to GNU compiler 2013-11-23 23:27:58 +01:00
DH f91bd80bc2 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-11-23 20:51:32 +02:00
DH da9c778a4c Improved RAW SPU
Fixed sc binder_func_10
2013-11-23 20:50:54 +02:00
Alexandro Sánchez Bach 268a654fec Implemented Raw Image Preview tool 2013-11-23 18:56:03 +01:00
DH 8463694d4f - Improved call stack. 2013-11-23 17:20:31 +02:00
DH cbe4ab253c Improved Memory Viewer 2013-11-23 07:38:19 +02:00
Alexandro Sánchez Bach 5e1a958ee6 New debugging features, cellGame & minor changes
Two cellGame functions partially implemented:
- cellGameGetParamInt
- cellGameGetParamString

New debugging features:
- Call Stack viewer added
- Memory Viewer rewritten (Not finished yet)

Modified definition of UNIMPLEMENTED_FUNC to improve compatibility with
other compilers: Thanks @krofna

Replaced the "Compiler" menu entry with "Tools" and "Memory Viewer"
entry added.

NOTE: To "quickly" browse the memory using the Memory Viewer you can use
the scrollbar. Notice the irony of the word 'quickly' since the memory
viewer is actually slow as fuck. I will fix that soon. As you can see,
I'd like to add a Raw image viewer in the future in order to "see"
textures directly from memory.
2013-11-23 05:47:19 +01:00
DH 62c1980cac Improved PPU Interpreter
- Fixed MULHW & MULHWU.
- Improved MULHD & MULHDU.
2013-11-23 04:55:26 +02:00
DH aab69513aa Fixed SLD.
Thanks to elisha464.
2013-11-22 17:15:04 +02:00
DHrpcs3 ead70f5c00 Merge pull request #19 from osvcos/master
Change the GUI a little bit
2013-11-19 13:20:29 -08:00
DH 9d5b13839b - Fixed OpenGL renderer LoadVertexArray & DrawArray.
- Improved SPU SCs.
- Renamed mem_ptr_t -> mem_list_ptr_t, mem_struct_ptr_t -> mem_ptr_t.
2013-11-19 23:10:23 +02:00
Osvaldo Costa 19fea00432 Change the GUI a little bit
Removed the launch of the ELF Compiler window at startup. Instead of it,
I added a menubar item called "Compiler", and within it a menu item
called "ELF Compiler", wich will launch the window.
2013-11-17 23:10:59 -03:00
DH 5373747210 - Improved sc function binder.
- Improved Module binder.
- Added Dump Depth Buffer & Dump Color Buffers options (values can be changed on the fly).
2013-11-16 23:12:30 +02:00
DH baea02901b - Implemented cellRescResetFlipStatus & cellRescGetFlipStatus.
- Renamed gs homebrews.
- Updated AboutDialog.
2013-11-16 03:44:08 +02:00
Alexandro Sánchez Bach 382ae8a78f Improved cellResc module
* cellResc module improved

* Many changes in this commit are from [DH]: The implementation of
cellRescSetConvertAndFlip, cellRescSetWaitFlip and cellRescSetSrc as
well as all the other changes that are not in cellResc module.

* Fixed another conflict from O1L/rpcs3 (master): Deleted
"cellPhotoUtility" (which already exists in cellPhotoExport)
Now all the conflicts are solved. :-)

NOTE: We should search for a better name for 's_rescInternalInstance'.
This one is just too long and some lines don't even fit in my screen
because of this.
2013-11-16 01:38:22 +01:00
Alexandro Sánchez Bach 2a5f353e1e Fixed remaining conflicts
Fixed remaining conflicts from O1L/rpcs3 (master):
* Removed cellPhotoDecodeUtil.cpp, cellPhotoImportUtil.cpp and
cellScreenShotUtility.cpp which are already present.
* Updated cellSaveData.cpp to fix the conflicts.
2013-11-14 12:54:37 +01:00
O1L b1caa5f9c4 Fixed errors from previous commit. Sorry. 2013-11-13 23:43:44 +04:00
O1L 6d56f1ae86 Implemented PKG Installer, improved Boot game. 2013-11-13 22:35:25 +04:00
O1L 584d4eb9d4 Updated 2013-11-13 22:24:24 +04:00
DH 3dd9683b47 Fixed clear mask. 2013-11-09 23:49:01 +02:00
DH 842559804f Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-11-09 23:30:41 +02:00
DH 521244b0e0 Improved GS Renderer. 2013-11-09 23:29:49 +02:00
Alexandro Sánchez Bach a55f76879e Merge pull request #16 from Magn3s1um/master
Floating-Point Status and Control Register (FPSCR) and code fixes
2013-11-09 08:07:17 -08:00
Magn3s1um 63482dcfdc -Fixed MPYU and special registers based on comments 2013-11-09 07:51:26 -08:00
Magn3s1um 1192d20295 -Partial Implementation of Floating-Point Status and Control Register (FPSCR) 2013-11-09 07:41:56 -08:00
DH 6ea2c7d6a8 - Fixed memory leaks in cellRtc module.
- Fixed CPUThread crash.
- Improved ARMv7 Interpreter.
2013-11-09 14:25:12 +02:00
Alexandro Sánchez Bach 3b15f35432 Merge pull request #15 from Hykem/master
Fix for OpenGL error and implementation of cellRtc
2013-11-08 18:55:34 -08:00
Alexandro Sánchez Bach 620b8d0369 Fixed errors of last commit
I forgot to modify one line of code that broke the entire solution. Now
this is fixed. I also disabled the logging of sys_timer_usleep calls.
2013-11-09 03:48:43 +01:00
Hykem 3076571b6f Fixed OpenGL error 0x0502.
Implemented cellRtc module.

Added module name list in cellSysmodule to aid debugging.
2013-11-09 01:27:37 +00:00
Magn3s1um 3c762750a0 -Added SPR registers
-Implemented MTSPR
2013-11-08 17:17:44 -08:00
Alexandro Sánchez Bach 60261408c2 Merge branch 'master' of https://github.com/AlexAltea/rpcs3
NOTE: I included some changes of the forks of O1L and Dante38490 to my
fork. However, a conflict appeared while merging their sources with the
ones of DH. I had to resolve this conflict manually and push all the
changes like a new commit, that's why there changes weren't recorded
individually and (probably) won't appear at in the commits list. I am
very sorry for this, I'll try to avoid this in the future.

In order to preserve the authors of those commits, I write this list
here:
O1L: Dummy Modules (cellAudio, cellSaveData, and more)

23ece01a0b

784fc571b3

Dante38490: Spotted and fixed an issue in git-version-gen.cmd

44e8867125

Regarding my changes:
* New lv2 SysCalls implemented (and others improved)
* SDATA unpacker implemented
* Changed layout of sc_table
2013-11-09 02:05:58 +01:00
DH 099333c992 - Implemented some ARMv7 instructions. 2013-11-06 03:01:15 +02:00
DH f18fff08c7 - Fixed compilation errors. 2013-11-05 22:04:55 +02:00
DH b263c3ebaf - Renamed ARM9 to ARMv7.
- Improved ELF32 loader.
2013-11-05 21:22:58 +02:00
DH 6b22e7d90a - Implemented ARM9Interpreter & ARM9DisAsm.
- Implemented MemoryBlockLE & DynamicMemoryBlockLE.
- Implemented CPUDecoder.
2013-11-05 20:12:18 +02:00
DH 0b35be32a4 - Implemented ARM9Thread.
- Improved OpenGL Renderer.
- Improved RAW SPU mfc.
2013-11-03 21:23:16 +02:00
Hykem 198d0a2fc0 Added ELF32 little endian support for PSP ELF files. 2013-10-28 21:58:03 +00:00
Alexandro Sánchez Bach f1b420eb3b SELF decrypter improves & About... dialog added
SELF decrypter improved:
The files 'scetool.exe' and 'zlib1.dll' are no longer needed. Everything
needed is now included in the rpsc3 project. So the only thing you need
in order to load SELF files are the keys. More information about this
matter in my last commit: c1565e55

Warning for devs! There is a lot of spaghetti code in /scetool/. I
fucked up things a bit while trying to include scetool in rpcs3. There
is a lot of unused code there and I need to make sure that everything is
working properly. In any case, the code seems to work stable so
end-users shouldn't be worried about this warning. ;-)

'About...' dialog added:
Well, I have nothing more to say here. I wish you all a nice day!
2013-10-21 23:02:43 +02:00
Alexandro Sánchez Bach c1565e55e5 Experimental SELF decryption support
This SELF decryption feature is not portable and its code looks really
ugly. It is experimental and is meant to save time to developers when
doing tests with SELF files. Besides that, it works (under Windows). :-)

How to use it:
1. Place "scetool.exe" (and "zlib1.dll") into the main rpcs3 folder.

2. Obtain a LEGAL copy of the SELF decryption keys and place them in a
folder named "data" next to the main executable in a format that is
readable for "scetool.exe". That is, following files should be present:
data/keys
data/ldr_curves
data/vsh_curves

(See screenshot in the comments)

NOTE: These are the steps to enable SELF decryption and it applies to
future commits regarding this matter. We do NOT take any responsibility
about the way you obtain the keys or (until we include SELF decryption
into our code) the actions "scetool.exe" (or "zlib1.dll") perform.
2013-10-14 21:40:44 +02:00
DH 5874a5683e Fixed small error. 2013-10-06 18:41:19 +03:00
DH 64cd9746b8 Fixed minor Debugger errors. 2013-10-06 18:05:58 +03:00
DH 8259006bc3 Improved OpenGL renderer.
- Improved Vertex Shader Decompiler.
- Fixed CMD analyzer.

- Improved sys_fs module.
- Minor fixes.
2013-10-06 17:15:04 +03:00
DH dd48f827c3 - Implemented be_t, mem_struct_ptr_t, vfsFile.
- Improved sys_fs, cellPngDec, cellJpgDec, cellGifDec modules.
2013-10-06 15:07:42 +03:00
O1L f8193fd784 Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 2013-10-01 15:05:44 +04:00
O1L 23ece01a0b Minor improved cellAudio module. More dummy modules created. Some modules are not included to the project. If you want to implement a function of any of these modules, add the corresponding file to the project first. 2013-09-30 20:35:28 +04:00
Alexandro Sánchez Bach 2eb2a2a197 Small issue fixed 2013-09-28 23:05:56 +02:00
Alexandro Sánchez Bach 9bb2d082e6 Some Modules updated to use mem*_t class
cellKb, cellMouse and cellSysutil now use the mem*_t instances instead
of using "u32 *_addr" variables.
2013-09-28 16:30:04 +02:00
Alexandro Sánchez Bach afb9273823 More dummy modules
* 41 new dummy modules created.

NOTE: I have detached the previous 4 dummy modules of my last commit
(1a85ccbbf4) from the project since they will consume space of the
executable, and compilation time and don't provide anything useful yet,
the same applies to this commit. The only reason to provide this dummy
modules is to avoid that developers have to spend too much time on
creating the template of the module before implementing functions. If
you want to implement a function of any of these modules, add the
corresponding file to the project first.
2013-09-28 04:36:57 +02:00
O1L 784fc571b3 Created new dummy module for cellAudio. 2013-09-27 14:05:29 +04:00
Alexandro Sánchez Bach 1a85ccbbf4 Improved image dec. modules & New dummy modules
* Improved image decoding modules:
- Fixed error that appeared after last commit (eebe859f83).
- Changed some functions to use the mem*_t classes.
- Implemented cell*DecSetParameter.

* Created new dummy modules for sys_net (0x0000), sys_http (0x0001),
cellHttpUtil (0x0002) and cellSsl (0x0003).
2013-09-25 15:43:55 +02:00
DH eebe859f83 Improved mem_t.
- Implemented mem_ptr_t.
- Fixed issue 3.
2013-09-25 00:11:29 +03:00
Alexandro Sánchez Bach 7d97bbfbbf Changed syntax of last SPU instructions 2013-09-23 14:20:47 +02:00
Alexandro Sánchez Bach 03dcfeabc3 More SPU Instructions: Floating point comparison
* Implemented Floating/Double-floating comparison instructions:
FCGT, FCMGT, FCEQ, FCMEQ, DFCGT, DFCMGT, DFCEQ, DFCMEQ

* Implemented more Floating/Double-floating operations:
FMA, FMS, FNMS, DFMA, DFMS, DFNMS, DFNMA

* Implemented Double / Single floating-point conversion:
FESD, FRSD
2013-09-23 12:48:27 +02:00
Alexandro Sánchez Bach db7e68d308 More SPU Instructions: Floating point arithmetic
Implemented Floating/Double-floating arithmetic operations: Add,
Substract and Multiply: FA, FS, FM, DFA, DFS, DFM respectively.

* Fixed issue in the register editor: Wrong value displayed when reading
64 bit or 128 bit registers.

* Fixed issue in the register editor: Error when writing to 128 bit
registers.
2013-09-23 01:50:16 +02:00
Alexandro Sánchez Bach 9c6ae554fa Debugger improved: Register editor added
How to use the register editor:
1. Load an .ELF file
2. Select any instruction from a thread. (This is a workaround to
activate the appropriate event listener. This will be changed in the
future).
3. Press 'R' key and modify any register you want.

Note:
The register editor only works with PPU and SPU threads.

Additional changes:
* Fixed the filesize problem caused by the instruction editor dialog.
* Instruction Editor: Fixed small issue in SPU threads
2013-09-22 13:34:54 +02:00
Alexandro Sánchez Bach bf293ebbfc Debugger improved: Instruction editor added
How to use the instruction editor:
1. Load an .ELF file
2. Select an instruction from any valid memory address inside any
thread.
3. Press 'E' key and have fun. :P

Note1: I suggest to remove the function InterpreterDisAsmFrame::DClick
and use InterpreterDisAsmFrame::InstrKey to do all debugging-related
actions (Add breakpoint, Edit, Step, Run, etc.) using the same keyboard
layout as debuggers like OllyDbg.

Note2: The final binary is 200 KB larger due to this feature. This issue
should be fixed in the future. This has probably something to do with
the #include's.
2013-09-21 02:40:36 +02:00
Alexandro Sánchez Bach a11de0f607 Improved image decoding modules
* Huge improvement in the speed of cell{Png|Gif|Jpg}DecDecodeData when
reading input files.

Note: Sorry if this commit is too "small", but I need to sync every
change since I use two PCs.
2013-09-19 23:40:43 +02:00
Alexandro Sánchez Bach 20665b9f89 Improved sys_fs module
- cellFsStat now accepts mounting points in the path argument.

- cellFsMkdir, cellFsRmdir, cellFsUnlink and cellFsRename are now using
the real path provided by the VFS.

- cellFsFtruncate, cellFsTruncate and cellFsFGetBlockSize are partially
implemented.

Note: I have spotted a bug in cellFsRename and cellFsRmdir (this has
nothing to do with the changes I made), but I don't dare to fix it since
I am not sure if I will break other functions with my solution.
2013-09-18 23:50:00 +02:00
Alexandro Sánchez Bach b85d39bfc3 Minor issues fixed
*Memory leak in image decodification modules.

*Changed mouse wheel delta value.
2013-09-14 22:47:59 +02:00
Alexandro Sánchez Bach 1024a7c7c4 Mouse support added
*Implemented 'cellMouse*' functions from 'sys_io' module, which are part
of the libmouse library.

* Added corresponding entries in the 'Config > Settings' menu to change
the handler of the mouse. Supported handlers: Windows, Null.

* cellGifDec: Fixed some errors and added support for RGBA color.

(Remember: The mouse support is very experimental)
2013-09-14 20:20:57 +02:00
Alexandro Sánchez Bach 1b7302c0ba Keybord support improved
*Improved Keyboard:
- Fixed crash when using Null keyboard handler
- Added support for meta keys
- Added support for {caps, num, scroll} lock.

*Small issues fixed in previous module:
- cellGifDec: Fixed wrong information of packet field in
cellGifDecReadHeader.
- cellGifDec: Set DataOutInfo.recordType as 1 since the output is always
an image.
- cellJpgDec: Set colorSpace as 3, until a better function is
implemented.
- cellJpgDec, cellPngDec: Added RGBA support.

*Changed layout of "Config > Settings" menu.
2013-09-13 19:29:54 +02:00
Alexandro Sánchez Bach 4835ae35af Keybord support Added
* Implemented 'cellKb*' functions from 'sys_io' module, which are part
of the libkb library.

* Added corresponding entries in the 'Config > Settings' menu to change
the handler of the keyboard. Supported handlers: Windows, Null.

INFO: This keyboard library is *very* experimental and I am aware of
some bugs. There will be improvements soon.
2013-09-11 22:49:49 +02:00
Alexandro Sánchez Bach aea7f4aa77 cellGifDec Module Added
*Implemented 'cellGifDec', using 'sys_fs' to access the files and the
'stb_image' (stblib) library to decode GIF buffers to Raw-pixel buffers
that can be used as textures.

*Replace 'lodepng' and 'jpeg-compressor' libraries with 'stb_image' in
cellPngDec and cellJpgDec, respectively.

*Fixed minor issues in cellPngDec and cellJpgDec.
2013-09-10 15:17:02 +02:00
Alexandro Sánchez Bach 0275b430cf cellJpgDec Module Added
*Replaced "sys_jpgdec" with "cellJpgDec" in
"rpcs3\Emu\SysCalls\Modules.cpp".
*Implemented 'cellJpgDec', using 'sys_fs' to access the files and the
'jpg-compressor' (jpgd) library to decode JPG buffers to Raw-pixel
buffers that can be
used as textures.
*Fixed memory leak issue in cellPngDec and minor changes.
2013-09-09 18:27:31 +02:00
Alexandro Sánchez Bach 3123432dcc cellPngDec Module Added
Implemented 'cellPngDec', using 'sys_fs' to access the files and the
'lodepng' library to decode PNG buffers to Raw-pixel buffers that can be
used as textures.
2013-09-08 10:45:10 +02:00
Cornee Traas eefd175900 Fix more spelling mistakes 2013-09-05 10:06:59 +02:00
Cornee Traas f25fa26b42 Refactor of game loading 2013-09-05 09:45:33 +02:00
Cornee Traas f4b98074b0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	rpcs3/Emu/GS/GL/GLGSRender.cpp
	rpcs3/Gui/InterpreterDisAsm.cpp
	rpcs3/Gui/MainFrame.cpp
2013-09-03 19:26:31 +02:00
DH 5cc488011f - Version bump. 2013-08-27 18:22:04 +03:00
DH a9fdcd959b OpenGL renderer:
- Disabled dump vertex data.
- Fixed fragment constants loader.
- Fixed fbo creation.
- Implemented texture filtering.
2013-08-27 18:18:01 +03:00
DH 05687829d6 - Version bump. 2013-08-26 17:53:12 +03:00
DH f83aa9d5ae OpenGL renderer:
- Improved Vertex & Fragment Shader Decompilers.
- Implemented fp uniform loader.
- Implemented DXT1 & DXT2 textures decompression.
- Implemented draft cellResc module.
- Updated glext.

PPU Interpreter:
- Fixed VSPLTW, VNMSUBFP, VMRGLW, VMRGLH, VMRGLB, VMRGHW, VMRGHH, VMRGHB instructions.

cellFs:
- Fixed cellFsStat syscall.
2013-08-26 17:18:59 +03:00
DH 234e174b7d - Implemented send open system menu cmd.
- Added cellSysutil module.
- Improved OpenGL renderer.
- Added cube & hello world homebrews.
- Implemented more GCM syscalls.
2013-08-19 02:06:11 +03:00
DH 2f5fa75bb4 - Fixed sys_ppu_thread_exit.
- Disabled some dbg tools.
2013-08-17 19:23:03 +03:00
DH 0aff049960 - Improved Vertex & Fragment Shader Decompilers.
- Fixed some FPR instructions.
- Implemented more GCM syscalls.
- Fixed callbacks alert.
2013-08-17 01:22:26 +03:00
Cornee Traas 96c692aefc Fix spelling of IsRunned to IsRunning 2013-08-12 11:56:56 +02:00
Cornee Traas d249bfef4d When debugging, put the git revision in the title
Useful for bug reports, user-friendly version still used when building
in release mode. A unix script for generating the git version is still
needed.
2013-08-11 00:09:27 +02:00
DH f42d4b6572 OpenGL Renderer fixes:
- Fixed Vertex & Fragment Shader Decompilers.
  - Fixed Transform Constants loading.
2013-08-11 00:56:24 +03:00
Cornee Traas cd3ad0b149 (indirectly) Fix ini boolean parsing error 2013-08-10 23:51:24 +02:00
Cornee Traas fafb88672a Fix debugger working directory 2013-08-10 23:48:54 +02:00
DH 81e874c9e2 - Implemented HDD manager.
- Implemented VFS manager.
- Implemented MFC.
- Fixed ELF Compiler.
- Improved HLE Func binder.
2013-08-03 12:40:03 +03:00
DH 559852a8fc - Implemented RAW SPU.
- Implemented memory mapping.
2013-07-12 15:42:17 +03:00
DH 027a31bd84 - Fixed PPU G_3f_0 Decoder. 2013-07-11 17:28:10 +03:00
DH fb57bb9c4e - Implemented MTCRF instruction.
- Implemented sys_spu_thread_set_argument syscall.
- Improved Debugger.
2013-07-08 16:24:46 +03:00
DH 6d7d3acb43 - Fixed loading modules in debug mode.
- Improved Lwmutex.
- Implemented events syscalls.
- Fixed SPU local storage.
2013-07-06 02:49:38 +03:00
DH 991f281bbd - Improved SPU Decoder. 2013-07-04 17:20:36 +03:00
DH 7e07cd9595 PPUDecoder:
- Fixed BI field.

Project updated to VS12.
2013-07-03 23:25:54 +03:00
DH b35dfdf29b - Improved PPCDecoder.
- Improved PPUDecoder.
- Improved Debugger GUI.

CompilerELF:
 - Added all PPU instructions.
 - Fixed analyzer crash.
2013-07-03 19:17:16 +03:00
DH 8ba26db020 PPU Interpreter: Fixed all VPR instructions. 2013-07-03 16:02:46 +03:00
DH 4486cbb855 - Improved PPU decoder 2013-07-01 15:08:58 +03:00
DH 1f6a7560e4 - Added GIT ignore list. 2013-06-30 13:59:21 +03:00
DH 5753edf6ef - Improved sc function binder.
- Improved GLGSRender.
2013-06-30 11:46:29 +03:00
DH 3bb7a299ca http://code.google.com/p/rpcs3/source/detail?r=45 2012-11-15 17:45:11 +02:00
DH a90b5cf37a http://code.google.com/p/rpcs3/source/detail?r=44 2012-11-15 01:39:56 +02:00