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
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
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
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
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
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
0aa8a9f372
fix OpenGL includes for Win32
2014-05-01 19:29:28 +02:00
Andreas Schroeder
64cfab5b46
Mac OSX: fix includes & add missing functionality
2014-04-29 22:46:42 +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
Unknown W. Brackets
d6baac6fbe
Fix reseved -> reserved typo.
2014-04-28 07:43:12 -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
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
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
9d3d7b09b3
explicit casting
2014-04-27 19:55:31 +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
85be97e6a2
add explicit casts for the ptrdiffs
2014-04-27 19:15:35 +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
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
Nekotekina
a7057f5205
Conflicts fixed
2014-04-10 02:00:01 +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
ce1b6039ac
Merge pull request #175 from eriksson/nx-fixes
...
*nix fixes
2014-04-08 20:05:55 +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
5a5edf17fd
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3 into nx-dbgoutput
2014-04-06 22:35:36 +01: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
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
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
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
Alexandro Sánchez Bach
01dbb8eb9a
Merge pull request #145 from Nekotekina/master
...
Fixed conflicts.
2014-03-31 12:04:34 +02: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
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
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
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
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
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
Lioncash
a5d9c9033f
Fix erroneous assignment in an if statement.
...
Should have been a comparison.
2014-03-24 20:08:33 -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
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