Subv
32fb947b55
HLE/Applets: Implemented a dummy Mii Selector applet.
...
This prevents some games (like Super Mario 3D Land) from freezing when trying to launch it, however, it's not complete and won't let you go past Mii selection as the parameter structure hasn't been reverse engineered yet.
2016-03-12 10:59:37 -05:00
bunnei
d08af80159
Merge pull request #1500 from lioncash/nullptr
...
gsp_gpu: Change 0 literal to nullptr
2016-03-12 10:15:02 -05:00
Lioncash
2d0c3f789a
gsp_gpu: Change 0 literal to nullptr
2016-03-11 22:59:48 -05:00
Lioncash
282f891de8
hle: Update service function tables
2016-03-11 22:23:51 -05:00
bunnei
7ef7d43242
Merge pull request #1476 from lioncash/emit
...
emitter: constexpr/misc changes
2016-03-10 01:06:25 -05:00
Yuri Kunde Schlesner
e87df3fd32
Merge pull request #1475 from lioncash/align
...
Common: Get rid of alignment macros
2016-03-09 20:08:38 -08:00
Yuri Kunde Schlesner
2cb56da0c1
Merge pull request #1478 from JayFoxRox/master
...
Fix attribute mapping in vs debugger
2016-03-09 20:06:49 -08:00
LittleWhite
3009d268e8
Fix missing return
2016-03-09 22:20:08 +01:00
bunnei
a62a43a756
Merge pull request #1474 from lioncash/renderer
...
renderer_base: Minor changes
2016-03-09 10:57:38 -05:00
Jannik Vogel
49010f5379
Fix attribute mapping in vs debugger
2016-03-09 13:15:37 +01:00
Lioncash
11f0ba5143
emitter: templatize ImmPtr
2016-03-09 03:13:01 -05:00
Lioncash
adc46f6a4f
emitter: constexpr-ify helper functions
2016-03-09 03:13:00 -05:00
Lioncash
eaf4973993
emitter: Get rid of CanDoOpWith
...
This was removed in Dolphin as there were no particular uses for it.
I'm sure the same will apply to citra.
2016-03-09 03:12:59 -05:00
Lioncash
fad503ce71
emitter: constexpr-ify OpArg
2016-03-09 03:12:53 -05:00
Lioncash
3a2c84f5a4
emitter: friend class OpArg with XEmitter
2016-03-09 02:25:00 -05:00
Lioncash
ba1b8314f4
emitter: Remove unimplemented prototype
2016-03-09 02:20:00 -05:00
Lioncash
f932c2f4ac
Common: Get rid of alignment macros
...
The gl rasterizer already uses alignas,
so we may as well move everything over.
2016-03-09 01:31:14 -05:00
bunnei
ceed7d1030
Merge pull request #1344 from LittleWhite-tb/error-output
...
Output errors in GUI
2016-03-08 23:12:04 -05:00
Lioncash
451cd3e77d
renderer_base: In-class initialize variables
2016-03-08 21:46:47 -05:00
Lioncash
b759bf3513
render_base: Clarify/normalize getter functions
2016-03-08 21:45:24 -05:00
Lioncash
c9f47a9b3c
renderer_base: Don't directly expose the rasterizer unique_ptr
...
There's no reason to allow direct access to the unique_ptr instance. Only
its contained pointer.
2016-03-08 21:31:44 -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
bunnei
c1fd14653e
Merge pull request #1441 from MerryMage/dsp-pipes
...
AudioCore: Implement Pipe 2
2016-03-07 20:29:30 -05:00
bunnei
bf46727f9a
Merge pull request #1467 from LittleWhite-tb/bug-shader-object
...
Set the appropriate locale to get float conversion working using to_string
2016-03-07 20:23:48 -05:00
LittleWhite
8a7526eda8
Set the appropriate locale to get float conversion working using std::to_string
2016-03-07 19:51:35 +01:00
MerryMage
447d9a5677
DSP: Implement Pipe 2
...
Pipe 2 is a DSP pipe that is used to initialize both the DSP hardware (the
application signals to the DSP to initialize) and the application (the DSP
provides the memory location of structures in the shared memory region).
2016-03-06 21:25:44 +00:00
bunnei
7ab5618389
Merge pull request #1462 from yuriks/depth-test-write
...
Pica: Write depth value even when depth test is disabled
2016-03-06 11:16:21 -05:00
Yuri Kunde Schlesner
46dc35ae20
Memory: Do correct Phys->Virt address translation for non-APP linheap
2016-03-05 22:09:59 -08:00
Mathew Maidment
1e3d77932e
Merge pull request #1455 from yuriks/ResultVal-union
...
core: Use unrestricted union to hold storage of ResultVal value
2016-03-05 23:29:14 -05:00
Yuri Kunde Schlesner
d2ce686d97
Pica: Write depth value even when depth test is disabled
...
This has been confirmed on hardware. Fixes Etrian Odyssey IV.
2016-03-05 20:16:20 -08:00
MerryMage
adb7e78b17
DSP: Print hash of firmware to console
2016-03-06 00:11:17 +00:00
Yuri Kunde Schlesner
16cb116917
core: Use unrestricted union to hold storage of ResultVal value
2016-03-05 00:13:20 -08:00
Yuri Kunde Schlesner
990a3e6038
Loader/NCCH: Log the program ID during loading
...
This is useful for all sorts of things, but mainly to identify save
folders more easily.
2016-03-04 23:53:10 -08:00
bunnei
7f45943e6b
Merge pull request #1429 from mailwl/branch-acu
...
ac:u IsConnected implemented
2016-03-05 02:10:25 -05:00
bunnei
60ffdd31be
Merge pull request #1389 from yuriks/stub-cam
...
Stub CAM:U service
2016-03-04 10:11:09 -05:00
mailwl
a26b4a58bc
ac:u: Stub IsConnected
2016-03-04 15:59:02 +03: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
e0f6f23b3e
Config: Use unique_ptr instead of raw pointer
2016-03-02 14:25:06 +00:00
bunnei
15c904d19d
Merge pull request #1434 from Kloen/legend
...
Add THREADPROCESSORID_ALL on SVC::CreateThread
2016-03-02 09:09:09 -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
25ba135264
Merge pull request #1297 from Subv/saves
...
DiskDirectory: Initialize the directory member with valid info.
2016-03-01 17:16:05 -05:00
Kloen
c72411acb2
ThreadProcessorId_All on SVC::CreateThread
2016-03-01 12:03:32 +01:00
Yuri Kunde Schlesner
f91de86e81
Service/CFG: Fix potential endianess issue
2016-02-29 23:56:02 -08:00
Yuri Kunde Schlesner
37a56c1060
Service/CFG: Add block 0x000A0000 (username) to default config file
2016-02-29 23:55:48 -08:00
Yuri Kunde Schlesner
599af1f430
Service/CAM: Add doxycomments to all service functions
2016-02-29 22:53:36 -08:00
Yuri Kunde Schlesner
612dd84ebe
Merge pull request #1427 from MerryMage/emit-lbit
...
x64 Emitter: Fix L bit in VEX prefix
2016-02-28 03:12:57 -08:00
MerryMage
7ca5dd5e08
x64 Emitter: Fix L bit in VEX prefix
2016-02-27 12:45:26 +00:00
mailwl
7695b324c9
Initial implementation ir:user
2016-02-26 18:39:28 +03: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
bunnei
dee2df194d
Merge pull request #1424 from MerryMage/lut_init
...
renderer_opengl: Initalise fragment shader LUT textures
2016-02-25 19:36:27 -05:00
bunnei
62b36fb925
Merge pull request #1386 from MerryMage/audio-core-skeleton
...
Audio Core: Skeleton
2016-02-25 19:21:50 -05:00
MerryMage
0e58079fcd
renderer_opengl: Initalise fragment shader LUT textures
2016-02-26 00:12:38 +00:00
bunnei
87ffba7a6f
Merge pull request #1395 from ds84182/padding-attributes
...
Add support for padding vertex attributes
2016-02-24 18:15:16 -08: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
Dwayne Slater
77879fcf08
Fix out of bounds array access when loading a component >= 12
2016-02-20 19:03:14 -05:00
Dwayne Slater
ad2c86d416
Add support for padding vertex attributes
2016-02-20 19:00:31 -05:00
Yuri Kunde Schlesner
56ddccd40e
Service/CAM: Dummy implementation of some functions
...
Thanks to @mailwl for the initial version of the stubs.
2016-02-13 01:16:08 -08:00
MerryMage
867c111e99
BitField: Make trivially copyable and remove assignment operator
2016-02-12 19:51:16 +00:00
bunnei
a5f5751b75
pica: Cleanup lighting register definitions and documentation.
2016-02-05 17:20:25 -05:00
bunnei
0a12278cd2
gl_rasterizer: Use alignas(16) instead of explicit padding.
2016-02-05 17:20:24 -05:00
bunnei
1dd1f58218
renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types.
2016-02-05 17:20:23 -05:00
bunnei
a6ad0df69f
gl_rasterizer: Fix issue with interpolation of opposite quaternions.
2016-02-05 17:20:23 -05:00
bunnei
0e48729a3a
pica_types: Fix typo in docstring.
2016-02-05 17:20:22 -05:00
bunnei
cc283bfedd
pica_types: Replace float24/20/16 with a template class.
2016-02-05 17:20:22 -05:00
bunnei
27523be7a4
command_processor: Add an assertion to ensure LUTs are not written past their boundaries.
2016-02-05 17:20:20 -05:00
bunnei
fb6e05281c
gl_rasterizer: Remove unnecessary casts.
2016-02-05 17:20:19 -05:00
bunnei
a30c609b75
gl_rasterizer: Fix PicaShaderConfig on GCC.
2016-02-05 17:20:19 -05:00
bunnei
4e22e5544a
gl_rasterizer: Initial implementation of bump mapping.
2016-02-05 17:20:19 -05:00
bunnei
da4f531a59
gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]).
2016-02-05 17:20:17 -05:00
bunnei
ff25eb8cc9
gl_shader_gen: Implement lighting red, green, and blue reflection.
2016-02-05 17:20:16 -05:00
bunnei
4f0fc85f84
gl_shader_gen: View should be normalized.
2016-02-05 17:20:15 -05:00
bunnei
d376a783ea
gl_shader_gen: Implement fragment lighting fresnel effect.
2016-02-05 17:20:13 -05:00
bunnei
b07c7c26c6
gl_shader_gen: Implement fragment lighting specular 1 component.
2016-02-05 17:19:16 -05:00
bunnei
f878148e30
gl_shader_gen: Add support for D0 LUT scaling.
2016-02-05 17:18:36 -05:00
bunnei
481017a334
gl_shader_gen: Refactor lighting config to match Pica register naming.
...
- Also implement D0 LUT enable.
2016-02-05 17:17:35 -05:00
bunnei
1bb0aa6c01
pica: Cleanup and add some comments to lighting registers.
2016-02-05 17:17:34 -05:00
bunnei
2658c7f266
gl_rasterizer: Minor naming refactor on Pica register naming.
2016-02-05 17:17:33 -05:00
bunnei
f7510ba8f0
gl_shader_gen: Reorganize and cleanup lighting code.
...
- No functional difference.
2016-02-05 17:17:33 -05:00
bunnei
9cd5c49ee5
gl_shader_gen: Fix directional lights.
2016-02-05 17:17:32 -05:00
bunnei
aabc988463
gl_shader_gen: Fix bug with lighting where clamp highlights was only applied to last light.
2016-02-05 17:17:32 -05:00
bunnei
14877aa76f
gl_shader_gen: View vector needs to be normalized when computing half angle vector.
2016-02-05 17:17:31 -05:00
bunnei
bb3014fb28
renderer_opengl: Use textures for fragment shader LUTs instead of UBOs.
...
- Gets us LUT interpolation for free.
- Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs.
2016-02-05 17:17:31 -05:00
bunnei
81511f08fa
renderer_opengl: Initial implementation of basic specular lighting.
2016-02-05 17:17:30 -05:00
bunnei
49cd958486
renderer_opengl: Implement HW fragment lighting distance attenuation.
2016-02-05 17:17:30 -05:00
bunnei
11fba4e8d0
renderer_opengl: Implement HW fragment lighting LUTs within our default UBO.
2016-02-05 17:17:29 -05:00
bunnei
07b07a2f24
renderer_opengl: Implement diffuse component of HW fragment lighting.
2016-02-05 17:17:29 -05:00
bunnei
3c3e328340
pica: Implement decoding of basic fragment lighting components.
...
- Diffuse
- Distance attenuation
- float16/float20 types
- Vertex Shader 'view' output
2016-02-05 17:17:28 -05:00
bunnei
8a9194f06e
pica: Implement fragment lighting LUTs.
2016-02-05 17:17:27 -05:00
bunnei
fe094ec9a0
pica: Add decodings for distance attenuation and LUT registers.
2016-02-05 17:17:26 -05:00
bunnei
d5edd881d3
pica: Add pica_types module and move float24 definition.
2016-02-05 17:17:26 -05:00
bunnei
20336f286a
Merge pull request #1391 from tfarley/hw-fb-sync-fix
...
hwrasterizer: Use proper cached framebuffer addr/size
2016-02-05 17:03:58 -05:00
Lioncash
e9114a6976
backend: defaulted move constructor/assignment
2016-02-04 22:39:33 -05: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
tfarley
958e67ab53
hwrasterizer: Use proper cached fb addr/size
2016-02-03 15:52:34 -05:00
bunnei
11f8d32e41
Merge pull request #1387 from lioncash/func
...
services: minor changes
2016-02-03 12:14:48 -05:00
Yuri Kunde Schlesner
e82e3f64fd
OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging level
...
The nVidia driver is *extremely* spammy on this category, sending a
message on every buffer or texture upload, slowing down the emulator and
making the log useless.
2016-02-02 22:44:13 -08:00