Commit graph

412 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
97e8c6c845 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
44d7dc9cb1 Config: Restore previously selected audio sink option (#1824) 2016-05-20 20:37:34 +02:00
bunnei
d83ae8ff62 Merge pull request #1785 from MerryMage/mp-dpi
Microprofile: DPI-aware drawing
2016-05-18 18:03:59 -04:00
Maribel
3172c8cdad Config: Audio sink configuration (#1798) 2016-05-18 18:01:03 -04:00
MerryMage
49dea00b11 Microprofile: DPI-aware drawing 2016-05-12 21:49:02 +01:00
Jannik Vogel
101eb11369 Move default_attributes into Pica state 2016-05-12 19:05:41 +02:00
Jannik Vogel
acfb5257dd Turn ShaderSetup into struct 2016-05-11 23:48:24 +02:00
Alexander Laties
17e9bc5392 fixup simple type conversions where possible 2016-05-07 11:41:55 -04:00
Emmanuel Gil Peyrot
f20454b97c 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
143ebcaed0 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
aad34f5d62 add missing header 2016-05-04 13:02:49 +03:00
wwylele
fe31f05925 make the name column larger as default 2016-05-04 13:02:49 +03:00
wwylele
a23e3f1cd5 add icon & title to game list 2016-05-04 13:02:49 +03:00
Jannik Vogel
db061e0568 Pica: Rename VertexLoaded breakpoint to VertexShaderInvocation 2016-05-04 10:21:51 +02:00
Emmanuel Gil Peyrot
c39a267974 VideoCore: Run include-what-you-use and fix most includes. 2016-04-30 17:02:41 +01:00
MerryMage
aa47fc2406 Audio: Add sink selection to configuration files 2016-04-30 07:41:02 +01:00
Yuri Kunde Schlesner
2396b01d5d 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
eaf9abfe8e 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
2ea4f2851a Qt Frontend: Add Threads::Threads import in CMakeLists.txt.
This had been forgotten in 72fc7f4894.

Fixes #1711.
2016-04-26 21:01:11 +01:00
Henrik Rydgard
76a55f83c7 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
3cae13c76b debugger: Warn if we reach an unreachable format 2016-04-23 11:54:02 +08:00
tfarley
621cf30b24 Config: Add scaled resolution option 2016-04-21 17:27:48 -04:00
MerryMage
784e5a7007 Configure Dialog: Remove minimumSize property 2016-04-15 11:34:08 +01:00
Jannik Vogel
ce26f4c099 CitraQt: Apply config at startup 2016-04-11 15:18:00 +02:00
bunnei
fda5058f1d Merge pull request #1368 from LittleWhite-tb/configure-widget
Implementation for a configure widget
2016-04-10 20:21:34 -04:00
Mathew Maidment
3cf5e4d51c 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
9f9c987924 Common: Remove Common::make_unique, use std::make_unique 2016-04-05 13:31:17 +01:00
LFsWang
26fb25e106 remove debug code 2016-03-31 20:29:39 +08:00
LFsWang
9ad1f457de Fix encode problem On Windows 2016-03-31 18:58:37 +08:00
LittleWhite
611b686333 Compilation fix 2016-03-28 15:33:03 +02:00
LittleWhite
aad774fa01 Add more stuff to configure. 2016-03-22 21:53:43 +01:00
LittleWhite
9ddc04971b 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
e5b8519b62 Add Configure widget 2016-03-21 20:03:18 +01:00
LFsWang
b692dbafe3 Fix Qt chinese words encode problem on Windows 2016-03-17 17:18:45 +08:00
Yuri Kunde Schlesner
7be85066fb 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
7cbbcfd995 Register ROM started through the gamelist in the list of ROM recently started 2016-03-16 22:20:39 +01:00
Jannik Vogel
9e29ed3f66 PICA: Fix MAD/MADI encoding 2016-03-15 20:01:25 +01:00
Jannik Vogel
49010f5379 Fix attribute mapping in vs debugger 2016-03-09 13:15:37 +01:00
bunnei
ceed7d1030 Merge pull request #1344 from LittleWhite-tb/error-output
Output errors in GUI
2016-03-08 23:12:04 -05:00
LittleWhite
59fe02348a Improve error report from Init() functions
Add error popup when citra initialization failed
2016-03-08 22:05:25 +01:00
LittleWhite
8a7526eda8 Set the appropriate locale to get float conversion working using std::to_string 2016-03-07 19:51:35 +01:00
LittleWhite
c4c48d4ab3 Display errors in GUI when loading ROM failed 2016-03-03 22:52:29 +01:00
bunnei
79a345a1db Merge pull request #1394 from ds84182/immediate-mode-vtx
Add immediate mode vertex submission
2016-03-03 10:51:15 -05:00
Dwayne Slater
141fe87a0f Add immediate mode vertex submission 2016-03-02 22:16:38 -05:00
bunnei
0f79bf074b Merge pull request #1403 from MerryMage/sdl
Dependencies: Remove GLFW, Add SDL2
2016-03-02 20:32:32 -05:00
MerryMage
f2c32b7336 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
bce29a5751 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
d2710b784a 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
3a13842bb2 Add a configuration entry to enable/disable the check 2016-02-04 22:15:42 +01:00
LittleWhite
68325884e3 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