Commit Graph

191 Commits (061c69a6bb23f4a4812a23f4f9d063e0a7679122)

Author SHA1 Message Date
Daniel Lundqvist 3f3b890694 Change popout mode to "Single Window Mode" 11 years ago
Daniel Lundqvist a35e3a8632 Set object name for the graphics debugger
Setting an object name for GPUCommandStreamWidget allows for saving the
graphics debugger's state (if it's show, position, etc). This state is
then restored when restarting the application.
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
Tony Wasserka 47543d62cf Pica: Cleanup color conversion. 11 years ago
Tony Wasserka b03a97e0b8 citra-qt: Fix displaying RGBA5551 framebuffers.
(not that it matters at the moment, because this code is not used yet)
11 years ago
Tony Wasserka e1144e364e citra-qt: Always show pica framebuffers as RGBA8.
We actually don't really know yet how the format is encoded. Hence just use what works.
11 years ago
Chin 3aeb5970e5 Add citra icon to Windows executable and title bar 11 years ago
bunnei dedbdb2dfb Merge pull request #344 from Yllodra/Qt-Oddities
Allow focus on the Qt render widget
11 years ago
bunnei 487a80f9f7 Merge pull request #347 from bunnei/frameskip
Frameskip
11 years ago
bunnei 3b9d181b8e GPU: Implement frameskip and remove forced framebuffer swap hack. 11 years ago
xdec e6162ed91e Qt: we don't need to check if model is valid. 11 years ago
xdec 8de09d87ab Fix crash when the disassembler pause button is pressed while no game is running. 11 years ago
bunnei a2005d0657 GPU: Change internal framerate to 30fps. 11 years ago
Daniel Lundqvist 7e3f62a367 Remove duplicate work 11 years ago
Daniel Lundqvist ba4ca041f4 Allow focus only when in popout mode
Only allow manually setting focus to the rendering widget when in Single Window mode. Apply this behavior to when changing the mode while an app is running.
11 years ago
Daniel Lundqvist 9d90b26020 Allow focus on the Qt render widget
By default widgets are set to the focus policy Qt::NoFocus which disallows manually focusing it. Changing the policy to allow clicking the widget to set focus to it allows for keyboard input when not rendering to a popout window. This commit also sets focus to the widget when showing it.

Fixes issue #158.
11 years ago
bunnei 949d95659e Merge pull request #275 from yuriks/cmake-clean
Clean up CMake library specification
11 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
11 years ago
purpasmart96 ebfd831ccb License change 11 years ago
Tony Wasserka 79c29243ed Pica/DebugUtils: Add an event triggered after loading a vertex. 11 years ago
Tony Wasserka 1c972ef3b9 Add support for a ridiculous number of texture formats. 11 years ago
Tony Wasserka 40f123b7c0 Pica: Unify ugly address translation hacks. 11 years ago
Tony Wasserka 3df88d59b0 Pica: Merge texture lookup logic for DebugUtils and Rasterizer.
This effectively adds support for a lot texture formats in the rasterizer.
11 years ago
Tony Wasserka 782592e6d3 citra-qt: Fix invalid memory read upon program startup.
This was caused by the framebuffer display widget not checking whether we are actually in a valid emulation state or not.
11 years ago
Tony Wasserka fd2539121c Pica: Initial support for multitexturing. 11 years ago
Tony Wasserka 8cd0d9c000 citra-qt: static-constify a map. 11 years ago
Chin e795692614 Clean up some warnings 11 years ago
Yuri Kunde Schlesner ca67bb7945 HLE: Rename namespaces to match move & fix initialization order 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 4d2a6f8b9b Remove old logging system 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
Tony Wasserka 8b8131baec More cleanups. 11 years ago
Tony Wasserka ac4d7462cb citra-qt: Rename "Stop Tracing" to "Finish Tracing".
This better reflects that no commands are supposed to show up until you hit the button a second time.
11 years ago
Tony Wasserka 79bb403089 More coding style fixes. 11 years ago
Tony Wasserka 0cd27a511e Some code cleanup. 11 years ago
Tony Wasserka 55ce9aca71 citra-qt: Add pica framebuffer widget. 11 years ago
Tony Wasserka 2793619dce citra_qt: Add enhanced texture debugging widgets.
Double-clicking a texture parameter command in the pica command lists will spawn these as a new tab in the pica command list dock area.
11 years ago
Tony Wasserka fd194d95b0 citra-qt: Add texture viewer to Pica command list.
The texture viewer is enabled when selecting a write command to one of the texture config registers.
11 years ago
Tony Wasserka c63a495de6 Add GUI widget for controlling pica breakpoints. 11 years ago
Tony Wasserka 2c71ec7052 Pica/DebugUtils: Add breakpoint functionality. 11 years ago
Tony Wasserka 706f9c5574 citra-qt: Polish the pica tracing widget.
Changed start/stop button to reflect current tracing status.
Properly labeled column headers.
11 years ago
Tony Wasserka bf6b23f4a0 citra-qt: Add a utility spinbox class called CSpinBox.
This class has a few advantages over the regular QSpinBox:
- QSpinBox stores its as signed 32 bit integers, which for instance is unsuitable for representing memory addresses. CSpinBox uses 64 bit integers instead.
- QSpinBox does not provide an easy way to handle number input from bases different than 10.
- QSpinBox is quite inflexible in general and almost any sort of customization requires reimplementing it anyway.
11 years ago
ichfly 1aa969741d Loader: Add 3DSX support 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 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 688a5c033e citra-qt: Small cleanup. 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 0fab380801 Citra-Qt: Use Core::RunLoop when not single stepping. 11 years ago
archshift 1efb83bf53 Qt: Auto-start game when selected, play game that's passed via argv[1].
Also moves system initialization to when the game is booted.
11 years ago
Sean 371b61f3ea Add support for disabling log from settings 11 years ago
Gareth Poole 1c074ced94 Fixed capitalization issues 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
archshift 09e19f9f1e Added `gpu_refresh_rate` config setting for the new interpreter speed hack. 11 years ago
archshift 0783498f57 Use configuration files to enable or disable the new dyncom interpreter. 11 years ago
Yuri Kunde Schlesner d72708c1f5 Add `override` keyword through the code.
This was automated using `clang-modernize`.
11 years ago
bunnei b5e6524594 ARM: Reorganized file structure to move shared SkyEye code to a more common area.
Removed s_ prefix
11 years ago
archshift a59f57d504 Use config files to store whether SDMC is enabled or not
Before, it used to use whether the directory actually existed. As a result, .citra-emu/sdmc was never auto-created (something quite confusing to me until I read through the logs).
11 years ago
Yuri Kunde Schlesner ac54cd13db OpenGL renderer: Request a forward compatible context in citra-qt
This should fix context creation on OS X. Also requests a core context on all platforms in Citra-GLFW, for consistency.
11 years ago
archshift e6594f9f53 Added configuration file system.
Uses QSettings on citra-qt, and inih on citra-cli.
11 years ago
bunnei 5481115e71 Merge pull request #97 from archshift/cleanup
Small, general code cleanup
11 years ago
Kevin Hartman 02fd19b2f6 Added support for multiple input device types for KeyMap and connected Qt. 11 years ago
archshift 9c0efdb75b bootmanager::EmuThread: fixed initialization order 11 years ago
Lioncash 403c84cdab core: Make the ARM disassembler use std::string internally 11 years ago
Yuri Kunde Schlesner c57de3e404 Remove hand-crafted Visual Studio solution. 11 years ago
Yuri Kunde Schlesner 45976da975 CMake cleanup
Several cleanups to the buildsystem:
 - Do better factoring of common libs between platforms.
 - Add support to building on Windows.
 - Remove Qt4 support.
 - Re-sort file lists and add missing headers.
11 years ago
Yuri Kunde Schlesner 478289140d Replace GLEW with a glLoadGen loader.
This should fix the GL loading errors that occur in some drivers due to
the use of deprecated functions by GLEW. Side benefits are more accurate
auto-completion (deprecated function and symbols don't exist) and faster
pointer loading (less entrypoints to load). In addition it removes an
external library depency, simplifying the build system a bit and
eliminating one set of binary libraries for Windows.
11 years ago
bunnei 6966fdf025 Loader: Added support for loading raw BIN executables.
- Useful for debugging homebrew

Qt: Updated GUI to support loading .bin files.
11 years ago
Tony Wasserka c4691b784b Pica: Add support for dumping textures. 11 years ago
Tony Wasserka 26ade98411 Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated. 11 years ago
Sacha 1b1205cf73 Pass format to the QGLWidget and use atomic instead of mutex. 11 years ago
Sacha b044510fa9 Fix EmuThread loop by ensuring it exits properly.
Note: There is a pre-existing issue with booting a new game in that it keeps the old EmuThread.
The GL code now supports this but the Core still doesn't.
11 years ago
Sacha a3a70e56ac Fix the threading for GL Context in Qt5.
Connect the emu_thread start/finish to a moveContext slot.
11 years ago
archshift d93dc81953 Revert "Removed redundant loop in EmuThread::run()" 11 years ago
Sacha 90f23020f5 Add Qt5 option. Use Qt5 by default. 11 years ago
Sacha b7ecc9543a CMake Cleanup 11 years ago
archshift 9a4e58c370 Removed redundant loop in EmuThread::run() 11 years ago
archshift 6096b289b7 Bootmanager: changed `filename` to std::string 11 years ago
bunnei 0ccd026a6d Merge pull request #41 from archshift/itr
Changed iterators to use auto, many of which using range-based loops
11 years ago
Tony Wasserka 76a586de49 Pica: Add command processor. 11 years ago
archshift 5a7c3ad194 Changed iterators to use auto, some of which using range-based loops 11 years ago
Tony Wasserka 9c781a6c76 Remove the fancy RegisterSet class introduced in 4c2bff61e.
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures.
Instead, we now use a more conventional approach which is a lot more clean to use.
11 years ago
bunnei 4e9f305ed2 GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.
- Various other cleanups.
11 years ago
bunnei 2003ccf09d Qt: Removed unnecessary HW::Update. 11 years ago
bunnei 866d2a62e9 Merge pull request #27 from neobrain/disassembly_view_rewrite
citra-qt: Rewrite disassembly view.
11 years ago
Tony Wasserka c131fb2c27 citra-qt: Show function names in disassembler based on bunnei's suggestion. 11 years ago
Tony Wasserka 456b9feb25 Disassembler: Chose slightly lower value for chunk size. 11 years ago
Tony Wasserka 9b0d0c81a0 GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.
Anonymous structs are not standard C++, hence don't use them.
11 years ago
bunnei 1ccdb6a769 Qt: Updated open dialog to include NCCH formats. 11 years ago
Tony Wasserka fd78786828 citra-qt: Rewrite disassembly view. 11 years ago
bunnei 469fe42fad Merge pull request #22 from bunnei/loader-improvements
Refactor loader code and add preliminary NCCH support
11 years ago
bunnei 7889cafc76 Loader: Implemented AppLoader interface for abstracting application loading.
- Various cleanups/refactorings to Loader, ELF, and NCCH modules.
- Added AppLoader interface to ELF and NCCH.
- Updated Qt/GLFW frontends to check AppLoader ResultStatus.

NCCH: Removed extra qualification typos.

Loader: Removed unnecessary #include's.

NCCH: Improved readability of memcmp statements.

NCCH: Added missing space.

Elf: Removed unnecessary usage of unique_ptr.

Loader: Removed unnecessary usage of unique_ptr.
11 years ago