Commit Graph

467 Commits (0423a38ab55fd2ed7eb9853e9c867d31afd71649)

Author SHA1 Message Date
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.
9 years ago
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!
9 years ago
James Rowe 98923ab6e5 Config: Restore previously selected audio sink option (#1824) 9 years ago
bunnei d895bc1543 Merge pull request #1785 from MerryMage/mp-dpi
Microprofile: DPI-aware drawing
9 years ago
Maribel d014873916 Config: Audio sink configuration (#1798) 9 years ago
wwylele 416faa20d1 implement circle pad modifier 9 years ago
wwylele 03631f9b8f Refactor input subsystem 9 years ago
MerryMage 9b4187974b Microprofile: DPI-aware drawing 9 years ago
Jannik Vogel 6c6d99ca51 Move default_attributes into Pica state 9 years ago
Jannik Vogel ae7a82fa1c Turn ShaderSetup into struct 9 years ago
Alexander Laties 0a31e373f1 fixup simple type conversions where possible 9 years ago
Jannik Vogel 7d7849d71a citra_qt: Replace 'Pica Framebuffer Debugger' with 'Pica Surface Viewer' 9 years ago
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.
9 years ago
bunnei 55946cdc11 Merge pull request #1700 from wwylele/gamelist-icon
Qt: display game icon and title in the game list
9 years ago
wwylele 9da1534237 add missing header 9 years ago
wwylele 0176e2786f make the name column larger as default 9 years ago
wwylele 5d5dd66d92 add icon & title to game list 9 years ago
Jannik Vogel 7a77b8356c Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation 9 years ago
Emmanuel Gil Peyrot 691a42fe98 VideoCore: Run include-what-you-use and fix most includes. 9 years ago
MerryMage 4e971f44a2 Audio: Add sink selection to configuration files 9 years ago
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.
9 years ago
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
9 years ago
Emmanuel Gil Peyrot 591ffad670 Qt Frontend: Add Threads::Threads import in CMakeLists.txt.
This had been forgotten in df81fa11fc.

Fixes #1711.
9 years ago
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. 9 years ago
Sam Spilsbury 2850a22359 debugger: Warn if we reach an unreachable format 9 years ago
tfarley e46d086189 Config: Add scaled resolution option 9 years ago
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
9 years ago
MerryMage fd771d7a87 Configure Dialog: Remove minimumSize property 9 years ago
Jannik Vogel f2c8619704 CitraQt: Apply config at startup 9 years ago
bunnei a1b81469a3 Merge pull request #1368 from LittleWhite-tb/configure-widget
Implementation for a configure widget
9 years ago
Mathew Maidment aa6380e5bc Merge pull request #1643 from MerryMage/make_unique
Common: Remove Common::make_unique, use std::make_unique
9 years ago
MerryMage a06dcfeb61 Common: Remove Common::make_unique, use std::make_unique 9 years ago
LFsWang 87afef73b1 remove debug code 9 years ago
LFsWang acfa76aa38 Fix encode problem On Windows 9 years ago
LittleWhite b0e2e1d3f5 Compilation fix 9 years ago
LittleWhite 3eb737a5f5 Add more stuff to configure. 9 years ago
LittleWhite e33b938505 Whole config is handled by Config class.
This also means : we have only one config file, now
9 years ago
LittleWhite 426c4a2a5b Add Configure widget 9 years ago
LFsWang 933af7af66 Fix Qt chinese words encode problem on Windows 9 years ago
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
9 years ago
LittleWhite 5912c9c327 Register ROM started through the gamelist in the list of ROM recently started 9 years ago
Jannik Vogel 9aad2f29bb PICA: Fix MAD/MADI encoding 9 years ago
Jannik Vogel 557b732b43 Fix attribute mapping in vs debugger 9 years ago
bunnei 8530a2d7df Merge pull request #1344 from LittleWhite-tb/error-output
Output errors in GUI
9 years ago
LittleWhite 4be68dddfb Improve error report from Init() functions
Add error popup when citra initialization failed
9 years ago
LittleWhite 9d8a724225 Set the appropriate locale to get float conversion working using std::to_string 9 years ago
LittleWhite 7ad669a911 Display errors in GUI when loading ROM failed 9 years ago
bunnei c9009d39d4 Merge pull request #1394 from ds84182/immediate-mode-vtx
Add immediate mode vertex submission
9 years ago
Dwayne Slater 6b775034dd Add immediate mode vertex submission 9 years ago
bunnei 699b2a6571 Merge pull request #1403 from MerryMage/sdl
Dependencies: Remove GLFW, Add SDL2
9 years ago
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
9 years ago
bunnei c28a48aa02 Merge pull request #1352 from LittleWhite-tb/exit_check
Add check before closure when emulation is running
9 years ago
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.
9 years ago
LittleWhite 973a6c40da Add a configuration entry to enable/disable the check 9 years ago
LittleWhite c2b210f713 Add check before closure when emulation is running
Implement confirmation in a specific function
Fix typos and coding style

Coding convention
9 years ago
archshift 0144b8e1da Change default gameListRootDir from "" to "."
Not much thought went into that one...
9 years ago
bunnei 0ca8354464 Merge pull request #1330 from archshift/add-defaults
Gamelist: supply default settings for QSettings config
9 years ago
archshift e516a5bc96 Gamelist: supply default settings for QSettings config 9 years ago
Lioncash cee8df6ff0 core: Use unique_ptr for holding the interpreter instances 9 years ago
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.
9 years ago
bunnei 43bb29edc5 Merge pull request #1122 from polaris-/gdbstub
gdbstub implementation
9 years ago
polaris- a5ab8accc2 Handle changes pointed out in comments on PR 9 years ago
wwylele 6e57389172 change file path encoding to Local8bit()
to support non-latin characters
9 years ago
bunnei 7411aed5c7 Merge pull request #1207 from kemenaran/persist-citra-settings-in-qt
citra-qt: save hardware-rendering and shaders-jit settings
9 years ago
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.
9 years ago
Pierre de La Morinerie 22421528b7 citra-qt: Add icon to Mac app
Previously the Mac app didn't have any icon.
9 years ago
Emmanuel Gil Peyrot 14af5919ba CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
The LOG_* function itself already appends one.
9 years ago
bunnei 7c747c8c33 Merge pull request #1189 from archshift/game-list-toggle-window
Game list: propely hide on toggling window mode
9 years ago
Rohit Nirmal 32391cffdd Silence -Wsign-compare warnings. 9 years ago
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.
9 years ago
Pierre de La Morinerie ba5d0f594d citra-qt: Fix mouse events coordinates on high-DPI screens 10 years ago
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.
10 years ago
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.
10 years ago
polaris- 31dee93e84 Implement gdbstub 10 years ago
bunnei 11a64acf23 Merge pull request #1095 from archshift/game-list
Initial implementation of a game list
10 years ago
archshift 0fae76c741 Game list: save and load column sizes, sort order, to QSettings 10 years ago
archshift 797b91a449 Add menu item for selecting the game list folder 10 years ago
archshift 6e1bb58ee8 Initial implementation of a game list 10 years ago
archshift f297a59985 Add helper function for creating a readable byte size string. 10 years ago
archshift afd06675fa Don't show render window until a game is started 10 years ago
LittleWhite d06824809f Fix for the refresh issue when no rendering is done 10 years ago
Kloen 541fc80240 citra-qt: Fix connect error on startup 10 years ago
Yuri Kunde Schlesner b3af7aad9e Merge pull request #1123 from yuriks/gsp-flush
GSP: Implement command 0x05, used for flushing caches
10 years ago
bunnei d6e56b8c88 Merge pull request #1111 from LittleWhite-tb/qt-close-renderwindow
Stop emulation when render window is closed
10 years ago
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.)
10 years ago
Lioncash 07bfe0abbb general: Replace 0 literals with nullptr where applicable 10 years ago
Yuri Kunde Schlesner 5bca1e6adf Merge pull request #1147 from lioncash/nullptr
General: Replace NULL and '0' usages with nullptr where applicable
10 years ago
Yuri Kunde Schlesner 5bf8eed96c Merge pull request #1149 from lioncash/override
graphics_breakpoints_p: Add missing override specifier
10 years ago
Lioncash ec93d6e19a graphics_breakpoints_p: Add missing override specifier 10 years ago
Lioncash 60b3fc01a2 General: Replace NULL and '0' usages with nullptr where applicable 10 years ago
Lioncash abe5bb4019 citra_qt: Reorganize headers 10 years ago
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
10 years ago
Yuri Kunde Schlesner 3244b2b79e citra-qt: Separate UI layout state in a separate section of the config
Closes #1113
10 years ago
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.
10 years ago
bunnei 0f2005c370 Merge pull request #1118 from Kloen/monospace-font
citra-qt: Use monospace font on Disassembler and ARM Registers
10 years ago
Yuri Kunde Schlesner 2011f9a042 Shader Debugger: Allow editing of input vertex data 10 years ago
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.
10 years ago
Yuri Kunde Schlesner 2c98275b51 Shader Debugger: Remove useless signal 10 years ago
Yuri Kunde Schlesner f77dfb3966 Shader Debugger: Fix only first vertex attribute being loaded 10 years ago
Yuri Kunde Schlesner c1beb2ce20 Shader Debugger: Fix freeze when double-clicking shader disassembly 10 years ago