Yuri Kunde Schlesner
d96a9e0c11
Service: Remove unnecessary includes from service.h
...
This has a huge fallout in terms of needing to fix other files because
all service implementations included that file.
2017-06-06 02:57:23 -07:00
Kloen
b763220dec
Remove unused imports in game_list_p.h
2017-06-03 17:43:37 +02:00
TheKoopaKingdom
f008b22e3b
Addressed Bunnei's review comments, and made some other tweaks:
...
- Deleted GetStatus() because it wasn't used anywhere outside of Core::System.
- Fixed design flaw where the message bar status could be set despite the game being stopped.
2017-06-02 18:40:39 -04:00
TheKoopaKingdom
ff04320c97
Fixed wiki URLs.
2017-06-02 18:40:39 -04:00
TheKoopaKingdom
a8aef599e0
Created a whitelist of system archives to prevent false positives creating dialogs.
2017-06-02 18:28:14 -04:00
TheKoopaKingdom
0409bdfea5
Optimized messages that were repetitive and added ability for core errors to specify more details optionally.
2017-06-02 18:28:14 -04:00
TheKoopaKingdom
b6bab59000
Added message to status bar to show core errors ignored by the user.
2017-06-02 18:28:14 -04:00
TheKoopaKingdom
37bec598ea
Made some changes from review comments:
...
- Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review).
- Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore.
- Made dialog messages more clear.
- Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic.
- Cleaned up some other stuff.
2017-06-02 18:28:14 -04:00
TheKoopaKingdom
1ecb322daa
Added system for handling core errors in citra-qt.
2017-06-02 18:27:56 -04:00
bunnei
af1ff4d3ce
Merge pull request #2739 from yuriks/kernel-reorg
...
Split-up kernel.h
2017-05-31 19:46:15 -04:00
Yuri Kunde Schlesner
64ecf81a3c
Kernel: Move WaitObject to a separate file
...
Now that HandleTable doesn't directly depend on WaitObject anymore, this
can be separated from the main kernel.h header.
2017-05-29 16:16:46 -07:00
Yuri Kunde Schlesner
d736cca848
CMake: Create INTERFACE targets for microprofile and nihstro
2017-05-27 22:34:52 -07:00
Yuri Kunde Schlesner
34b6c8bd88
CMake: Remove CITRA_QT_LIBS var
...
This used to be required to support both Qt4 and Qt5, but we dropped Qt4
so it's not needed anymore.
2017-05-27 20:53:39 -07:00
Yuri Kunde Schlesner
089baa04e8
CMake: Stop using FindOpenGL, which seems to not be required anymore
2017-05-27 20:48:00 -07:00
Yuri Kunde Schlesner
0f563111a2
CMake: Use IMPORTED target for Boost
2017-05-27 20:44:51 -07:00
Yuri Kunde Schlesner
7b81903756
CMake: Correct inter-module dependencies and library visibility
...
Modules didn't correctly define their dependencies before, which relied
on the frontends implicitly including every module for linking to
succeed.
Also changed every target_link_libraries call to specify visibility of
dependencies to avoid leaking definitions to dependents when not
necessary.
2017-05-27 18:41:24 -07:00
Yuri Kunde Schlesner
e91f2b7663
Remove some unnecessary inclusions of video_core.h
2017-05-27 18:41:24 -07:00
Yuri Kunde Schlesner
eb10f25025
Move screen size constants from video_core to core
...
video_core didn't even properly use them, and they were the source of
many otherwise-unnecessary dependencies from core to video_core.
2017-05-27 18:41:24 -07:00
James Rowe
fc2f7b0df6
Frontend: Prevent FileSystemWatcher from blocking UI thread
...
Instead of tying the QFileSystemWatcher to the GameList and updating in
the UI thread, this change moves it to the worker thread. Since it gets
deleted and recreated as part of the worker thread, this prevents it from
ever getting used from multiple threads (which is why it was originally
done on the UI thread)
2017-05-10 09:37:44 -06:00
Yuri Kunde Schlesner
6577bbc3c5
Remove ability to load symbol maps
...
This was now mostly unused except by thread creation, which used a
symbol of the entrypoint, if available, to name the thread.
2017-05-07 15:33:07 -07:00
Yuri Kunde Schlesner
4af2a1a3d7
citra-qt: Remove callstack widget
...
Appears to be currently broken, and given the complexity of doing this
for ARM code without debugging information, should probably be left to
an external tool or library. Use the GDB stub instead.
Closes #586
2017-05-07 15:32:47 -07:00
Yuri Kunde Schlesner
47e806b084
citra-qt: Remove disassembler widget
...
It has performance problems, a very misleading UI, and is broken in
general. It has essentially been superceded by the GDB stub, but if we
wanted a built-in disassembler in the future it'd essentially need to be
rewritten from scratch anyway.
Closes #427 , #1480
2017-05-07 15:29:36 -07:00
Yuri Kunde Schlesner
e33558c6ce
Merge pull request #2682 from nicoboss/filter
...
citra-qt: game list search function fixed minor mistakes
2017-05-07 13:46:46 -07:00
Nico Bosshard
db256ea395
Don’t focus the search field if the game is empty
2017-05-06 12:08:28 +02:00
B3n30
8bee016145
Create a random console_unique_id ( #2668 )
...
* Create a random console_id when config save_file is created
Added button in system config to refresh the console unique id
* Moved the connect for the button from .ui file to constructor of ConfigureSystem
* Added warning and info dialog
Fixup: Make use of qt5 style connects,
renamed the refresh button,
removed some duplicate code,
changed random device and moved all to the generate function
* Changed the random generator to reflect what a real 3DS stores as console unique id
Fixup: Changed the warning message
* Fixup: Set and Create
* Fixup: Added console id label, therfore removed second message box
* Fixup: fixed the endianess
* Fixup: more endianness fixes
* Fixup: Endianness the 3rd
2017-05-05 20:55:51 -04:00
bunnei
de1b6cc695
Merge pull request #2606 from wwylele/ir
...
ir: implement circle pad pro
2017-05-03 22:34:12 -04:00
Nico Bosshard
89c28f9f80
Fixed some more typos
2017-05-03 00:23:20 +02:00
Nico Bosshard
f447dfc36b
citra-qt: game list search function fixed minor mistakes
2017-05-02 23:55:27 +02:00
Nico Bosshard
06d4654966
citra-qt: game list search function ( #2673 )
...
* citra-qt: game list search function
* Empty search field during game list refresh
* Code improvements
* Code formatting
* Autofocus search field
* JayFoxRox's recommendations
* lioncash's review
2017-04-29 22:04:39 -04:00
Cereal-Killa
bf18e584e5
Better looking status bar under Linux Ubuntu ( #2662 )
...
* Remove borders from status bar items
On Ubuntu the status bar didn't look as good as on Windows due to some border being drawn around each status bar cell.
2017-04-12 19:14:52 -06:00
wwylele
6843538f7c
qt: enable config for circle pad pro
2017-04-09 12:05:57 +03:00
Lioncash
1631e99eed
citra-qt: Move config dialog code to its own directory
2017-04-03 20:43:13 -06:00
bunnei
ccc3985cc0
Merge pull request #2512 from SonofUgly/custom-layout
...
Add custom layout settings.
2017-03-21 22:57:31 -04:00
wwylele
560884336f
citra-qt: remove dead code
2017-03-17 21:45:29 +02:00
wwylele
5245c86f26
citra-qt: release all buttons when render window focus is lost
...
credit to @Hawkheart for the original idea
2017-03-17 21:41:25 +02:00
wwylele
b5faa68120
qt/config_input: don't connect for null button
2017-03-02 13:29:28 +02:00
wwylele
e02c4b7195
Input: remove unused stuff & clean up
...
1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID
2. removed button handling in EmuWindow
3. removed key_map
4. cleanup #include
2017-03-01 23:30:57 +02:00
wwylele
e7a602fe16
Qt: rework input configuration for new input system
2017-03-01 23:30:57 +02:00
wwylele
a6bd7917cb
InputCommon: add AnalogFromButton
2017-03-01 23:30:57 +02:00
wwylele
38e800f70d
InputCommon: add Keyboard
2017-03-01 23:30:57 +02:00
Mat M
0cb52ee74a
Doxygen: Amend minor issues ( #2593 )
...
Corrects a few issues with regards to Doxygen documentation, for example:
- Incorrect parameter referencing.
- Missing @param tags.
- Typos in @param tags.
and a few minor other issues.
2017-02-26 17:58:51 -08:00
Yuri Kunde Schlesner
b250ce21b9
Merge pull request #2587 from yuriks/status-bar
...
Replace built-in Profiler with indicators in status bar
2017-02-26 17:51:15 -08:00
Yuri Kunde Schlesner
1469b3212b
Qt: Tweak status bar styling
2017-02-26 17:22:04 -08:00
Yuri Kunde Schlesner
915d69ac4c
Qt: Increase status bar update interval to 2 seconds
2017-02-26 17:22:04 -08:00
Yuri Kunde Schlesner
f273959205
Qt: Add tooltips to status bar displays
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
008c709dbf
Qt: Don't show fractional figures in the status bar
...
They're not very important and this makes the display changes less
often, making it less distracting.
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
3b4e400333
Remove built-in (non-Microprofile) profiler
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
c75ae6c585
Add performance statistics to status bar
2017-02-26 17:22:03 -08:00
Yuri Kunde Schlesner
1b28b26682
Qt: Add (empty) status bar
2017-02-26 17:22:02 -08:00
Yuri Kunde Schlesner
441f8b5a4b
Core: Remove unnecessary include in thread.h
2017-02-26 17:22:01 -08:00
James Rowe
26823cd38b
Use QFileSystemWatcher to reload the game list when a change is detected. ( #2555 )
...
* Added a refresh game directory option to the file menu
* Make the game list watcher recursive and have it start watching from the initial load
* Rework game list watcher to be thread safe
* Fix code style issues
2017-02-23 16:29:00 -05:00
bunnei
4dee08b343
Merge pull request #2441 from jroweboy/titlebar
...
Gui: Change title bar to include build name
2017-02-23 16:24:48 -05:00
SonofUgly
e0a4450bbd
Add custom layout settings.
2017-02-23 10:49:56 -08:00
James Rowe
b090422991
Gui: Change title bar to include build name
...
Nightly builds now have "Citra Nightly" in the titlebar
Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar
2017-02-23 00:42:55 -07:00
Anthony
a7360f2642
[UI] Modify recursive scanning label ( #2589 )
2017-02-22 21:45:03 -08:00
Yuri Kunde Schlesner
80762583c2
Qt: Move some connections from .ui file to code
2017-02-18 02:30:29 -08:00
Yuri Kunde Schlesner
5b96915c69
Qt: Reorganize connection of menu events
2017-02-18 02:26:57 -08:00
Yuri Kunde Schlesner
4cb1f36896
Qt: Re-organize setup of debugging widgets
2017-02-18 02:16:24 -08:00
Yuri Kunde Schlesner
e823c908ea
Qt: Fix action name to match conventions
2017-02-18 01:11:57 -08:00
Yuri Kunde Schlesner
cef18c94e2
Qt: Make IsSingleFileDropEvent static
2017-02-17 21:44:00 -08:00
Yuri Kunde Schlesner
c81a2aabbf
Qt: Allow any file extension in Open dialog
2017-02-17 21:44:00 -08:00
Yuri Kunde Schlesner
c7c0219f8a
Qt: Remove orpahned function declaration
2017-02-17 21:44:00 -08:00
Yuri Kunde Schlesner
5f00fe905c
Qt: Remove unnecessary std::string usage
2017-02-17 21:44:00 -08:00
noah the goodra
6bcd5ce047
added drag n drop feature
2017-02-16 14:43:18 -06:00
Yuri Kunde Schlesner
f75e964d49
Qt/GameList: Use suffix() to parse the file extension
...
completeSuffix returns everything after the first period, which means
that a file such as `foo.bar.3ds` would not get recognized.
2017-02-13 19:03:59 -08:00
Yuri Kunde Schlesner
443bb3d522
Merge pull request #2550 from yuriks/pica-refactor2
...
Small VideoCore cleanups
2017-02-12 12:33:26 -08:00
Kloen Lansfiel
30ff675f02
citra-qt: Don't attempt to scan files with unsupported extensions ( #2402 )
2017-02-12 12:28:56 -08:00
Yuri Kunde Schlesner
60fc0b086f
VideoCore: Split regs.h inclusions
2017-02-09 00:04:24 -08:00
Yuri Kunde Schlesner
f241bb72f5
Pica/Regs: Use binary search to look up reg names
...
This gets rid of the static unordered_map. Also changes the return type
const char*, avoiding unnecessary allocations (the result was only used
by calling .c_str() on it.)
2017-02-09 00:04:24 -08:00
Yuri Kunde Schlesner
5759d94b5c
VideoCore: Move Regs to its own file
2017-02-04 13:59:12 -08:00
Yuri Kunde Schlesner
23713d5dee
VideoCore: Split framebuffer regs from Regs struct
2017-02-04 13:59:11 -08:00
Yuri Kunde Schlesner
9017093f58
VideoCore: Split texturing regs from Regs struct
2017-02-04 13:59:09 -08:00
Yuri Kunde Schlesner
000e78144c
VideoCore: Split rasterizer regs from Regs struct
2017-02-04 13:08:47 -08:00
Yuri Kunde Schlesner
97e06b0a0d
Merge pull request #2476 from yuriks/shader-refactor3
...
Oh No! More shader changes!
2017-02-04 13:02:48 -08:00
Yuri Kunde Schlesner
09a750e866
Pica/Texture: Simplify/cleanup texture tile addressing
2017-02-04 12:33:25 -08:00
Yuri Kunde Schlesner
a1c9ac7845
VideoCore: Move LookupTexture out of debug_utils.h
2017-02-04 12:31:40 -08:00
noah the goodra
6c41d87a9d
removal of the -1 case in the configure_input switch
...
this case is unneeded because no enumeration value can possibly correspond to it
2017-01-31 09:55:56 -06:00
Yuri Kunde Schlesner
1410aa1824
Merge pull request #2368 from wwylele/camera-2
...
CAM: build the service framework with a dummy implementation
2017-01-29 22:16:39 -08:00
Yuri Kunde Schlesner
335df895b9
VideoCore: Consistently use shader configuration to load attributes
2017-01-29 21:31:37 -08:00
Yuri Kunde Schlesner
ab6954e942
VideoCore: Rename some types to more accurate names
2017-01-29 21:31:36 -08:00
Yuri Kunde Schlesner
bf14f4be22
Merge pull request #2346 from yuriks/shader-refactor2
...
More shader refactoring
2017-01-27 14:29:10 -03:00
Kloen Lansfiel
f852369986
SDL: Select audio device ( #2403 )
...
* Initial Commit
Added Device logic to Sinks
Started on UI for selecting devices
Removed redundant import
* Audio Core: Complete Device Switching
Complete the device switching implementation by allowing the output
device to be loaded, changed and saved through the configurations menu.
Worked with the Sink abstraction and tuned the "Device Selection"
configuration so that the Device List is automatically populated when
the Sink is changed.
This hopefully addresses the concerns and recommendations mentioned in
the comments of the PR.
* Clean original implementation.
* Refactor GetSinkDetails
2017-01-25 22:33:26 -05:00
Yuri Kunde Schlesner
0e9081b973
VideoCore/Shader: Move entry_point to SetupBatch
2017-01-25 18:53:25 -08:00
Yuri Kunde Schlesner
0f64274145
VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup
2017-01-25 18:53:25 -08:00
Yuri Kunde Schlesner
ade7ed7c5f
VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine
2017-01-25 18:53:24 -08:00
Yuri Kunde Schlesner
a9b7752b9d
Debugger: Always use interpreter for shader debugging
2017-01-25 18:53:24 -08:00
Yuri Kunde Schlesner
dd4a1672a7
VideoCore/Shader: Split shader uniform state and shader engine
...
Currently there's only a single dummy implementation, which will be
split in a following commit.
2017-01-25 18:53:23 -08:00
Yuri Kunde Schlesner
1e1f939817
VideoCore/Shader: Use only entry_point as ShaderSetup param
...
This removes all implicit dependency of ShaderState on global PICA
state.
2017-01-25 18:53:23 -08:00
Yuri Kunde Schlesner
e3caf669b0
VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup
2017-01-25 18:53:23 -08:00
Kloen
abc5c134a3
Removed unused and outdated external qhexedit
2017-01-22 18:46:48 +01:00
Kloen
380c165339
citra-qt: Removed unused and unimplemented ramview files.
2017-01-22 18:42:15 +01:00
Kloen
8d48798f1c
QT: Fix ui file format
2017-01-11 13:52:26 +01:00
Kloen
551fe3dd69
QT: Fix some UI related warnings
2017-01-11 13:52:01 +01:00
wwylele
cf3a272332
CAM: implement basic camera functions with a blank camera
2017-01-11 11:46:44 +02:00
bunnei
9fc8ead842
Merge pull request #2384 from bunnei/internal-res-option
...
config: Add option for specifying screen resolution scale factor.
2017-01-08 12:25:12 -05:00
bunnei
7cfe3ef046
Merge pull request #1951 from wwylele/motion-sensor
...
Emulate motion sensor in frontend
2017-01-07 12:39:20 -05:00
bunnei
22ad9094e6
config: Add option for specifying screen resolution scale factor.
2017-01-07 03:23:22 -05:00
Sebastian Valle
f20d872643
Merge pull request #2393 from Subv/synch
...
Kernel: Mutex priority inheritance and synchronization improvements.
2017-01-05 12:55:01 -05:00
Subv
cef5f45de2
Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.
...
This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses:
THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false.
THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
2017-01-04 15:58:50 -05:00
Jonathan Hao
c18cb1b192
Fix some warnings ( #2399 )
2017-01-04 13:48:29 -03:00
bunnei
f556d6ee90
Merge pull request #2240 from wwylele/auto-region
...
Config: auto-select region and language
2016-12-29 22:09:01 -05:00
wwylele
bcf9d20d57
Frontend: emulate motion sensor
2016-12-26 10:52:16 +02:00
MerryMage
64f98f4d0f
core: Move emu_window and key_map into core
...
* Removes circular dependences (common should not depend on core)
2016-12-23 13:42:39 +00:00
bunnei
aa47af7fb6
Merge pull request #2343 from bunnei/core-cleanup
...
Core: Top-level consolidate & misc cleanup
2016-12-22 11:47:44 -05:00
bunnei
e26fbfd1d7
core: Replace "AppCore" nomenclature with just "CPU".
2016-12-22 00:27:46 -05:00
bunnei
7623957f80
Merge pull request #2361 from lioncash/disasm
...
disassembler: Remove mutable specifier from breakpoints member variable
2016-12-22 00:15:06 -05:00
bunnei
5ac5cbeab7
Address clang-format issues.
2016-12-21 23:48:14 -05:00
bunnei
232ef55c1a
core: Consolidate core and system state, remove system module & cleanups.
2016-12-21 23:29:13 -05:00
bunnei
198b6c9bdd
core: Consolidate top-level system state into a singleton.
2016-12-21 23:29:04 -05:00
Lioncash
8309d0dade
citra-qt: Move graphics debugging code into its own folder
...
Keeps all graphics debugging stuff from cluttering up the root debugger
folder
2016-12-21 17:19:21 -05:00
Lioncash
f2c307557a
disassembler: Remove mutable specifier from breakpoints member variable
...
Breakpoints has been const correct with regards to what the
DisassmblerModel needs for quite a while now.
2016-12-21 14:12:41 -05:00
Lioncash
cc1f2c131b
citra-qt: Move bits of constructor behavior to named functions
...
Makes the initialization process a tad easier to grok,
since the constructor isn't just a glob of random unrelated behaviors.
2016-12-19 15:12:28 -05:00
bunnei
dac86b61ee
Merge pull request #2351 from CaptV0rt3x/master
...
Fixed game_list focus issue.
2016-12-18 16:12:21 -05:00
CaptV0rt3x
393a0f99da
line fixup for travis ci
2016-12-19 00:52:54 +05:30
Vamsi Krishna
77f4743199
screen swap - Hotkey mapping
2016-12-19 00:49:57 +05:30
Vamsi Krishna
27217c621b
Fixed game_list focusing issue.
...
added line render_window->setFocus();
2016-12-18 16:13:51 +05:30
bunnei
d30d6f81aa
Merge pull request #2303 from freiro/citra-qt_missing_sdl2_dll
...
Copy SDL2.dll when compiling citra-qt with msvc
2016-12-16 11:35:55 -05:00
Merry
acc83a1c32
Merge pull request #2322 from MerryMage/ctx-mnu
...
game_list: Add a context menu with "Open Save Location" option
2016-12-16 15:08:04 +00:00
bunnei
cda7210fad
Merge pull request #2260 from Subv/scheduling
...
Threading: Reworked the way our scheduler works.
2016-12-16 00:41:22 -05:00
MerryMage
5a4e1b469d
main: Open folder when open save folder location context menu is clicked
2016-12-15 18:43:11 +00:00
MerryMage
f50dcc88bf
game_list: Implement context menu for items in list
...
* Add a context menu with a "Open Save Data Location" action
2016-12-15 18:43:10 +00:00
Yuri Kunde Schlesner
905fc92ce1
Merge pull request #2249 from Subv/sessions_v3
...
Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
2016-12-14 20:35:33 -08:00
Subv
5b1edc6ae7
Fixed the codestyle to match our clang-format rules.
2016-12-14 12:35:01 -05:00
freiro
b7b2627b37
Modularized Qt and SDL file copying
...
Now cmake relies on two submodules to copy the libraries in the proper folders
2016-12-13 21:05:00 +01:00
Sebastian Valle
2589c30cbe
Merge pull request #2267 from JayFoxRox/fix-mingw-cc
...
Support mingw cross-compilation
2016-12-11 14:44:21 -05:00
freiro
031fc3a460
Modularization of copy_msvc_libraries cmake funct
...
Created a new folder in Citra's root called CMakeModules that should
contain cmake functions used by the various CMakeLists.txt.
2016-12-11 15:36:34 +01:00
Lioncash
d0e4d1182b
citra-qt: Make constructors explicit where applicable
2016-12-11 14:18:06 +00:00
freiro
942f70951d
Removed redundant Qt check and other fixes
...
This removes a redundant check and moves part of the code to a separate
function.
2016-12-11 15:10:21 +01:00
Lioncash
327b23e4ce
citra-qt: Add missing #pragma once directives
2016-12-11 12:12:03 +00:00
Lioncash
3bbd35dde9
game_list: Make slots private functions
...
The new Qt event syntax allows for regular member functions to be used in
connect(), so explicitly indicating slots isn't necessary.
2016-12-11 11:45:50 +00:00
Lioncash
7402001787
game_list: Make the constructor explicit
2016-12-11 11:45:50 +00:00
Lioncash
db33d7668e
game_list: Make the AddEntry argument a const reference
...
appendRow takes a QList by const reference, so it doesn't need to be
modifiable.
2016-12-11 11:45:50 +00:00
Lioncash
aa05d36823
game_list: Replace 0 literals with nullptr
2016-12-11 11:45:50 +00:00
Lioncash
dd4582f85d
game_list: Use QT5's new event connection syntax
...
Makes for more compact code in most places.
2016-12-11 11:45:50 +00:00
Lioncash
fd3d56740e
game_list: Pass the parent constructor argument to the QWidget base class
...
If the control was ever passed an explicit parent, a potential memory leak
would happen, as the game list wouldn't be freed.
However, in our case, the game list was placed within a layout, which
automatically performs reparenting, avoiding this issue.
2016-12-11 11:45:50 +00:00
freiro
143bc8713d
[MSVC] Copy SDL2.dll to build folder
...
CMake now copies SDL2.dll when compiling citra with citra-qt as a target
on MSVC.
2016-12-11 12:22:37 +01:00
Lioncash
4e7092881f
graphics_cmdlists: Get rid of variable shadowing
2016-12-11 04:33:24 -05:00
Lioncash
1e5644935d
graphics_cmdlists: Get rid of an unused variable
2016-12-10 20:01:27 -05:00
Lioncash
f1ee7e4e0e
graphics_cmdlists: Make LoadTexture and TextureInfoWidget src arguments const
2016-12-10 20:01:22 -05:00
Lioncash
dcb8113347
graphics_cmdlists: Make LoadImage internally linked
...
Puts the TextureInfoWidget definition in the anonymous namespace as well,
as it's only used in the translation unit as well.
2016-12-10 20:00:40 -05:00
Lioncash
963aedd8cc
Add all services to the Service namespace
...
Previously there was a split where some of the services were in the
Service namespace and others were not.
2016-12-11 00:07:27 +00:00
MerryMage
a2d474386c
configure_input: Modernize and cleanup input configuration tab
...
* Removed use of raw QTimer* pointer.
* Update to use type-safe QObject::connect.
* getKeyName can be a static local function.
* Prefer to use function arguments instead of member variables.
* Store Qt::Key instead of converting string back into keycode.
2016-12-10 23:30:28 +00:00
Subv
17b29d8865
WaitSynch: Removed unused variables and reduced SharedPtr copies.
...
Define a variable with the value of the sync timeout error code.
Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
2016-12-09 12:23:09 -05:00
wwylele
84e78790ab
Config: auto-select region and language
2016-12-07 20:52:42 +02:00
emmauss
c4e4fa53d9
Implement Frame rate limiter ( #2223 )
...
* implement frame limiter
* fixes
2016-12-06 14:33:19 -05:00
Jannik Vogel
d2c39bdb29
Unify Windows ICON resource name
2016-12-05 19:09:16 +01:00
Jannik Vogel
45d941d62e
Support mingw cross-compile
2016-12-05 19:09:16 +01:00
Subv
bdad00c73f
Threading: Added some utility functions and const correctness.
2016-12-04 09:58:36 -05:00
Subv
8634b8cb83
Threading: Reworked the way our scheduler works.
...
Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then.
The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback.
This new implementation is based off reverse-engineering of the real kernel.
See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling.
2016-12-03 22:38:14 -05:00
Jannik Vogel
8efeb6ee2b
Remove unused version.h
2016-12-01 16:38:46 +01:00
Subv
2eceee3a4c
Fixed the rebase mistakes.
2016-11-30 23:28:31 -05:00
Yuri Kunde Schlesner
3174bfd50c
Merge pull request #2196 from Subv/system_mode
...
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
2016-11-27 17:04:11 -08:00
Subv
d171409f29
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
...
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
2016-11-27 18:03:48 -05:00
Emmanuel Gil Peyrot
0820c99462
GPU: Remove the broken frame_skip option.
...
Fixes #1960 .
2016-11-27 21:19:56 +00:00
Subv
1323ab2f5f
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
...
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
2016-11-19 20:40:04 -05:00
bunnei
fb13bfe693
Merge pull request #2172 from jroweboy/fix-mingw
...
Fix mingw compilation support
2016-11-15 20:07:23 -05:00
bunnei
5a31552764
Merge pull request #1753 from jroweboy/frame_layouts
...
Support additional screen layouts.
2016-11-15 19:57:08 -05:00
James Rowe
c3ea6f4ddb
Add mingw compile support
2016-11-13 23:50:46 -07:00
Pringo
51750dc8f5
Minor Menu Fixes
2016-11-11 09:58:55 -08:00
James Rowe
d9305b0a07
Add default hotkey to swap primary screens.
...
Also minor style changes
2016-11-05 03:46:43 -06:00
James Rowe
2b1654ad9b
Support additional screen layouts.
...
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
2016-11-05 02:55:41 -06:00
Jan Beich
2240cb2eb0
build: add default install for DragonFly, Solaris, etc.
2016-10-27 23:28:30 +00:00
Ricardo de Almeida Gonzaga
13d46f6820
Fix typos
2016-10-20 12:26:59 -02:00
bunnei
09c3e444d4
Merge pull request #1652 from wwylele/kernal-tool
...
Debugger: implement wait tree widget
2016-10-04 23:01:56 -04:00
wwylele
3aa047cd1d
qt: shutdown system if error
2016-09-22 16:40:33 +08:00
wwylele
f69a543110
implement wait tree widget
2016-09-22 13:52:52 +08:00
Yuri Kunde Schlesner
84fbbe2629
Use negative priorities to avoid special-casing the self-include
2016-09-21 00:15:56 -07:00
Emmanuel Gil Peyrot
ebdae19fd2
Remove empty newlines in #include blocks.
...
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
2016-09-21 11:15:47 +09:00
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
2016-09-18 21:14:25 -07:00
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
2016-09-18 09:38:01 +09:00
bunnei
d532f6b496
qt: Add UI configuration option to enable CPU JIT.
2016-09-15 17:49:28 -04:00
bunnei
14085ec670
core: Add configuration option for CPU JIT.
2016-09-15 17:49:27 -04:00
wwylele
c0262001d8
Qt: fix birthday combo box updating
2016-09-13 16:15:42 +08:00
wwylele
bdc59c4c21
Qt: unify running detection
2016-09-02 20:18:45 +08:00
bunnei
09063dc5bb
Merge pull request #2032 from bunnei/qt-graphics
...
Qt graphics configure & V-Sync option
2016-08-31 22:20:54 -04:00
bunnei
a71013cf16
qt: Rename all "toogle" to "toggle".
2016-08-31 22:12:20 -04:00
MerryMage
dc3f6a34f8
configure_audio: User-configuratble option to enable/disable audio stretching
2016-08-31 16:59:37 +01:00
bunnei
74842116b2
qt: Add an option to settings for enabling V-Sync.
2016-08-29 21:42:33 -04:00
bunnei
02702c6605
qt: Recreate GL context on startup to support changing V-Sync.
2016-08-29 21:42:32 -04:00
bunnei
08ad9b36d4
config: Add a setting for graphics V-Sync.
2016-08-29 21:42:30 -04:00
bunnei
2267f98941
qt: Add a configuration tab for Graphics and move relevant fields.
2016-08-29 21:42:29 -04:00
bunnei
7b4dcacbb2
citra: Default to HW renderer.
2016-08-15 23:30:02 -04:00
Anon
e91327c86a
Input GUI: Add tab to remap controls ( #1900 )
2016-07-29 08:45:49 -04:00
Dale Whinham
78b97ee364
CMake: Fix Info.plist template for citra_qt/OSX
...
The Info.plist template incorrectly uses parentheses instead of curly braces,
which means that building the .app bundle using regular 'make' results in the
variable not being replaced, and hence the app bundle won't start because the
executable name is incorrect.
This commit fixes this issue.
2016-07-21 21:33:54 +01:00
wwylele
ec3e99eec7
Qt: add system settings config tab
2016-07-10 06:22:38 +03:00
bunnei
4d31874c7c
Merge pull request #1923 from yuriks/fix-recursive
...
Fix recursive scanning of directories
2016-06-22 16:27:12 -04:00
Yuri Kunde Schlesner
d6792632f0
Fix recursive scanning of directories
...
ForeachDirectoryEntry didn't actually do anything with the `recursive`
parameter, and the corresponding callback parameter was shadowing the
actual recursion counters in the user functions.
2016-06-19 00:12:15 -07:00
Yuri Kunde Schlesner
c52754e79a
Qt: Fix MicroProfile dpi scaling
2016-06-18 23:37:09 -07:00
bunnei
f99961581e
Merge pull request #1789 from wwylele/input-refactor
...
Refactor input mapping & implement circle pad modifier
2016-06-10 22:28:58 -04:00
bunnei
98b1436b8b
Merge pull request #1765 from JayFoxRox/debug-surface-viewer
...
Debugger: Pica surface viewer
2016-06-07 18:26:24 -04:00
archshift
3a4a424b70
Remove unused and bitrotted "controller config" files
2016-06-01 20:53:38 -07:00
LFsWang
d24d047d45
AddFstEntriesToGameList - prevent loading a directory
2016-06-01 14:04:58 +08:00
bunnei
08e09184df
Merge pull request #1751 from linkmauve/no-recursive-readdir
...
Make recursive FileUtil functions take a maximum recursion
2016-05-30 20:59:10 -04:00
bunnei
ab4b27f0f5
Merge pull request #1692 from Subv/rm_getpointer2
...
Memory: Remove most usages of GetPointer
2016-05-29 21:57:07 -04:00
bunnei
f50a32bfce
Merge pull request #1817 from linkmauve/smdh-stuff
...
Improve SMDH support in loaders and frontends
2016-05-25 16:40:36 -04:00
bunnei
c106f71beb
New3DS: Minor style cleanup to #1520 .
2016-05-24 17:24:11 -04:00
bunnei
2e5e7d9be0
Merge pull request #1520 from JamePeng/checknew3ds
...
Implement CheckNew3DS and CheckNew3DSApp
2016-05-24 17:19:26 -04:00
Emmanuel Gil Peyrot
080a2d719c
Loader: Split SMDH into its own header and import helpers from QGameList
...
Also rewrite Qt wrappers to use those.
2016-05-21 20:15:42 +01:00
MerryMage
b3b3dd7591
Debugger/Callstack: Replace Memory::GetPointer with Memory::IsValidVirtualAddress
2016-05-21 11:12:38 -05:00
Emmanuel Gil Peyrot
314ce5e505
CitraQt: Simplify the game list loader code
2016-05-21 17:09:59 +01:00
Emmanuel Gil Peyrot
8fc9c03126
Loader, Frontends: Refactor loader creation and game loading
...
This allows frontends to keep a single loader and use it multiple times
e.g. for code loading and SMDH parsing.
2016-05-21 17:09:56 +01:00
Emmanuel Gil Peyrot
8ab6f26c09
Common: Make recursive FileUtil functions take a maximum recursion
...
Fixes #1115 .
Also improves the performances of DiskArchive’s directory
implementation a lot, simply by not going through the entire tree
instead of just listing the first level files.
Thanks to JayRoxFox for rebasing this on current master!
2016-05-21 16:41:02 +01:00
James Rowe
98923ab6e5
Config: Restore previously selected audio sink option ( #1824 )
2016-05-20 20:37:34 +02:00
bunnei
d895bc1543
Merge pull request #1785 from MerryMage/mp-dpi
...
Microprofile: DPI-aware drawing
2016-05-18 18:03:59 -04:00
Maribel
d014873916
Config: Audio sink configuration ( #1798 )
2016-05-18 18:01:03 -04:00
wwylele
416faa20d1
implement circle pad modifier
2016-05-15 13:24:22 +03:00
wwylele
03631f9b8f
Refactor input subsystem
2016-05-15 13:24:22 +03:00
MerryMage
9b4187974b
Microprofile: DPI-aware drawing
2016-05-12 21:49:02 +01:00
Jannik Vogel
6c6d99ca51
Move default_attributes into Pica state
2016-05-12 19:05:41 +02:00
Jannik Vogel
ae7a82fa1c
Turn ShaderSetup into struct
2016-05-11 23:48:24 +02:00
Alexander Laties
0a31e373f1
fixup simple type conversions where possible
2016-05-07 11:41:55 -04:00
Jannik Vogel
7d7849d71a
citra_qt: Replace 'Pica Framebuffer Debugger' with 'Pica Surface Viewer'
2016-05-07 11:30:47 +02:00
Emmanuel Gil Peyrot
aa4d4ff23c
Frontends, VideoCore: Move glad initialisation to the frontend
...
On SDL2 this allows it to use SDL_GL_GetProcAddress() instead of the
default function loader, and fixes a crash when using apitrace with an
EGL context.
On Qt we will need to migrate from QGLWidget to QOpenGLWidget and
QOpenGLContext before we can use gladLoadGLLoader() instead of
gladLoadGL(), since the former doesn’t expose a function loader.
2016-05-06 03:10:14 +01:00
bunnei
55946cdc11
Merge pull request #1700 from wwylele/gamelist-icon
...
Qt: display game icon and title in the game list
2016-05-05 18:35:24 -04:00
wwylele
9da1534237
add missing header
2016-05-04 13:02:49 +03:00
wwylele
0176e2786f
make the name column larger as default
2016-05-04 13:02:49 +03:00
wwylele
5d5dd66d92
add icon & title to game list
2016-05-04 13:02:49 +03:00
Jannik Vogel
7a77b8356c
Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation
2016-05-04 10:21:51 +02:00
Emmanuel Gil Peyrot
691a42fe98
VideoCore: Run include-what-you-use and fix most includes.
2016-04-30 17:02:41 +01:00
MerryMage
4e971f44a2
Audio: Add sink selection to configuration files
2016-04-30 07:41:02 +01:00
Yuri Kunde Schlesner
e3a8292495
Common: Remove section measurement from profiler ( #1731 )
...
This has been entirely superseded by MicroProfile. The rest of the code
can go when a simpler frametime/FPS meter is added to the GUI.
2016-04-29 00:07:10 -07:00
Henrik Rydgård
90501f20e6
Make Citra build with MICROPROFILE_ENABLED set to 0 ( #1709 )
...
* Make Citra build with MICROPROFILE_ENABLED set to 0
* Buildfix with microprofile kept on
* moc did not like a dialog to conditionally exist.
* Cleanup
* Fix end of line
2016-04-28 20:17:31 -04:00
Emmanuel Gil Peyrot
591ffad670
Qt Frontend: Add Threads::Threads import in CMakeLists.txt.
...
This had been forgotten in df81fa11fc
.
Fixes #1711 .
2016-04-26 21:01:11 +01:00
Henrik Rydgard
01a1555b5d
Replace std::map with std::array for graphics event breakpoints, and allow the compiler to inline. Saves 1%+ in vertex heavy situations.
2016-04-24 14:19:49 +02:00
Sam Spilsbury
2850a22359
debugger: Warn if we reach an unreachable format
2016-04-23 11:54:02 +08:00
tfarley
e46d086189
Config: Add scaled resolution option
2016-04-21 17:27:48 -04:00
JamePeng
7129611e65
Implement CheckNew3DS and CheckNew3DSApp
...
Append an item[is_new3ds] to config file[System] group
Implement APT::SetNSStateField,it will update the unknown NS_state_field
2016-04-20 18:12:05 +08:00
MerryMage
fd771d7a87
Configure Dialog: Remove minimumSize property
2016-04-15 11:34:08 +01:00
Jannik Vogel
f2c8619704
CitraQt: Apply config at startup
2016-04-11 15:18:00 +02:00
bunnei
a1b81469a3
Merge pull request #1368 from LittleWhite-tb/configure-widget
...
Implementation for a configure widget
2016-04-10 20:21:34 -04:00
Mathew Maidment
aa6380e5bc
Merge pull request #1643 from MerryMage/make_unique
...
Common: Remove Common::make_unique, use std::make_unique
2016-04-05 20:10:11 -04:00
MerryMage
a06dcfeb61
Common: Remove Common::make_unique, use std::make_unique
2016-04-05 13:31:17 +01:00
LFsWang
87afef73b1
remove debug code
2016-03-31 20:29:39 +08:00
LFsWang
acfa76aa38
Fix encode problem On Windows
2016-03-31 18:58:37 +08:00
LittleWhite
b0e2e1d3f5
Compilation fix
2016-03-28 15:33:03 +02:00
LittleWhite
3eb737a5f5
Add more stuff to configure.
2016-03-22 21:53:43 +01:00
LittleWhite
e33b938505
Whole config is handled by Config class.
...
This also means : we have only one config file, now
2016-03-21 20:03:18 +01:00
LittleWhite
426c4a2a5b
Add Configure widget
2016-03-21 20:03:18 +01:00
LFsWang
933af7af66
Fix Qt chinese words encode problem on Windows
2016-03-17 17:18:45 +08:00
Yuri Kunde Schlesner
de7ecee516
Merge pull request #1466 from LittleWhite-tb/gamelist-update-recent
...
Register ROM started through the gamelist in the list of ROM recently started
2016-03-16 23:42:24 -07:00
LittleWhite
5912c9c327
Register ROM started through the gamelist in the list of ROM recently started
2016-03-16 22:20:39 +01:00
Jannik Vogel
9aad2f29bb
PICA: Fix MAD/MADI encoding
2016-03-15 20:01:25 +01:00
Jannik Vogel
557b732b43
Fix attribute mapping in vs debugger
2016-03-09 13:15:37 +01:00
bunnei
8530a2d7df
Merge pull request #1344 from LittleWhite-tb/error-output
...
Output errors in GUI
2016-03-08 23:12:04 -05:00
LittleWhite
4be68dddfb
Improve error report from Init() functions
...
Add error popup when citra initialization failed
2016-03-08 22:05:25 +01:00
LittleWhite
9d8a724225
Set the appropriate locale to get float conversion working using std::to_string
2016-03-07 19:51:35 +01:00
LittleWhite
7ad669a911
Display errors in GUI when loading ROM failed
2016-03-03 22:52:29 +01:00
bunnei
c9009d39d4
Merge pull request #1394 from ds84182/immediate-mode-vtx
...
Add immediate mode vertex submission
2016-03-03 10:51:15 -05:00
Dwayne Slater
6b775034dd
Add immediate mode vertex submission
2016-03-02 22:16:38 -05:00
bunnei
699b2a6571
Merge pull request #1403 from MerryMage/sdl
...
Dependencies: Remove GLFW, Add SDL2
2016-03-02 20:32:32 -05:00
MerryMage
ba2a54a9dd
Dependencies: Remove GLFW, Add SDL2
...
citra: Remove GLFW, Add SDL2
FindSDL2: Do not CACHE SDL2_* variables if library is not found
EmuWindow_SDL2: Set minimal client area at initialisation time
EmuWindow_SDL2: Corrections
EmuWindow_SDL2: Fix no decorations on startup on OS X
cmake: windows_copy_files
2016-03-02 14:09:02 +00:00
bunnei
c28a48aa02
Merge pull request #1352 from LittleWhite-tb/exit_check
...
Add check before closure when emulation is running
2016-02-26 08:36:33 -05:00
MerryMage
8b00954ec7
AudioCore: Skeleton Implementation
...
This commit:
* Adds a new subproject, audio_core.
* Defines structures that exist in DSP shared memory.
* Hooks up various other parts of the emulator into audio core.
This sets the foundation for a later HLE DSP implementation.
2016-02-21 13:13:52 +00:00
LittleWhite
973a6c40da
Add a configuration entry to enable/disable the check
2016-02-04 22:15:42 +01:00
LittleWhite
c2b210f713
Add check before closure when emulation is running
...
Implement confirmation in a specific function
Fix typos and coding style
Coding convention
2016-02-04 22:15:42 +01:00
archshift
0144b8e1da
Change default gameListRootDir from "" to "."
...
Not much thought went into that one...
2016-01-06 16:54:14 -08:00
bunnei
0ca8354464
Merge pull request #1330 from archshift/add-defaults
...
Gamelist: supply default settings for QSettings config
2016-01-03 11:14:44 -05:00
archshift
e516a5bc96
Gamelist: supply default settings for QSettings config
2016-01-01 13:54:06 -08:00
Lioncash
cee8df6ff0
core: Use unique_ptr for holding the interpreter instances
2015-12-29 18:03:08 -05:00
archshift
b3cfcf55ea
Refactor ScanDirectoryTreeAndCallback to separate errors and retvals
...
ScanDirectoryTreeAndCallback, before this change, coupled error/return
codes and actual return values (number of entries found). This caused
confusion and difficulty interpreting the precise way the function
worked.
Supersedes, and closes #1255 .
2015-11-27 13:33:38 -08:00
bunnei
43bb29edc5
Merge pull request #1122 from polaris-/gdbstub
...
gdbstub implementation
2015-11-11 23:21:31 -05:00
polaris-
a5ab8accc2
Handle changes pointed out in comments on PR
2015-10-22 00:11:25 -04:00
wwylele
6e57389172
change file path encoding to Local8bit()
...
to support non-latin characters
2015-10-20 20:58:23 +03:00
bunnei
7411aed5c7
Merge pull request #1207 from kemenaran/persist-citra-settings-in-qt
...
citra-qt: save hardware-rendering and shaders-jit settings
2015-10-20 10:31:13 -04:00
Pierre de La Morinerie
71f6672415
citra-qt: persist hardware-rendering and shaders-jit settings
...
Before this changing these settings from the GUI would apply the
settings, but they were reseted to the default values when exiting
citra.
2015-10-18 14:08:23 +02:00
Pierre de La Morinerie
22421528b7
citra-qt: Add icon to Mac app
...
Previously the Mac app didn't have any icon.
2015-10-14 15:02:36 +02:00
Emmanuel Gil Peyrot
14af5919ba
CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
...
The LOG_* function itself already appends one.
2015-10-09 22:14:56 +01:00
bunnei
7c747c8c33
Merge pull request #1189 from archshift/game-list-toggle-window
...
Game list: propely hide on toggling window mode
2015-10-07 10:33:11 -04:00
Rohit Nirmal
32391cffdd
Silence -Wsign-compare warnings.
2015-10-06 22:16:15 -05:00
archshift
2ce2e05db0
Game list: propely hide on toggling window mode
...
Properly hides the game list upon toggling from external
window mode to single window mode. Previously, both the game
list and the render window would have been shown at the same
time upon toggling.
2015-10-06 12:20:26 -07:00
Pierre de La Morinerie
ba5d0f594d
citra-qt: Fix mouse events coordinates on high-DPI screens
2015-10-04 23:11:05 +02:00
Pierre de La Morinerie
2f4a1e0d59
citra-qt: Enable high-DPI widgets on Mac app
...
The OS will render the widgets using the system screen DPI (instead of
being locked at @1x resolution).
This has no impact on the existing high-DPI rendering code in Citra,
which means that the resolution of the emulated content is increased
to the real number of pixels, as on other platforms.
2015-10-04 23:11:05 +02:00
Pierre de La Morinerie
513483f8d5
citra-qt: Use custom Info.plist for Mac builds
...
Instead of letting CMake re-generate an automatic Info.plist file on
every build, use our own. This allows greater control on the application
bundle settings.
2015-10-04 23:11:05 +02:00
polaris-
31dee93e84
Implement gdbstub
2015-10-04 11:16:59 -04:00
bunnei
11a64acf23
Merge pull request #1095 from archshift/game-list
...
Initial implementation of a game list
2015-10-01 23:35:19 -04:00
archshift
0fae76c741
Game list: save and load column sizes, sort order, to QSettings
2015-10-01 19:39:15 -07:00
archshift
797b91a449
Add menu item for selecting the game list folder
2015-10-01 19:39:14 -07:00
archshift
6e1bb58ee8
Initial implementation of a game list
2015-10-01 19:39:14 -07:00
archshift
f297a59985
Add helper function for creating a readable byte size string.
2015-10-01 19:39:14 -07:00
archshift
afd06675fa
Don't show render window until a game is started
2015-10-01 19:39:14 -07:00
LittleWhite
d06824809f
Fix for the refresh issue when no rendering is done
2015-09-24 21:48:41 +02:00
Kloen
541fc80240
citra-qt: Fix connect error on startup
2015-09-18 11:36:59 +02:00
Yuri Kunde Schlesner
b3af7aad9e
Merge pull request #1123 from yuriks/gsp-flush
...
GSP: Implement command 0x05, used for flushing caches
2015-09-14 17:00:45 -03:00
bunnei
d6e56b8c88
Merge pull request #1111 from LittleWhite-tb/qt-close-renderwindow
...
Stop emulation when render window is closed
2015-09-14 15:23:08 -04:00
Yuri Kunde Schlesner
1ed7f3e028
GSP: Implement command 0x05, used for flushing caches
...
May fix additional texture caching issues. (Though mostly in homebrew, I
haven't seen any commercial software use this to flush anything but
command lists.)
2015-09-14 16:19:05 -03:00
Lioncash
07bfe0abbb
general: Replace 0 literals with nullptr where applicable
2015-09-11 23:11:01 -04:00
Yuri Kunde Schlesner
5bca1e6adf
Merge pull request #1147 from lioncash/nullptr
...
General: Replace NULL and '0' usages with nullptr where applicable
2015-09-11 18:56:41 -03:00
Yuri Kunde Schlesner
5bf8eed96c
Merge pull request #1149 from lioncash/override
...
graphics_breakpoints_p: Add missing override specifier
2015-09-11 18:24:24 -03:00
Lioncash
ec93d6e19a
graphics_breakpoints_p: Add missing override specifier
2015-09-11 16:32:02 -04:00
Lioncash
60b3fc01a2
General: Replace NULL and '0' usages with nullptr where applicable
2015-09-11 14:59:49 -04:00
Lioncash
abe5bb4019
citra_qt: Reorganize headers
2015-09-11 00:57:24 -04:00
Yuri Kunde Schlesner
2aad510c84
Merge pull request #1125 from yuriks/uilayout-config
...
citra-qt: Separate UI layout state in a separate section of the config
2015-09-07 23:52:13 -03:00
Yuri Kunde Schlesner
3244b2b79e
citra-qt: Separate UI layout state in a separate section of the config
...
Closes #1113
2015-09-07 22:11:21 -03:00
Yuri Kunde Schlesner
06b3891c66
citra-qt: Trim recently used files list to size when insterting new item
...
Even though they weren't visible in the UI, old entries would never be
removed from the list and would be stored in the config file across
sessions.
2015-09-07 22:00:08 -03:00
bunnei
0f2005c370
Merge pull request #1118 from Kloen/monospace-font
...
citra-qt: Use monospace font on Disassembler and ARM Registers
2015-09-07 17:52:07 -04:00
Yuri Kunde Schlesner
2011f9a042
Shader Debugger: Allow editing of input vertex data
2015-09-07 16:46:31 -03:00
Yuri Kunde Schlesner
2bdf9ede91
Shader Debugger: Highlight current instruction instead of focusing
...
This avoid some annoying focus stealing in some situations, and looks
nicer in general.
2015-09-07 16:46:31 -03:00
Yuri Kunde Schlesner
2c98275b51
Shader Debugger: Remove useless signal
2015-09-07 16:46:30 -03:00
Yuri Kunde Schlesner
f77dfb3966
Shader Debugger: Fix only first vertex attribute being loaded
2015-09-07 16:46:29 -03:00
Yuri Kunde Schlesner
c1beb2ce20
Shader Debugger: Fix freeze when double-clicking shader disassembly
2015-09-07 16:46:29 -03:00
Yuri Kunde Schlesner
2d195ba64e
Shader Debugger: Improve space efficiency of the layout
2015-09-07 16:46:28 -03:00
Yuri Kunde Schlesner
8540e02176
Shader Disassembly: Fix printing of jump offsets
2015-09-07 16:46:27 -03:00
Yuri Kunde Schlesner
3194f40e96
Shader Disassembly: Fix disassembly of IFU/CALLU instructions
2015-09-07 16:46:27 -03:00
Yuri Kunde Schlesner
bc3f57efd0
Shader Disassembly: Implement support for MAD/MADI
2015-09-07 16:46:26 -03:00
Yuri Kunde Schlesner
86d5461bcd
Shader Disassembly: Introduce variables to hold common subexpressions
2015-09-07 16:46:25 -03:00
Yuri Kunde Schlesner
ecbad494d9
Shader Debugger: Initialize input_vertex to prevent crashes
...
If the first type of breakpoint to be hit wasn't "Vertex Loaded", the
input_vertex would contain garbage, which would be passed to the shader
interpreter and ocasionally cause crashes.
2015-09-07 16:46:25 -03:00
Yuri Kunde Schlesner
9431ee330a
Shader Disassembly: Cleanup code and improve output alignment
2015-09-07 16:46:23 -03:00
Kloen
a962c30df1
citra-qt: Use monospace font on Disassembler and ARM Registers
2015-09-07 21:02:45 +02:00
LittleWhite
86e29ac281
Stop emulation when render window is closed
2015-09-07 20:34:39 +02:00
Yuri Kunde Schlesner
cd817be922
citra-qt: Move system shutdown to run inside EmuThread
...
This stops (for some reason sporadic) crashes and OpenGL errors during
shutdown, when the OpenGL renderer tries to clean up objects from the
UI thread, which has no OpenGL context active.
2015-09-03 15:09:50 -03:00
Yuri Kunde Schlesner
68eb197494
Increase required OpenGL version to 3.3
...
This gives us several niceties such as Sampler Objects, shader attribute
locations and Timer Queries.
2015-08-30 08:45:57 -03:00
Lioncash
e7ebb9d36c
citra-qt: Add a missing header guard to util.h
2015-08-25 23:07:33 -04:00
Yuri Kunde Schlesner
0fcabd2b11
Integrate the MicroProfile profiling library
...
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
2015-08-24 22:16:28 -03:00
Yuri Kunde Schlesner
c7745408f7
citra-qt: Add helper function to get a monospace QFont
2015-08-24 22:16:28 -03:00
LittleWhite
adee93d784
Improvements for MRU
...
avoid duplicates
always put the last file loaded to top of the list
2015-08-19 21:33:34 +02:00
bunnei
1f18c9f8dd
Merge pull request #1034 from yuriks/rg8-textures
...
videocore: Added RG8 texture support
2015-08-16 22:17:12 -04:00
Tony Wasserka
f5144e6c10
Merge pull request #997 from Lectem/cmdlist_full_debug
...
citra-qt: Improve pica command list widget (add mask, fix some issues)
2015-08-16 13:34:45 +02:00
Tony Wasserka
32592364b8
citra-qt/VertexShader: Minor UI improvements.
...
Renamed "Iteration index" to the (hopefully) more intuitive "Cycle Index".
Added flexible space at the bottom of the widget.
2015-08-16 14:12:12 +02:00
Tony Wasserka
493c432d1e
citra-qt: Fix comment style.
2015-08-16 14:12:11 +02:00
Tony Wasserka
33ba604fd9
Introduce a shader tracer to allow inspection of input/output values for each processed instruction.
2015-08-16 14:12:11 +02:00
Tony Wasserka
2e3601f415
Pica/DebugUtils: Include uniform information into shader dumps.
2015-08-16 13:22:01 +02:00
Tony Wasserka
4cb302c8ae
citra-qt: Improve shader debugger.
...
Now supports dumping the current shader and recognizes a larger number of output semantics.
2015-08-16 13:22:00 +02:00
Tony Wasserka
6a5d560c4f
citra-qt: Print the correct swizzle mask for SRC2 in the shader disassembler.
2015-08-16 13:19:40 +02:00
Yuri Kunde Schlesner
7d0c17d2ae
citra-qt: Give RG8 format a proper name in the texture viewer
2015-08-16 02:36:33 -03:00
bunnei
882040fde7
Merge pull request #1017 from LittleWhite-tb/qt-recent-files
...
citra-qt: save path for recent files loaded
2015-08-16 00:22:10 -04:00
bunnei
094ae6fadb
Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.
...
- Config: Add an option for selecting to use shader JIT or interpreter.
- Qt: Add a menu option for enabling/disabling the shader JIT.
2015-08-15 18:01:07 -04:00
bunnei
ddbeebb887
Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP.
2015-08-15 17:33:45 -04:00
bunnei
18527b9e21
Shader: Move shader code to its own subdirectory, "shader".
2015-08-15 17:33:42 -04:00
bunnei
642b9b5030
GPU: Refactor "VertexShader" namespace to "Shader".
...
- Also renames "vertex_shader.*" to "shader_interpreter.*"
2015-08-15 17:33:41 -04:00
bunnei
cebf245504
Merge pull request #1027 from lioncash/debugger
...
debugger: Add the ability to view VFP register contents
2015-08-13 18:13:25 -04:00
Emmanuel Gil Peyrot
5115d0177e
ARM Core, Video Core, CitraQt, Citrace: Use CommonTypes types instead of the standard u?int*_t types.
2015-08-11 22:38:44 +01:00
LittleWhite
66eabd326f
Add menu and logic to save and load recently loaded files.
...
This menu is only for ROM and will not save symbols recently loaded.
When the menu is empty, the menu is disabled (greyed out)
2015-08-11 18:45:44 +02:00
Lioncash
132961b14f
registers: Support viewing VFP registers
2015-08-07 02:11:07 -04:00
Lioncash
5855cf087d
registers: Fix a typo with CPSR's name
2015-08-06 21:11:25 -04:00
LittleWhite
cb405ad1b4
Save the path leading where the last file have been loaded
...
I use two variables to save the path for the ROMs and the symbols.
Use of QSettings to avoid new member variable to the class.
Global settings of QSettings is done in main.
2015-07-31 17:51:01 +02:00
bunnei
9221e6e67a
Merge pull request #1011 from lioncash/initializer
...
citra-qt: Adjust initializer list order
2015-07-29 16:46:34 -04:00
Lioncash
5df3afd522
citra-qt: Adjust initializer list order
...
Silences a warning.
2015-07-29 12:03:59 -04:00
Lioncash
13ddf60f60
citra-qt: Pass string by const reference
2015-07-29 11:54:07 -04:00
LittleWhite
5e1c32048f
Update Start menu text to match with the real state of the emulator.
...
Move start menu text update in ShutdownGame as adviced by neobrain
2015-07-28 21:04:14 +02:00
Trung Do
cc98866b25
Settings: Fix saving wrong values for input configuration
2015-07-28 13:51:09 -04:00
Tony Wasserka
62adb4ee7b
Merge pull request #873 from jroweboy/input_array
...
Move input values into an array.
2015-07-28 13:17:12 +02:00
James Rowe
1bc7829ee9
Move input values into an array
2015-07-27 21:41:21 -06:00
Lectem
b335cce22e
citra-qt/command list: Do not recreate a widget after each selection
...
Recreating / replacing a widget is slow since it triggers a layout pass.
2015-07-26 16:23:28 +02:00
Lectem
e663751f8b
citra-qt/command list: Add mask column
2015-07-26 16:23:12 +02:00
Lectem
cd06f5cedb
citra-qt/command list: monospace font on windows
2015-07-26 16:07:46 +02:00
Tony Wasserka
7a132e2a77
Merge pull request #986 from Lectem/better_widgets
...
citra-qt: Improve pica command list widget.
2015-07-26 14:09:03 +02:00
Lioncash
dfb424b6d1
dyncom: Rename armdefs.h to armstate.h
2015-07-25 22:10:44 -04:00
Lioncash
4bb1a5ca47
dyncom: Get rid of skyeye typedefs
2015-07-25 20:52:10 -04:00
Lectem
e286cfbadf
citra-qt/command list: Enable uniform row heights and automatically resize columns.
...
Uniform row heights enables some optimisations for a smoother scrolling.
Resize columns to content so that we don't have to do it manually
2015-07-25 22:13:23 +02:00
Lectem
129e3dedc3
citra-qt/command list: Split register and value columns.
...
Also removed the extra spaces for each cell
2015-07-25 22:13:04 +02:00
Yuri Kunde Schlesner
9a0f9f12cd
Merge pull request #892 from zawata/another-warning-fixes
...
Yet More Warning Fixes
2015-07-25 12:50:32 -07:00
Yuri Kunde Schlesner
43e1f56ff5
Merge pull request #981 from Subv/checkboxes
...
Qt/GPU Breakpoints: Changed the widget to have a checkbox next to each bp type
2015-07-25 12:00:10 -07:00
Subv
23fd13dd64
Qt/GPU Breakpoints: Changed the widget so that we don't have to select and click the Enable button when enabling/disabling a breakpoint, now it is done via a checkbox next to the breakpoint's name.
2015-07-23 19:37:52 -05:00
Subv
6c0ea5f5e8
Qt/GPU Breakpoints: Added three more breakpoint types:
...
* IncomingDisplayTransfer: Triggered just before a display transfer is performed.
* GSPCommandProcessed: Triggered right after a GSP command is processed.
* BufferSwapped: Triggered when the frames flip
2015-07-23 11:47:34 -05:00
Tony Wasserka
aa6dfdb827
Merge pull request #929 from neobrain/geoshader_definitions
...
Pica/Shader: Add geometry shader definitions.
2015-07-21 15:24:48 +02:00
Yuri Kunde Schlesner
a48aa4f924
Resolve issue accidentally left unaddressed in PR #930
2015-07-21 06:48:30 -03:00
Yuri Kunde Schlesner
8833852acd
Merge pull request #930 from neobrain/copypaste_commandlist
...
citra-qt: Add support for copying the command list contents to clipboard.
2015-07-20 21:44:57 -07:00
Subv
3600c32483
Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
...
Also added its name to the texture viewer widget
2015-07-19 13:15:23 -05:00
zawata
c66b5ca3d9
Citra_QT : Another Conversion Warning Fix
2015-07-19 03:59:52 -07:00
zawata
3c802b06e9
Citra_QT : Fix Conversion Warnings
2015-07-19 03:59:44 -07:00
Tony Wasserka
7fd03750bd
citra-qt: Add support for copying the command list contents to clipboard.
2015-07-15 17:51:59 +02:00
Tony Wasserka
33568494af
Pica/Shader: Add geometry shader definitions.
2015-07-15 17:31:57 +02:00
Yuri Kunde Schlesner
1fc0347d27
Merge pull request #924 from aroulin/qt-disassembly-step
...
Qt: Fix disassembly widget stepping
2015-07-13 14:16:36 -07:00
Tony Wasserka
302e9a20f3
citra-qt: Add depth formats to framebuffer viewing widget.
2015-07-13 23:54:38 +02:00
Tony Wasserka
88df3fbf27
citra-qt: Properly specify the framebuffer format.
2015-07-13 23:52:29 +02:00
Tony Wasserka
29abb11e8f
CiTrace: Clean up initialization method.
2015-07-13 22:27:21 +02:00
Tony Wasserka
dc8295298e
CiTrace: Record LCD registers. Cleanup recording code.
2015-07-13 22:27:21 +02:00
Tony Wasserka
fd62580985
CiTrace: Record default vertex attributes.
2015-07-13 22:27:21 +02:00
Tony Wasserka
01a526e1c4
citra-qt: Properly disable the CiTrace widget upon starting/stopping emulation.
2015-07-13 22:27:21 +02:00
Tony Wasserka
902fa4da52
Add CiTrace recording support.
...
This is exposed in the GUI as a new "CiTrace Recording" widget.
Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
2015-07-13 22:27:20 +02:00
aroulin
7ccce98389
Qt: Fix disassembly widget stepping
2015-07-13 17:27:12 +02:00
Tony Wasserka
e110e656b9
Merge pull request #910 from linkmauve/install
...
Tell CMake to install the compiled binaries on Linux.
2015-07-12 03:25:53 +02:00
Emmanuel Gil Peyrot
7c51bc44aa
Citra, CitraQt: Tell cmake to install the compiled binaries.
...
This will help packaging tremendously, as a `make DESTDIR=… install` will now
put every file at their place (on Linux and related).
2015-07-09 20:19:02 +01:00
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
2015-06-28 00:36:54 +01:00
Emmanuel Gil Peyrot
ce0cfd62d9
Common: Remove now-unused EMU_PLATFORM define, fixes issue #373 .
2015-06-27 14:43:57 +01:00
Greg Wicks
e93056ae77
Make the call stack entries not editable
2015-06-19 11:22:20 -04:00
Clienthax
8515b23bec
Robocopy doesn't like trailing slashes
2015-06-09 18:38:00 +01:00
archshift
0414ad20cb
Merge pull request #811 from archshift/commonify
...
Commonify video_core utility headers
2015-05-31 09:55:29 -07:00
bunnei
833936fc64
Merge pull request #832 from yuriks/refresh-rate-option
...
Remove gpu_refresh_rate configuration option
2015-05-31 04:48:20 -04:00
archshift
76690392bf
Move video_core/color.h to common/color.h
2015-05-30 11:17:37 -07:00
archshift
5df2d1b5f7
Move video_core/math.h to common/vector_math.h
...
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
2015-05-30 11:17:36 -07:00
bunnei
595fe49a8f
Merge pull request #830 from SeannyM/qt-noborder
...
QT: Remove border around widgets
2015-05-30 12:04:36 -04:00
Yuri Kunde Schlesner
d65b42a69a
Remove gpu_refresh_rate configuration option
...
Changing it makes emulation inherently inaccurate. It also had a wrong
default value (30, whereas the real system has a refresh rate of 60 Hz)
which, even if changed, would continue to be used unless people manually
removed it from their config files.
2015-05-29 19:39:26 -03:00
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
2015-05-29 21:59:29 +01:00
Sean Maas
cd99944b1d
QT: Remove border around widgets
2015-05-29 12:56:02 -04:00
Emmanuel Gil Peyrot
87d9df89bb
Assets: Move citra.ico from src/assets to dist.
2015-05-25 19:00:43 +02:00
Yuri Kunde Schlesner
c9244a03c7
Qt: Silence a bogus warning printed when using the debug runtime
...
The Qt debug runtime prints a bogus warning on the console if you
haven't called makeCurrent since the last time you called swapBuffers.
This presumably means something if you're using QGLWidget the "regular"
way, but in our multi-threaded use case is harmless since we never call
doneCurrent in the rendering thread.
2015-05-23 02:27:27 -03:00
bunnei
1b42d55a9d
Pica: Create 'State' structure and move state memory there.
2015-05-22 22:59:42 -04:00
tfarley
16fbba3c2a
MakeCurrent race condition fix
2015-05-22 15:51:33 -07:00
tfarley
05dc633a8c
OpenGL renderer
2015-05-22 15:51:18 -07:00
tfarley
6d995b1ff6
INI hw/sw renderer toggle
2015-05-22 14:37:55 -07:00
James Rowe
a406207cd8
Use condition var to properly pause the CPU thread
...
Adds support for threaded pausing so citra doesn't spin wait on pause
2015-05-18 08:15:57 -06:00
Yuri Kunde Schlesner
ba2fe7f795
Merge pull request #758 from yuriks/sync-logging
...
Common: Remove async logging
2015-05-15 20:54:48 -07:00
Yuri Kunde Schlesner
a188e0fa57
Merge pull request #675 from jroweboy/windows-build-fixes
...
Windows build fixes
2015-05-14 20:55:58 -07:00
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
...
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
2015-05-15 00:04:38 -03:00
bunnei
c3bd797917
Qt: Shutdown emulation session only if EmuThread exists.
2015-05-12 23:14:24 -04:00
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.)
2015-05-12 02:31:04 -03:00
Yuri Kunde Schlesner
17a8cae003
Memory: Add GetPhysicalPointer helper function
2015-05-09 04:02:32 -03:00
Yuri Kunde Schlesner
28a9e4c1d5
Memory: Support more regions in the VAddr-PAddr translation functions
...
Also adds better documentation and removes the one-off reimplementation
of the function in pica.h.
2015-05-09 03:08:11 -03:00
Yuri Kunde Schlesner
eb3eb9f75d
Loader: Remove .bin file support
...
It is of very limited practical utility currently, and will soon be
impossible to support due to more accurate memory map emulation.
2015-05-08 23:09:41 -03:00