Emmanuel Gil Peyrot
a31fd7f86b
Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types.
11 years ago
Yuri Kunde Schlesner
c8eae338a8
Common: Use the log system to print assert messages
11 years ago
Yuri Kunde Schlesner
b88c91dd3d
Common: Remove async logging
It provided a large increase in complexity of the logging system while
having a negligible performance impact: the usage patterns of the ring
buffer meant that each log contended with the logging thread, causing
it to effectively act as a synchronous extra buffering.
Also removed some broken code related to filtering of subclasses which
was broken since it was introduced. (Which means no one ever used that
feature anyway, since, 8 months later, no one ever complained.)
11 years ago
Yuri Kunde Schlesner
b700b55696
Common: Remove the BIT macro
When the macro was introduced in 326ec51261
it wasn't noticed that it conflicted in name with a heavily used macro
inside of dyncom. This causes some compiler warnings. Since it's only
lightly used, it was opted to simply remove the new macro.
11 years ago
Yuri Kunde Schlesner
326ec51261
Common: Add BIT macro
11 years ago
Yuri Kunde Schlesner
8809d02db3
Common: Add StringFromFixedZeroTerminatedBuffer
11 years ago
Yuri Kunde Schlesner
ed12b08e7a
Profiler: Fix off-by-one error when computing average.
11 years ago
Yuri Kunde Schlesner
3396f352cb
Common: Remove mem_arena.cpp/h
It is superfluous for Citra. (It's only really necessary if you're doing
JIT. We were using it but not taking any advantage from it.) This should
make 32-bit builds work again.
11 years ago
Yuri Kunde Schlesner
d9df5b575a
Common: Remove hash.cpp/h
Currently unused and the code quality is pretty questionable.
11 years ago
Yuri Kunde Schlesner
fae5933ad6
Common: Add proper macros to test for architecture pointer size
The old system of just defining macros available in some other platform
was susceptible to silently using the wrong code if you forgot to
include a particular header. This fixes a crash on non-Windows platforms
introduced by e1fbac3ca1 .
11 years ago
Lioncash
9adad45b0f
string_util: Get rid of UriDecode/UriEncode
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Yuri Kunde Schlesner
1bd1a13a02
Common: Move alignment macros to common_funcs.h
11 years ago
Yuri Kunde Schlesner
ae963d75f8
Common: Move SSE detection ifdefs to platform.h
11 years ago
Yuri Kunde Schlesner
a594fdb66e
Common: Remove more unused compatibility defines
11 years ago
Yuri Kunde Schlesner
f3c096951b
Common: Move IO-specific compatibility macros to file_util.cpp
11 years ago
Yuri Kunde Schlesner
bf12f270b3
Common: Remove many unnecessary cross-platform compatibility macros
11 years ago
Yuri Kunde Schlesner
c0eaa662d4
Clean-up includes
11 years ago
Yuri Kunde Schlesner
c916bcf7b5
Move typedefs from kernel.h to more appropriate places
11 years ago
Yuri Kunde Schlesner
6ad71c216b
Common: Move NonCopyable to common_types.h
11 years ago
Yuri Kunde Schlesner
7a4b717772
Common: Use C++11 deleted functions for NonCopyable
11 years ago
Yuri Kunde Schlesner
1fee769aa0
Common: Remove unused enums
11 years ago
Zaneo
b8328593fe
EmuWindow: Clip mouse input coordinates to emulated screen dimensions.
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to
the emulated screen dimensions.
Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction
to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
11 years ago
Yuri Kunde Schlesner
6402de9ae7
Common: thread.h cleanups
The helper classes are rendered obsolete by C++11 lambdas. Also made
formatting conform to our code style.
11 years ago
bunnei
7b9f428b23
Thread: Implement priority boost for starved threads.
SVC: Return correct error code on invalid CreateThread processor ID.
SVC: Assert when creating a thread with an invalid userland priority.
11 years ago
purpasmart96
198c0ddc72
Services: Stubs and minor changes
11 years ago
Lioncash
e05d6220f5
disassembler: Get rid of a const_cast
11 years ago
Emmanuel Gil Peyrot
188b419586
Common: Fix logic for setting EMU_DATA_DIR.
11 years ago
Emmanuel Gil Peyrot
4c684fb274
Common: Make a #else more apparent.
11 years ago
Subv
c0d1a91017
EmuWindow: Fixed a reference to a temporary variable
in GetTouchState()
11 years ago
bunnei
d61b26b79f
HID: Complete refactor of pad/touch input to fix threading issues.
11 years ago
bunnei
953e09ddb5
EmuWindow: Made pad/touch functions non-static.
11 years ago
bunnei
543232436f
EmuWindow: Added infrastructure code to enable touchpad support.
11 years ago
archshift
041e99b613
Added LCD registers, and implementation for color filling in OGL code.
11 years ago
bunnei
25633b431d
Fixed EmuWindow typo (fixes OSX build)
11 years ago
bunnei
9960c49c21
Set framebuffer layout from EmuWindow.
11 years ago
Emmanuel Gil Peyrot
0aa44e238d
Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.
11 years ago
archshift
e011acaa84
Removed swap code redundancy and moved common swap code to swap.h
11 years ago
Yuri Kunde Schlesner
dc8a3f8bc8
Profiler: Implement QPCClock to get better precision on Win32
MSVC 2013 (at least) doesn't use QueryPerformanceCounter to implement
std::chrono::high_resolution_clock, so it has bad precision. Manually
implementing our own clock type using it works around this for now.
11 years ago
Yuri Kunde Schlesner
cd1fbfcf1b
Add profiling infrastructure and widget
11 years ago
Emmanuel Gil Peyrot
129ad721c1
Common: Switch to the XDG Base Directory Specification for directory selection.
This allows for easily movable and independent configuration and data directories, using standardized paths.
11 years ago
archshift
0420a4d1de
Added information reporting from ThrowFatalError
This was RE'd from the errdisp applet.
11 years ago
Emmanuel Gil Peyrot
54d6f6c82b
Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.
11 years ago
archshift
4fb75d220a
Misc cleanup of common and related functions
11 years ago
archshift
302f0b32f5
Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h
11 years ago
archshift
49f94b82b4
Remove "super lame/broken" file_search compilation unit that was leftover from Dolphin
11 years ago
archshift
961f65d1fe
Remove redundant utf8 compilation unit that was leftover from Dolphin
11 years ago
archshift
9f7f1a2272
Remove useless extended_trace compilation unit that was leftover from Dolphin
11 years ago
archshift
5efd149ad5
Remove the useless msg_handler compilation unit that was left over from Dolphin
11 years ago
Yuri Kunde Schlesner
714d507938
Asserts: Use lambdas to keep assertion code away from the main code path
11 years ago