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
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