Commit Graph

2886 Commits

Author SHA1 Message Date
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
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
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
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