Commit Graph

105 Commits (e83bc5b7ee45ae24821c4cd185dd6a14dbd3b4d4)

Author SHA1 Message Date
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 11 years ago
Yuri Kunde Schlesner bf12f270b3 Common: Remove many unnecessary cross-platform compatibility macros 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
archshift cae89fb315 Allow the user to set the background clear color during emulation
The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
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 dd73217ae3 GLFW: Implemented EmuWindow touchpad support. 11 years ago
bunnei 3da94a597b Merge pull request #634 from linkmauve/logging-performances
Apply the logging filter before sending the message to the queue
11 years ago
archshift 539bbd3c59 default_ini.h: Put comments on their own lines
Apparently inline comments is not necessarily standard in the INI format, and our parser was erroneously parsing the comments as values.
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
Emmanuel Gil Peyrot aa64f69af0 Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one. 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
bunnei ca22ee3239 Merge pull request #526 from purpasmart96/citra_stubs
Services: Stub some functions
11 years ago
purpasmart96 60ce36f721 Services: Stub some functions 11 years ago
Lioncash f44781fd7b arm: Adios armemu 11 years ago
archshift 1f109c6b49 Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx 11 years ago
darkf 67c644e317 Fix building on MinGW 11 years ago
Johannes Ekberg d7ad14ae20 Use -pthread where and only where needed
Passing -pthread to GCC as a flag makes it both link to libpthread, and make C standard library routines reentrant. This makes the additional explicit links unnecessary.

Additionally, on OSX, this is the default behavior, and clang will print a message about it being unused if it's present there.
11 years ago
Johannes Ekberg 7d7ab70279 Generic PLATFORM_LIBRARIES var
This both reduces redundancy in add_executable definitions, and makes it easier to link additional libraries. In particular, extra libraries are needed on OSX - see next commit.
11 years ago
Yuri Kunde Schlesner cdde76f2aa Frontends: Shutdown core when emulation is stopped 11 years ago
bunnei 853b46c681 Core: Change default CPU to dyncom. 11 years ago
Subv 97a7381d29 SOC_U: Preliminary implementation of sockets.
Stubbed CreateMemoryBlock

Using Berkeley sockets, and Winsock2.2 on Windows.
So far ftpony creates the socket and accepts incoming connections

SOC_U: Renamed functions to maintain consistency

Also prevents possible scope errors / conflicts with the actual Berkeley socket functions

SOCU: Close all the opened sockets when cleaning up SOCU
11 years ago
Chin 3aeb5970e5 Add citra icon to Windows executable and title bar 11 years ago
darkf 5d10b212ec Fix MSVC-related #defines and add CMakeLists comment 11 years ago
darkf 8ba9ac0f74 Fix merge conflicts 11 years ago
bunnei 3b9d181b8e GPU: Implement frameskip and remove forced framebuffer swap hack. 11 years ago
bunnei a2005d0657 GPU: Change internal framerate to 30fps. 11 years ago
bunnei 949d95659e Merge pull request #275 from yuriks/cmake-clean
Clean up CMake library specification
11 years ago
purpasmart96 ebfd831ccb License change 11 years ago
Yuri Kunde Schlesner 06f31e8b47 Clean up CMake library specification
The X11 libraries don't need to be specified when doing dynamic linking
11 years ago
Yuri Kunde Schlesner 0e0a007a25 Add configurable per-class log filtering 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago
Yuri Kunde Schlesner 616d874443 New logging system 11 years ago
Rohit Nirmal 8a62423970 Change NULLs to nullptrs. 11 years ago
bunnei 1827bb1fcc Merge pull request #196 from archshift/settings
Merge Config::ReadXYZs
11 years ago
Emmanuel Gil Peyrot 648743cf66 GLFW: Add an error callback before calling glfwInit()
It will print a message to know what happened in case something went wrong in a GLFW call.

Also replace every printf() in the glfw emu-window by ERROR_LOG().
11 years ago
darkf 459502e48c Fix MinGW build 11 years ago
Emmanuel Gil Peyrot 739bb58c3a Remove tabs in all files except in skyeye imports and in generated GL code 11 years ago
Emmanuel Gil Peyrot f5d38649c7 Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated 11 years ago
archshift 06c9712bc7 Merge Config::ReadXYZs 11 years ago
Tony Wasserka 963c923d59 citra GLFW: Ignore minimal window size hints.
GLFW provides no proper support for this, hence we just allow any window size to be used.
11 years ago
Tony Wasserka 182476c96a EmuWindow: Remove window title getters/setters.
The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there.
Providing properly thread-safe window title getters and setters is a mess anyway.
11 years ago
Tony Wasserka 722ce22589 EmuWindow: Add support for specifying minimal client area sizes. 11 years ago
Tony Wasserka bd8f491e4c Fixup EmuWindow interface and implementations thereof. 11 years ago
Kevin Hartman 221a9b023d Viewport scaling and display density independence
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window.
On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
11 years ago
Tony Wasserka 80e9c02bd6 Merge pull request #159 from SeannyM/enable_log
Add support for disabling log from settings
11 years ago
bunnei 3409790668 ARM: Fixed several dyncom bugs.
- Fixed NZCVT flags to properly save state when function returns.
- Fixed counter to keep track of the actual number of instructions executed.
- Fixed single-step mode to only execute one instruction at a time.
- DefaultIni: Removed comment that no longer applied to dyncom.
11 years ago
Sean 371b61f3ea Add support for disabling log from settings 11 years ago
bunnei 48f80bb79e Merge pull request #151 from archshift/dyncom-enabled
Use configuration files to enable or disable the new dyncom interpreter.
11 years ago