Avi Halachmi (:avih)
1779ee42c2
log console: Sources menu - add Restore Default item
2014-12-30 05:29:39 +02:00
Avi Halachmi (:avih)
95e00e0edf
cheats[_ws]: don't ignore custom folders for cheat files
...
The code was searching only at the default paths for cheats and cheats_ws.
Now it's possible to set UseDefaultCheats[WS] at PCSX2_ui.ini to 'disabled'
and set a custom value to Cheats and/or CheatsWS and PCSX2 will respect it.
2014-12-29 14:21:38 +02:00
Gregory Hainaut
0c17d67fa5
cmake: add a new option to select the doc path in package mode
...
DOC_DIR_COMPILATION=/usr/share/doc/pcsx2
close issue #402
2014-12-21 16:51:41 +01:00
pgert
93cbce82f9
Update i18n.cpp
2014-12-21 14:38:07 +01:00
Gregory Hainaut
2bc4686afa
pcsx2:wx3: fix filter selection of iso
...
On linux, wxChar requires a %ls
It must be tested on windows:
1/ >CDVD>Iso selector>Browse...
2/ try the different filter
2014-12-21 12:34:05 +01:00
Gregory Hainaut
66d7aa75e2
cmake: move -DNDEBUG to global option
2014-12-20 13:43:25 +01:00
Gregory Hainaut
b9297c6158
Merge pull request #377 from PCSX2/tlb_goemon_v2
...
goemon gamefix improvement
2014-12-14 11:47:37 +01:00
Gregory Hainaut
09ec6ebd8e
pcsx2: fix a gcc warning
2014-12-13 12:28:37 +01:00
Gregory Hainaut
768362852e
pscx2: s/wxTrap/pxTrap/
...
wxTrap is only enabled on wxDebug build. pxTrap is always available. It is much nicer for debug on linux
2014-12-13 12:28:37 +01:00
Gregory Hainaut
01b0556419
goemon: reset recompiler after tlb unmap
...
Let's avoid unvalid virtual address on recompiler block
2014-12-12 22:43:01 +01:00
Gregory Hainaut
cb73ed4737
pcsx2:tlb:goemon: allocation can be called from 2 places
...
* game is working :)
Note1: I dissassemble the main exe to search all call of the allocation (unlikely to have more calls)
Note2: it is easier to use the return of the function so allocation is done in the tlb[array] cache
2014-12-12 22:25:56 +01:00
Gregory Hainaut
e6de35f5ac
pcsx2:tlb: enable GoemonUnloadTlb on recompiler
2014-12-12 22:14:08 +01:00
Gregory Hainaut
a8ad598153
pcsx2:tlb: improve goemon gamefix log
2014-12-12 22:14:08 +01:00
Gregory Hainaut
2cfbc6e5ef
pcsx2:tlb: extend goemon gamefix
...
Add GoemonUnloadTlb function that invalidate TLB cache.
Currently the function is only used on the interpreter. It fixes TLB error after a reload of data.
Next step: porting to the recompiler
2014-12-12 22:14:08 +01:00
Gregory Hainaut
8d8aa87457
pcsx2: interpreter: better use pc
...
cpuRegs.pc is the actual pc+4...
2014-12-12 22:14:08 +01:00
Gregory Hainaut
bf9fc521cb
disassembler: Allow to print register value
...
* Create a disBranch to factorize a bit the code
* Add PRINT_REG_CONTENT define that add a 32bits value of registers for
standard opcode. (Far from perfect, but it very useful)
2014-12-12 22:14:08 +01:00
Gregory Hainaut
534b7041f4
Merge pull request #385 from PCSX2/gtk3_compilation_fix
...
Gtk3 port (require wx built against GTK3).
2014-12-11 09:54:45 +01:00
Gregory Hainaut
feca2e3faf
gtk3: GDK_WINDOW_XID was renamed
...
Well I guess. Not sure until I can test the behavior.
2014-12-10 22:09:21 +01:00
Gregory Hainaut
d1389db2f4
gtk2: keyboard macro update
2014-12-10 22:09:21 +01:00
Gregory Hainaut
87f1e8f77d
pcsx2: use PCSX2 uppercase for XDG_HOME_CONFIG default value
...
This way it will always be the same.
Fix issues #381
Note: potentially we might need to move your previous directory.
mv $HOME/.config/pcsx2 $HOME/.config/PCSX2
2014-12-08 23:51:02 +01:00
Gregory Hainaut
49d98a4429
pcsx2: move tlb info from warning to COP0_LOG
...
It will ease debug (pc is printed) and reduce noise for standard users.
2014-12-07 12:20:59 +01:00
Gregory Hainaut
070dce4c83
Merge pull request #356 from PCSX2/issue-fixes
...
various bug-tracker fixes
2014-12-06 19:48:13 +01:00
Gregory Hainaut
8afd2edd1d
pcsx2:gui:wx3: wrong order of language in wizard
...
It seems wx3 remove all non alphanumeric character before the sorting
A 0 was added to force default to be the first choice as expected
2014-12-06 17:12:26 +01:00
Gregory Hainaut
7328e55ee9
pcsx2: disable tlb miss on the interpreter
...
Except on the debug build
2014-12-02 23:10:58 +01:00
Gregory Hainaut
c9aa04c679
core: EE interpreter major speed boost
...
Disable the debugger and an useless debugI function
* x2 on dbg build :)
* x2.5 on dev build :)
Note: debugger doesn't work yet with the interpreter so no real drawback.
2014-12-02 21:38:39 +01:00
Gregory Hainaut
9c92a30dbb
pcsx2: interpreter: add a typical example to disassemble R5900
...
Previous examples don't work anymore
v2: merge the cpu dump example
2014-12-02 21:38:39 +01:00
Gregory Hainaut
8a899c4c7b
pcsx2: interpreter: increment pc before reading pc content
...
memRead32 could throw a TLB miss exception, however TLB handler expects pc counter to be incremented
Goemon is now really "playable" with the interpreter (disable automatic gamefix)
2014-12-02 21:38:39 +01:00
Gregory Hainaut
a30bd86311
pcsx2: interpreter: add an exception for tlb miss
...
When a tlb miss is detected current instruction must be skipped. We need
to immediately switch to the handler
Typical instruction bug case:
lw a0, 0x8(a0)
a0 mustn't be loaded if we have a miss
v2: create a dedicated exception for tlb miss
v3:
* rename exception to CancelInstruction
* add a basic state machine on the exec loop so we keep same behavior
for eeloadReplaceOSDSYS and eeGameStarting
v4: remove assert
2014-12-02 21:38:29 +01:00
Gregory Hainaut
0f2f25845d
core: use memcpy and reserve function
...
newMem is a new memory allocated by "new". There is no way that is
overlap with previous allocation. Therefore the faster memcpy can be used safely
2014-11-24 10:00:46 +01:00
Gregory Hainaut
5d89454d25
wx: properly overwrite trait creation
...
The fix move the Pcsx2AppTraits definition from core to common part.
It allows to use it in wxAppWithHelpers::CreateTraits
fix issue #352
2014-11-22 18:51:05 +01:00
ramapcsx2
fda48f3d55
Merge pull request #355 from Asmodean-/master
...
Add reg.chcr warning check.
2014-11-22 11:52:12 +01:00
Asmodean-
09c13777d8
Add reg.chcr warning check.
2014-11-21 21:55:35 +00:00
Gregory Hainaut
7964933507
wx: use wx_pizza on wx2.8
...
The new method creates a strange gray box for some users.
Unknown status on wx3.0 (which soon will be the default)
2014-11-16 13:54:07 +01:00
Gregory Hainaut
fc480e9bea
Merge pull request #335 from tadatada/fix_resizing_loop
...
Fix resizing loop when the Windows Classic theme with some large resolutions have been chosen.
2014-10-28 10:36:10 +01:00
Gregory Hainaut
d6ba55eebf
license:
...
* stack walk is coming from PPSSPP => GPL2+
* Remaining are from Kingcom => LGPL3+
2014-10-28 08:21:39 +01:00
tadatada
d55aa66751
Fix resizing loop when the Windows Classic theme with some large resolutions have been chosen.
2014-10-28 12:44:12 +09:00
Gregory Hainaut
f0d85d7dcc
Merge pull request #329 from tadatada/mod_console_title
...
Inserted a game CRC in the title of the console log screen.
2014-10-26 21:53:58 +01:00
Gregory Hainaut
a28d2878e0
Merge pull request #326 from tadatada/mod_cheats_logs
...
Cheats: Added a cheats related log, changed color of a few positive logs.
2014-10-26 15:49:25 +01:00
tadatada
ea6e78ab0d
Inserted a game CRC in the title of the console log screen.
2014-10-13 13:26:03 +09:00
tadatada
7e89477e6c
Cheats: Added a cheats related log, changed color of a few positive logs.
...
If any cheats file is not found, the "Not found Cheats file" message will appear with its full path of the cheats file on the log screen.
Changed color of a few positive logs to green from grey.
2014-10-08 16:51:09 +09:00
tadatada
8b45caf611
Cheats: Fixed tab/space mixtures in pcsx2/Patch_Memory.cpp
2014-10-08 16:43:08 +09:00
Gregory Hainaut
20b9dbadda
pcsx2: replace wxStrtoul by ToUlong method
...
Close issue #308
2014-09-27 11:50:31 +02:00
tadatada
728840b7c5
Code cleanup
...
Altered some variable names and comments. Removed some redundant parentheses.
2014-09-26 06:55:00 +09:00
Gregory Hainaut
5b3f031654
cmake: fix commit f3a50a01a7
...
* link common with c lib (required for gold linker)
* fix the macro to properly set the library variable
=> use the variable instead to hardcoded value
2014-09-24 09:02:56 +02:00
ramapcsx2
cee80eb5f4
Merge pull request #279 from Kingcom/StackFrames
...
Add stack trace and step out
2014-09-22 16:34:52 +02:00
Gregory Hainaut
9656fad0f5
Merge pull request #286 from jobermayr/master
...
Two patches from openSUSE / Packman
2014-09-21 17:34:14 +02:00
Gregory Hainaut
fd7b692d00
Merge pull request #251 from xsacha/memzero_ptr
...
Remove redundant memzero_ptr. All compilers use SSE implementation
2014-09-21 17:15:54 +02:00
Gregory Hainaut
1b6188ee1d
Merge pull request #281 from xsacha/memcmp
...
Remove usages of memcmp_mmx
2014-09-19 21:43:19 +02:00
ramapcsx2
9ee88ad070
Merge pull request #273 from Kingcom/Interpreter
...
R5900 interpreter breakpoints
2014-09-18 16:40:56 +02:00
Kingcom
a95e55dc54
Add breakpoint support to R5900 interpreter
2014-09-18 16:31:44 +02:00
Johannes Obermayr
9fd2f3dd8a
Don't use build date on openSUSE.
...
Fixes RPMLINT warning:
pcsx2.i586: W: file-contains-date-and-time /usr/bin/pcsx2
Your file uses __DATE and __TIME__ this causes the package to rebuild when not needed
2014-09-17 22:37:34 +02:00
Johannes Obermayr
7b1d3ba7ea
Do commits 2bc2047
and f287754
the right way ...
2014-09-16 19:11:11 +02:00
ramapcsx2
12e8f7d0b4
"Support all functions of type D and E codes" for cheat patches (pnach) by
...
tadatada
2014-09-16 11:03:10 +02:00
Sacha
bf7c29e4cd
Disable memcmp_mmx for non-msvc compilers and 64-bit. Remove MemcpyFast.S (Linux).
2014-09-16 17:53:54 +10:00
Johannes Obermayr
2bc2047770
cmake: Fix RPATH/RUNPATH issue with openSuse wxWidgets libdir.
...
Gregory: Add an if clause to only change the rpath on openSuse
For me it doesn't follow the FHS => http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/fhs.html
2014-09-14 13:12:26 +02:00
ramapcsx2
98d22f8b2e
Merge pull request #215 from xsacha/memcpy
...
Remove some slow, redundant memcpy implementations: memcpy_const/memcpy_...
2014-09-12 19:57:57 +02:00
Kingcom
8dba78abce
Add step out feature
2014-09-11 14:17:43 +02:00
Kingcom
d3ffd13c25
Add stack frames list to debugger
2014-09-11 14:17:43 +02:00
Kingcom
4768f293bf
Port stack walker from PPSSPP
2014-09-11 14:15:07 +02:00
ramapcsx2
f7192b82b1
Merge pull request #274 from Kingcom/Scrollbars
...
Fix column width in debugger
2014-09-06 00:35:47 +02:00
ramapcsx2
08dc8b40e4
Merge pull request #272 from Kingcom/Scanning
...
Complete function scanning
2014-09-06 00:32:51 +02:00
uyjulian
f3a50a01a7
cmake: Use previous macros in CMakeLists.txt files
...
Gregory: add a c lib for zzogl-pg-cg replayer
2014-09-05 20:16:23 +02:00
Kingcom
b717691901
Fix duplicate f21/fcr21/vf21
2014-08-30 12:49:59 +02:00
Sacha
5287de930b
Create a Math.h utility. Use it for count leading sign bits, used in MMI.
2014-08-28 00:42:53 +10:00
Sacha
ad3b76c4d8
Remove all custom memcpy usage from core pcsx2 and remove memcpy_fast from plugins.
2014-08-27 13:45:23 +10:00
Sacha
3f7cb991e4
Remove some slow, redundant memcpy implementations: memcpy_const/memcpy_qwc/memcpy_aligned.
2014-08-27 13:13:48 +10:00
ramapcsx2
ec7fb80a5b
Merge pull request #271 from Kingcom/Threads
...
Add threads list to debugger
2014-08-25 15:56:00 +02:00
ramapcsx2
d694a3a166
Merge pull request #263 from Kingcom/Recompiler
...
Fix recompiler breakpoint flushing logic (debugger related)
2014-08-25 15:33:39 +02:00
Kingcom
d8f3e22f14
Fix column width in debugger lists when scrollbars are present
2014-08-23 15:03:57 +02:00
Pseudonym
3fa5816aab
Merge pull request #265 from Sonicadvance1/x86_64-vtlb
...
Get the VTLB working on x86_64.
2014-08-22 22:40:45 +01:00
Pseudonym
e5f7057539
Merge pull request #255 from Kingcom/Disasm
...
Add a couple of pseudo instructions to the R5900 disassembler
2014-08-22 22:35:52 +01:00
Kingcom
259a699613
Add shared source and dest register simplifications
2014-08-22 23:28:32 +02:00
Kingcom
d1619af18c
Simplify disassembly of memory access with zero offset
2014-08-22 23:28:28 +02:00
Ryan Houdek
bddb2504b5
Get the VTLB working on x86_64.
...
VTLB does some nonsense with signed integers for the pointers.
We've got to make sure to set the signed bit in the correct bit on 64bit pointers so it works.
2014-08-22 15:31:40 -05:00
Kingcom
769cb6a369
Port the rest of the function scanning over from PPSSPP
2014-08-22 22:23:49 +02:00
Pseudonym
4512306207
Merge pull request #248 from Kingcom/OpcodeFlags
...
Add flags to R5900 opcodes, use them for the debugger
2014-08-22 20:55:08 +01:00
Kingcom
430c617a95
Use flags for breakpoints and memchecks in the recompiler
2014-08-22 21:50:09 +02:00
Kingcom
9fde236512
Update analyst to use new flags
2014-08-22 21:50:09 +02:00
Kingcom
72c2158b17
Add fcr registers to DebugInterface and rename others
2014-08-22 21:50:06 +02:00
Kingcom
f7ac17b6be
Fill in flags for most debugger relevant opcodes
2014-08-22 21:50:05 +02:00
Kingcom
1e3e5c92a8
Add thread list to debugger
2014-08-22 16:11:16 +02:00
Kingcom
5f7a3a8ca9
Read EE threads from bios (thanks @gregory38)
2014-08-22 16:11:13 +02:00
Kingcom
5b14f7de64
Add a list with bios version specific information
2014-08-22 16:11:10 +02:00
Sacha
f484f35d85
Remove some unused code such as data moves and tags in iCore.
...
The code was sitting there only serving to confuse people. The tags were a way of setting an 'isXMMreg' inside a function and the values actually didn't mean anything.
2014-08-22 00:42:40 +10:00
Kingcom
9e6fac5faa
Fix recompiler breakpoint flushing logic
2014-08-20 17:12:48 +02:00
Kingcom
b72963ee5f
Make simplifcations in the disassembler optional
2014-08-19 15:45:50 +02:00
Kingcom
a696bf0d02
Add branch pseudo opcodes to R5900 disassembler
2014-08-19 14:58:00 +02:00
Kingcom
b0cef1b143
Add a couple of pseudo instructions to the R5900 disassembler and display signed immediates as signed
2014-08-19 14:58:00 +02:00
Sacha
7a260c9885
Remove redundant memzero_ptr. All compilers use SSE implementation anyway.
2014-08-17 23:23:55 +10:00
Tobias Jakobi
6eb0ecbe7c
debugger: fix static/extern issue which broke compilation
...
Previously (on gcc) compilation would fail with:
pcsx2/DebugTools/DisR5900asm.cpp:58:37: error: ‘R5900::GPR_REG’ was
declared ‘extern’ and later ‘static’ [-fpermissive]
2014-08-17 14:52:13 +02:00
Kingcom
a8c5454724
Add flags field to R5900 opcodes
2014-08-16 20:33:45 +02:00
Pseudonym
05b33012b7
Merge pull request #241 from Kingcom/Debugger
...
Always enable debugger
2014-08-15 23:31:23 +01:00
Pseudonym
91fcad0a93
You know that commit where I removed the GTE? Apparently I didn't.
2014-08-15 23:22:25 +01:00
Kingcom
f5fe75a73b
Allow to share writing to the ISO through an ini option
2014-08-15 23:52:45 +02:00
Kingcom
df0fb9551f
Always enable debugger
2014-08-15 21:25:30 +02:00
Pseudonym
7e5b6dee9c
Removed System.map symbol file support.
...
I'm not sure what this is actually to be honest, ancient release notes say it was ps2linux related but I don't think this is Linux System.map compatible... regardless ps2linux isn't exactly high on our priority list.
2014-08-15 18:56:42 +01:00
Pseudonym
174e121034
Load symbols from ELFs. (Thanks Kingcom for this one liner.)
2014-08-15 18:44:01 +01:00
Pseudonym
9ebd9c4447
Removed long disabled code for inserting command line parameters for ELFs into EE memory. We'd have to do this completely differently in the current system anyway.
2014-08-15 18:41:24 +01:00
Pseudonym
4400b56fb5
Removed actual ELF loading from the ELF parser as we leave this up to the BIOS now.
2014-08-15 18:39:24 +01:00
Pseudonym
4de63714ce
Replaced some printf(string)s with printf("%s", string) in R5900 block dumping.
2014-08-15 17:37:07 +01:00
Pseudonym
0ca72a7d60
Merge pull request #240 from Kingcom/DisR5900Removal
...
Remove redundant Disr5900
2014-08-15 16:55:12 +01:00
Pseudonym
2aa34186e1
Scrapped abortive GTE (PSX GPU) support so that certain people can stop fiddling with untestable code. We don't know whether the PS2 even has a hardware GTE and thanks to the miracle that is source control we can revive this module if needed.
2014-08-15 16:47:42 +01:00
Pseudonym
adc76243dc
Merge pull request #239 from xsacha/stats_removal
...
Remove Stats.{cpp,h}, which was not being used by anything.
2014-08-15 16:35:33 +01:00
Pseudonym
565e72d9d7
Merge pull request #209 from xsacha/jASSUME
...
Remove deprecated jASSUME from pcsx2 core. It is still used in some plugins.
[I should note that this may change the performance of the devel target on msvc as jASSUME was compiling to __assume on devel and release while pxAssume only compiles to __assume on release]
2014-08-15 14:38:06 +01:00
Kingcom
2d7ef30e59
Remove redundant Disr5900
2014-08-15 15:23:45 +02:00
Pseudonym
9284a01346
Removed redundant initialisation code (covered in the resets), reverted a little pointless shuffling.
2014-08-15 14:09:18 +01:00
Pseudonym
b574d06f5f
Merge pull request #214 from xsacha/init_vars
...
Init vars directly instead of using dedicated functions
2014-08-15 14:04:06 +01:00
Pseudonym
1c29874541
Removed unused variables.
2014-08-15 13:55:19 +01:00
Pseudonym
08d8026fa3
Removed a couple of unhelpful comments from today and a bunch from 2003.
2014-08-15 13:55:16 +01:00
Pseudonym
2286ac1c49
Merge pull request #221 from xsacha/vuops-2
...
Improve readability in the VUops.
2014-08-15 13:55:14 +01:00
Sacha
8d616133d6
Remove Stats.{cpp,h}, which was not being used by anything.
2014-08-15 18:08:03 +10:00
Sacha
7568f6f2ec
Remove deprecated jASSUME from pcsx2 core. It is still used in some plugins
2014-08-15 14:32:56 +10:00
Sacha
3271048ab6
Remove init procedures from Hw.cpp
2014-08-15 14:17:35 +10:00
Sacha
791bfc181b
Use a function with u32 inputs and make sure all the casts match, because..
2014-08-15 13:55:14 +10:00
archshift
fb9c24b900
Removed `using std::min/max` from PCH
2014-08-14 14:55:52 -07:00
Pseudonym
05d5f06bb5
Merge pull request #224 from xsacha/sse2-force
...
Require SSE2 instead of SSE+MMX. SSE2 implies SSE+MMX is supported, so all checks of of 'SSE' and 'MMX' can be removed.
2014-08-14 22:43:06 +01:00
Pseudonym
9dd9448d02
Merge pull request #213 from xsacha:patch_obsolete
...
Remove cheat patches obsoleted by a change in the UI, more than 4 years ago
2014-08-14 21:23:20 +01:00
Pseudonym
cb2593f2bb
Merge pull request #210 from xsacha:plugin_cleanup
...
Some cleanup to improve readability.
2014-08-14 20:37:41 +01:00
archshift
466e6008ad
SamplProf.cpp: Removed "using namespace std"
2014-08-14 11:23:50 -07:00
archshift
396e42e17c
sVU_zerorec.cpp: Removed "using namespace std"
2014-08-14 11:23:50 -07:00
archshift
f808593b2d
DisR5900asm.cpp: Removed "using namespace std"
2014-08-14 11:23:50 -07:00
archshift
7de0065216
Elfheader.cpp: removed "using namespace std"
2014-08-14 11:23:50 -07:00
archshift
285e07be76
MicroVU: removed usage of "using namespace std"
2014-08-14 11:23:50 -07:00
Pseudonym
66765d827b
Merged pull request #199 from xsacha/oldcode
...
Remove some horrible old code.
2014-08-14 19:12:19 +01:00
Pseudonym
19ea90aff5
Merge pull request #195 from Kingcom/DebuggerLists
...
Abstract list view behavior
2014-08-14 18:57:50 +01:00
Pseudonym
ad58118df0
Merge pull request #183 from Kingcom/Assembler
...
Add integrated assembler
2014-08-14 18:47:38 +01:00
Kingcom
2a0be7e91e
Abstract list view behavior
2014-08-14 18:32:21 +02:00
Lioncash
54798d4743
Core: Get rid of C void parameter carryovers
2014-08-14 03:21:09 -04:00
Sacha
6f5e0f96b4
Require SSE2 instead of SSE+MMX. SSE2 implies SSE+MMX is supported, so all checksOF of 'SSE' and 'MMX' can be removed.
...
SSE2 is supported on more than decade-old x86 CPUs. Almost(?) every x86 CPU since PS2 was released.
Certainly running the existing code on a non-SSE2 computer resulted in most of the code being disabled anyway and the emulator being incredibly slow.
This removal will hopefully allow the removal of MMX/3DNow code as it has been superceded.
2014-08-14 16:01:34 +10:00
Sacha
9dea86068a
Remove giant min/max defines and make their usage more understandable.
2014-08-14 12:46:57 +10:00
Sacha
af3482b7cd
Improve readability in the VUops.
2014-08-14 10:58:31 +10:00
ramapcsx2
d247a79e48
Merge pull request #187 from lioncash/bool
...
Use bool constants instead of magic numbers in microVU
2014-08-13 13:17:24 +02:00
Sacha
a3bc6a73a3
Remove some horrible old code.
...
Remove an assert define and instead use the static_assert that all compilers provide.
As an added bonus, assert messages\!
2014-08-13 13:55:32 +10:00
Sacha
e1bf7daf59
Remove cheat patches that were obsoleted by a change in the UI, more than 4 years ago.
2014-08-13 13:27:01 +10:00
Sacha
9dcaaedf06
Some cleanup to improve readability.
...
Remove old compiler hacks that are no longer needed.
Fix up some spacing and comments that hid code.
Fix a critical bug in deprecated plugin peopsSPU.
2014-08-13 13:05:33 +10:00
ramapcsx2
9c58537078
PCSX2: Removed the "managed VSync" option. I don't think it saw much use
...
anyway.
2014-08-12 14:53:51 +02:00
ramapcsx2
c46749f236
Merge pull request #196 from archshift/using
...
Removed uses of `using std::string`
2014-08-12 10:40:49 +02:00
David Quintana
c09469a71c
Merge pull request #204 from archshift/auto-itr
...
Simplified loops by declaring iterators with 'auto'
2014-08-10 22:07:31 +02:00
archshift
afbb5e2721
Simplified loops by declaring iterators with 'auto'
2014-08-10 01:48:57 -07:00
Gregory Hainaut
b2df6152af
Merge pull request #191 from Sonicadvance1/remove-stupid-define
...
Removes the usage of __LINUX__ define
2014-08-06 21:56:16 +02:00
ramapcsx2
98aad6ef76
Merge pull request #197 from archshift/no-comprende
...
PrecompiledHeader.h: Add a comment to clarify redefinition of BOOL
2014-08-06 13:19:24 +02:00
archshift
730d7ec528
Added comment explaining redefinition of BOOL
2014-08-06 04:15:23 -07:00
archshift
c911ba4747
Revert "PrecompiledHeader.h: Removed WTF-redefines"
...
This reverts commit 9fdb318776
.
2014-08-06 04:12:38 -07:00
archshift
9fdb318776
PrecompiledHeader.h: Removed WTF-redefines
...
Removed redefinition of TRUE and FALSE, and removed typedef of int to BOOL
2014-08-06 03:46:15 -07:00
archshift
d92a621a70
DisR5900: removed `using std::string`
2014-08-06 03:14:11 -07:00
archshift
7734f2eed8
Gif.cpp: removed redundant `using std::min`
2014-08-06 03:06:58 -07:00
archshift
10dc0bcfa2
Removed `using std::string`
...
`using` classes from namespaces can lead to lack of clarity as to where
the class is coming form.
2014-08-06 03:01:48 -07:00
Ryan Houdek
3d37a6ce27
Removes the usage of __LINUX__ define
...
This is defined and set it a ton of different places.
It's checked in a whole lot more
Instead just use __linux__ like a real project should
2014-08-03 13:20:36 -05:00
Gregory Hainaut
82c7bcd761
wx3.0: compilation fix for arch linux
...
* Manually cast WxGetTranslation
* Accept string as format parameter of pxWindowTextWriter
* Manually convert wxString to wide string
Note: Wx setup.h is not the same between Debian and Arch. Unfortunately it
generated various compilations errors on wx code.
Close issue #172
2014-08-03 14:54:44 +02:00
Gregory Hainaut
3c9367825c
wx3.0: partially revert 1fda2a611c
...
I wrongly removed code that set the language directory on Windows.
Linux uses another way (don't know which one)
close issue #189
2014-08-03 14:53:06 +02:00
Gregory Hainaut
61088b71c6
cmake: gcc warning management
...
* disable unused value warning (don't like the syntax 0&&)
* remove -Wno-ignored-attributes (c option). It replaces gcc warning
by an unsupported option warning...
2014-08-03 14:43:08 +02:00
ramapcsx2
67f934a902
Fixed a missing word in gamefixes panel
2014-08-01 15:04:34 +02:00
Lioncash
ed65172308
Use bool constants instead of magic numbers in microVU
2014-07-31 20:34:16 -04:00
Kingcom
7d49f75317
Replace square character with unicode value
2014-07-31 20:38:26 +02:00
Kingcom
3e883e4be4
Integrate assembler
2014-07-31 20:38:26 +02:00
Pseudonym
de5a55c03e
Merge pull request #176 from Sonicadvance1/x86_64-recompiler-casts
...
Fix a bunch of casts in the x86 recompiler core.
2014-07-31 15:03:26 +01:00
Pseudonym
4d06f982db
Merge pull request #181 from lioncash/elif
...
Remove 'elif' define from Pcsx2Defs and microvu_misc.h
2014-07-31 14:21:47 +01:00
Pseudonym
1fb057462a
Merge pull request #180 from lioncash/const
...
Apply const to some functions in Gif_Unit.h
2014-07-31 13:47:10 +01:00
Kingcom
e862047142
Add write32 method to DebugInterface
2014-07-31 14:10:36 +02:00
Kingcom
90eb776310
Add assembler
2014-07-31 14:10:36 +02:00
Lioncash
ac558afc8a
Remove 'elif' define from Pcsx2Defs and microvu_misc.h
2014-07-30 23:44:04 -04:00
Lioncash
10fd86fd68
Apply const to some functions in Gif_Unit.h
2014-07-30 22:52:00 -04:00
Ryan Houdek
08a6ff6e6c
Fix a bunch of casts in the x86 recompiler core.
...
There are a load of casts from pointers to 'int' and 'u32' in the JIT core.
This takes a better practices approach to the problem and casts to uptr instead.
Zero functionality change of course, just changes all of these terrible casts to going to uptr which makes the casting style consistant and work on
both x86_32 and x86_64.
This obviously doesn't work around the issue of the recompiler not running on x86_64, but we need compiling before we delve further.
2014-07-30 18:32:36 -05:00
Ryan Houdek
7d13f96e28
Fixes a few casts in the DisassemblyDialog and PluginSelectorPanel.
...
We are casting wxWidget's events userdata from void* to integers.
So use uptr instead since it'll work on both x86_32 and x86_64.
2014-07-30 18:25:13 -05:00
Pseudonym
e726f82344
Merge pull request #161 from Kingcom/Debugger
...
Debugger enhancements
2014-07-30 18:24:38 +01:00
Gregory Hainaut
5c054fb486
pcsx2: compilation issue (miss a L for wstring)
2014-07-30 19:19:42 +02:00
Kingcom
c79fe9a1e7
Fix linux issues
2014-07-30 19:02:39 +02:00
Kingcom
15943eddb1
Fix string handling in breakpoint list
2014-07-30 19:01:50 +02:00
Kingcom
8d1e294b32
Also highlight registers accessed by memory opcodes
2014-07-30 19:01:49 +02:00
Kingcom
c4e89bea32
Add function list
2014-07-30 19:01:49 +02:00
Kingcom
b37f6e9df1
Fix display of memory breakpoint enable status and add context menu to breakpoint list
2014-07-30 19:01:49 +02:00
Kingcom
30a5e31b66
Show the cycles passed in the debugger
2014-07-30 19:01:48 +02:00
Gregory Hainaut
41d2ea4306
i10n: refresh all languages
...
Remove the --previous option of po generation. It broke some translations.
Remove the translation of PCSX2 version, no point to translate C format symbol.
2014-07-30 09:21:49 +02:00
Gregory Hainaut
6485bd89d9
common: drop remaining of HashMap
...
Ryan Houdek removes all use of this code.
Let's remove the left-overs too, beside it will removes the sparsehash depencency
2014-07-29 21:06:31 +02:00
Gregory Hainaut
38f617233d
pcsx2: don't rely on 3rdpary to bring back include dependency
2014-07-29 21:06:30 +02:00
Gregory Hainaut
9e774eb41c
pcsx2: use int instead of uint on file reader
...
Fix a crash when offset was negative. Offet becomes bigger than my input file.
2014-07-29 20:52:18 +02:00
Kingcom
6f101c0a0c
Add small lines between four byte groups in the memory view and fix status bar text not being displayed
2014-07-29 20:50:58 +02:00
Gregory Hainaut
1d5b250b58
pcsx2/cdvd: kill a small memory leak
2014-07-29 20:49:46 +02:00
Gregory Hainaut
e7d0a0345e
pcsx2/: remove ^M eol on 3 files
2014-07-29 20:49:46 +02:00
Gregory Hainaut
50868f14f6
pcsx2: don't access member data directly
2014-07-29 20:45:46 +02:00
Gregory Hainaut
79701aa613
gui:debugger: clean string management
...
Let's use the FastFormatUnicode infrastructure
2014-07-29 20:45:46 +02:00
Gregory Hainaut
ac41ba1f73
wx3.0: rename some deprecated API call
...
Avoid various gcc warning
Note: Compatible with recent wx2.8 version
2014-07-29 20:45:45 +02:00
Gregory Hainaut
76237955c7
wx3.0: fix various string printing on linux
...
wide-char must use %ls format on linux. Don't rely on non standard %s/%S
2014-07-29 20:45:44 +02:00
Gregory Hainaut
cfa8e94e95
wx3.0: disable an useless symbol on linux
...
Not used and print an error message for each plugins.
2014-07-29 20:45:44 +02:00
Gregory Hainaut
01de778831
wx3.0: various buggy code (wx assertion)
...
v3: reenable dc.GetSize, I didn't manage to reproduce the assertion failure
2014-07-29 20:45:44 +02:00
Gregory Hainaut
1fda2a611c
wx3.0: various interface update
...
v3: partially revert previous version
* Keep old behavior for translation on wx2.8
* Revert wxDataObjectSimple parameter change
+ feature is MSW only
+ devs are welcome to improve it
* restore standard path, only update the reference type
2014-07-29 20:45:44 +02:00
Gregory Hainaut
d5d19acb3f
wx3.0: lots of cast...
...
Various string as still wrong but at least it can be compiled now.
I think the remaining issue are w_char with %s format (at least on linux)
2014-07-29 20:45:44 +02:00
Gregory Hainaut
91afc2079c
wx3.0: force wide char as expected
...
Note: on linux it would be better to force everythings to use UTF8
2014-07-29 20:45:43 +02:00
refraction
fb5b7a34e3
VIF: Modification to illegal IRQ's on NOP's Fixes #162 . Some games like Looney Tunes Back In Action use the lower 16 bits for special codes, so we only check the command info area (not the command itself of course, that would be silly).
2014-07-24 18:22:00 +01:00
Kingcom
b23062c54a
Check for alignment when accessing memory with the debugger
2014-07-19 01:05:41 +02:00
Pseudonym
455a20d852
Removed unnecessary #include after pull request #154 .
2014-07-18 21:54:46 +01:00
Pseudonym
a3498c506f
Merge pull request #154 from from Kingcom/Debugger
...
Revert part of #140
2014-07-18 21:50:59 +01:00
Kingcom
2505291065
Revert part of #140
2014-07-18 22:17:41 +02:00
Forrest McDonald
81458912f9
pcsx2: remove template and pointer on overload function from wxGuiTools
...
Fixed clang build.
Note from Gregory:
C++ requests that at least 1 parameters is a class, an enumeration, or a
reference to those objects. Probably to avoid to screw basic type operation.
For example: *p += 4;
The realy buggy code was this one because T could be an int!
template T
f(*ptr, T)
To avoid any issue in the future the Team decide to drop all overload that use pointers.
2014-07-18 19:20:53 +02:00
Forrest McDonald
da93a960af
clang fix for narrowing
2014-07-18 19:14:41 +02:00
sudonim1
85bb789ffa
Merge pull request #148 from Sonicadvance1/remove-dictionary
...
Remove most of HashTools.
2014-07-16 18:10:56 +01:00
Ryan Houdek
ba7b0612dc
Use the iterator to get the value from maps to avoid two look ups.
2014-07-16 12:00:50 -05:00
Kingcom
3db06d7426
Highlight arguments from disassembler selection
2014-07-16 16:20:03 +02:00
ramapcsx2
d6b042f9fe
Merge branch 'master' of https://github.com/PCSX2/pcsx2
2014-07-16 12:32:51 +02:00
Ryan Houdek
391cf379ae
Remove usages of HashTools::Dictionary/HashMap
...
Replace these usages with unordered_map since they are just as quick
2014-07-15 22:02:14 -05:00