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
purpasmart96
c3c309f33d
ConfigMem: Clean up the Config memory to be more like the shared page and moved
the helper macro for padding to common_funcs.h
11 years ago
Lioncash
3c474a7d31
backend: Add logging subentry for ldr
Fixes an assertion upon executing citra in debug mode.
11 years ago
Subv
8e2b248e05
Build: Fixed some warnings
11 years ago
archshift
ef24e72b26
Asserts: break/crash program, fit to style guide; log.h->assert.h
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)
Also removed some GEKKO cruft.
11 years ago
purpasmart96
60ce36f721
Services: Stub some functions
11 years ago
chinhodado
34cce345a7
Fix a wrong file name in a comment
11 years ago
Yuri Kunde Schlesner
fc11aff955
Common: Fix SCOPE_EXIT to actually create unique identifiers.
11 years ago
archshift
1f109c6b49
Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx
11 years ago
archshift
228843c43e
Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.
11 years ago
Yuri Kunde Schlesner
122c2bb324
Common: Clean up ThreadQueueList
Replace all the C-style complicated buffer management with a std::deque.
In addition to making the code easier to understand it also adds support
for non-POD IdTypes.
Also clean the rest of the code to follow our code style.
11 years ago
Subv
9bf82beb4c
CoreTiming: Ported the CoreTiming namespace from PPSSPP
Implemented the required calls to make it work.
CoreTiming: Added a new logging class Core_Timing.
11 years ago
Emmanuel Gil Peyrot
6b411c63c9
Common: Remove dead platform #ifdefs to make the code more readable.
Symbian, Xbox, Blackberry and iOS got removed.
FreeBSD and Android kept due to them potentially being able to run Citra in the future.
The iOS specific part also got removed from PPSSPP in order to fix a bug there.
11 years ago
Emmanuel Gil Peyrot
66e06f65c4
Common: Use std::abs instead of abs, using abs with cmath fails on some systems.
11 years ago
Emmanuel Gil Peyrot
ffe4cc9c5a
Common: Remove the unused x86-specific 128-bit float type.
11 years ago
Subv
71a063f45c
Archives: Changed the way paths are built for the archives.
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
11 years ago
Subv
cfd7b219f6
SaveDataCheck: Move the files to nand/title
under /nand/title/high/low/content/00000000.app.romfs
11 years ago
Subv
3bc9f5509b
Archives: Change the folder layout of some archives.
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
11 years ago