bunnei
22ad9094e6
config: Add option for specifying screen resolution scale factor.
9 years ago
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.
9 years ago
Jonathan Hao
c18cb1b192
Fix some warnings ( #2399 )
9 years ago
wwylele
bcf9d20d57
Frontend: emulate motion sensor
9 years ago
MerryMage
64f98f4d0f
core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
9 years ago
bunnei
e26fbfd1d7
core: Replace "AppCore" nomenclature with just "CPU".
9 years ago
bunnei
5ac5cbeab7
Address clang-format issues.
9 years ago
bunnei
232ef55c1a
core: Consolidate core and system state, remove system module & cleanups.
9 years ago
bunnei
198b6c9bdd
core: Consolidate top-level system state into a singleton.
9 years ago
Lioncash
8309d0dade
citra-qt: Move graphics debugging code into its own folder
Keeps all graphics debugging stuff from cluttering up the root debugger
folder
9 years ago
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.
9 years ago
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.
9 years ago
CaptV0rt3x
393a0f99da
line fixup for travis ci
9 years ago
Vamsi Krishna
77f4743199
screen swap - Hotkey mapping
9 years ago
Vamsi Krishna
27217c621b
Fixed game_list focusing issue.
added line render_window->setFocus();
9 years ago
MerryMage
5a4e1b469d
main: Open folder when open save folder location context menu is clicked
9 years ago
MerryMage
f50dcc88bf
game_list: Implement context menu for items in list
* Add a context menu with a "Open Save Data Location" action
9 years ago
Subv
5b1edc6ae7
Fixed the codestyle to match our clang-format rules.
9 years ago
freiro
b7b2627b37
Modularized Qt and SDL file copying
Now cmake relies on two submodules to copy the libraries in the proper folders
9 years ago
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.
9 years ago
Lioncash
d0e4d1182b
citra-qt: Make constructors explicit where applicable
9 years ago
freiro
942f70951d
Removed redundant Qt check and other fixes
This removes a redundant check and moves part of the code to a separate
function.
9 years ago
Lioncash
327b23e4ce
citra-qt: Add missing #pragma once directives
9 years ago
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.
9 years ago
Lioncash
7402001787
game_list: Make the constructor explicit
9 years ago
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.
9 years ago
Lioncash
aa05d36823
game_list: Replace 0 literals with nullptr
9 years ago
Lioncash
dd4582f85d
game_list: Use QT5's new event connection syntax
Makes for more compact code in most places.
9 years ago
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.
9 years ago
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.
9 years ago
Lioncash
4e7092881f
graphics_cmdlists: Get rid of variable shadowing
9 years ago
Lioncash
1e5644935d
graphics_cmdlists: Get rid of an unused variable
9 years ago
Lioncash
f1ee7e4e0e
graphics_cmdlists: Make LoadTexture and TextureInfoWidget src arguments const
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
wwylele
84e78790ab
Config: auto-select region and language
9 years ago
emmauss
c4e4fa53d9
Implement Frame rate limiter ( #2223 )
* implement frame limiter
* fixes
9 years ago
Jannik Vogel
d2c39bdb29
Unify Windows ICON resource name
9 years ago
Jannik Vogel
45d941d62e
Support mingw cross-compile
9 years ago
Subv
bdad00c73f
Threading: Added some utility functions and const correctness.
9 years ago
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.
9 years ago
Jannik Vogel
8efeb6ee2b
Remove unused version.h
9 years ago
Subv
2eceee3a4c
Fixed the rebase mistakes.
9 years ago
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
9 years ago
Emmanuel Gil Peyrot
0820c99462
GPU: Remove the broken frame_skip option.
Fixes #1960 .
9 years ago
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
9 years ago
James Rowe
c3ea6f4ddb
Add mingw compile support
10 years ago
Pringo
51750dc8f5
Minor Menu Fixes
9 years ago