twinaphex
b07d80efe1
gfx_widgets.h - add RETRO_BEGIN_DECLS/RETRO_END_DECLS
2021-09-30 15:29:57 +02:00
twinaphex
5ba8843354
Move dispwidget_get_ptr over to gfx_widgets.c
2021-09-30 04:40:15 +02:00
twinaphex
0e9b2179af
move scaler object out of screenshot_task_state
2021-09-30 02:19:16 +02:00
twinaphex
efe34f52af
(gl_common.c) Add HAVE_CONFIG_H
2021-09-29 17:48:58 +02:00
twinaphex
b5190b3662
Add glsym/glsym.h header for gl_common.c
2021-09-28 16:28:56 +02:00
twinaphex
cc2fea4c85
(MSVC2019/D3D9) D3D9 works now - HAVE_HLSL and HAVE_D3DX both set now
2021-09-28 15:50:15 +02:00
twinaphex
4f8ca90dd0
Move code over to gfx/video_driver.c
2021-09-28 15:29:05 +02:00
twinaphex
0364a277e4
Fix function declaration
2021-09-28 15:22:33 +02:00
twinaphex
4c419466e6
Cleanups
2021-09-28 15:19:08 +02:00
twinaphex
9bb2359a86
More naming consistency changes - take 'retroarch_' prefix out of
...
functions that don't touch p_rarch state
2021-09-28 13:48:49 +02:00
twinaphex
f90809d754
Move data out of retroarch_data.h and into retroarch.c
2021-09-28 13:02:14 +02:00
twinaphex
e886e908d5
Create consistent naming conventions - use retroarch_ instead
...
of rarch_ for some functions for all functions coming from retroarch.h
2021-09-28 12:56:10 +02:00
twinaphex
e4bec6739c
Move code over to menu_driver.c
2021-09-28 12:07:29 +02:00
twinaphex
8ef9065c86
Get rid of menu_driver_is_alive - we don't want these one/two-line getters/setters anymore
2021-09-28 10:27:00 +02:00
twinaphex
e31fbb8048
Move menu_driver_alive to menu_state
2021-09-28 10:11:13 +02:00
twinaphex
1e29ba3cd6
Move menu_driver_is_binding to menu_state
2021-09-28 09:52:46 +02:00
twinaphex
9e26012751
Move menu_driver_init_internal to menu_driver.c
2021-09-28 09:32:11 +02:00
twinaphex
9727be4de6
Cleanup
2021-09-28 04:03:15 +02:00
twinaphex
6a72403f0f
(MSVC) Define HAVE_D3DX when HAVE_HLSL is defined
2021-09-28 03:37:08 +02:00
twinaphex
774dccca7c
Move more code over to gfx/video_driver.c
2021-09-28 02:15:11 +02:00
twinaphex
3dee62ce62
Cleanups and buildfix
2021-09-28 01:16:53 +02:00
twinaphex
05e4aa8bfb
move more code over to gfx/video_driver.c
2021-09-28 00:50:48 +02:00
twinaphex
4574a58683
(video_driver.c) Move some code over
2021-09-27 20:31:31 +02:00
twinaphex
0448afab96
Move video driver functions over to gfx/video_driver.c
2021-09-27 19:37:22 +02:00
twinaphex
c3afd4b1a5
Buildfix for Emscripten
2021-09-26 23:07:51 +02:00
twinaphex
e8dbcd4600
Fix griffin_cpp.cpp
2021-09-26 22:59:32 +02:00
twinaphex
31eaeb1a03
Create gl_flush
2021-09-26 22:28:28 +02:00
twinaphex
422e940bc4
Fix gl_common.h
2021-09-26 22:22:20 +02:00
twinaphex
d4af68d2dd
Add glsym/rglgen.h for x_ctx.c
2021-09-26 22:16:18 +02:00
twinaphex
76db3e02cf
Create gl_clear
2021-09-26 22:10:53 +02:00
twinaphex
4aafbf2340
Create gl_common.c/gl_common.h
2021-09-26 19:57:08 +02:00
twinaphex
4b5951bda3
Rename gl_common.h to gl2_common.h and remove some file dependencies
...
on it
2021-09-26 17:42:12 +02:00
twinaphex
6f36e0a2dd
Rename GL driver files + add some comments to D3D drivers - gl_core
...
becomes gl3, gl becomes gl2, etc
2021-09-26 14:16:09 +02:00
twinaphex
2a4862ad8d
Rename mimpapgen_sm5.h to mipmapgen_sm5.h
2021-09-26 13:30:50 +02:00
twinaphex
8fa1f998c5
Move d3d9 headers to gfx/include/d3d9
2021-09-26 12:49:53 +02:00
twinaphex
0e21365be1
(MSVC) Add HAVE_HLSL to MSVC targets
2021-09-26 12:30:27 +02:00
twinaphex
bbbc4452d7
(MSVC 2010) Add HAVE_HLSL
2021-09-26 09:48:57 +02:00
twinaphex
ee97c2066a
Make sure this is no longer a function behind a ifdef - too much
...
maintenance chores
2021-09-26 02:47:43 +02:00
twinaphex
89968333a4
Attempt to fix Mac build
2021-09-26 02:38:57 +02:00
Autechre
12540d750d
Merge pull request #13037 from gblues/gblues/wiiu-fix-warnings
...
WIIU: Clean up a bunch of compiler warnings
2021-09-26 00:57:02 +02:00
MajorPainTheCactus
e08cc6e260
Fixed up the d3d9 driver ( #13038 )
...
* Fixed d3d9 mvp matrix issue
* Fixed up the d3d9 driver to display the game now
2021-09-26 00:19:45 +02:00
Nathan Strong
fb86ca6e33
Fix the snprintf warnings for everyone this time
...
== DETAILS
So, basically this back-and-forth is because we used fixed-size
data types (i.e. `uint32_t`) which maps to different primitive data
types on different platforms. So `uint32_t` might be a `long` on some
platforms (e.g. Wii U), while it's just a plain integer on others (PC).
And the format specifier works off primitive data type, not data type
size.
So, to resolve this, we:
- keep `%lx` as the format specifier
- cast the parameter to printf to unsigned long
This is better than the alternatives that could cause problems trying to
cast a long down to an int.
2021-09-25 15:08:34 -07:00
Nathan Strong
a3241aa9b2
fix missing semicolon
2021-09-25 14:03:29 -07:00
Nathan Strong
9b2d4236ad
WIIU: Clean up a bunch of compiler warnings
...
== DETAILS
These changes fall into a few broad categories:
1. Explicitly undefine things we want to re-define due to conflicts with
the version of devkitpro we're using
2. Clean up hex format specifiers to use `%lx` or `%lX` when working with
long integers
3. Move variables inside the ifdef they're used in to squelch "unused variable"
messages
4. Add parenthesis to make Wii U shader declarations stop complaining
And then there's a weird "misleading indent" warning that I fixed by just
rewriting a block of code to use a switch statement instead of if-then-else.
These changes work fine on Wii U, but we'll need to keep an eye on CI/CD to see
if other platform builds break.
2021-09-25 13:25:39 -07:00
Ömercan Kömür
714cfc581d
android launcher logo ( #13035 )
...
This will fill the corners on the homescreen
2021-09-25 11:39:44 +02:00
grant2258
a327fdb6fe
add mouse relative check and set appropiatley to fix issue ( #12994 )
...
* re add this after failed rebase
* update
* temp fix for device friendly naming as it is for testing
* add device friendly names in the appropiate place
* add/remove hotplug dev to ra input mouse port list
Co-authored-by: grant2258 <you@example.com>
2021-09-24 18:31:20 +02:00
Ben Hamilton (Ben Gertzfield)
1970786932
New feature: Use gamepad combo to quit Retroarch ( #13017 )
...
* Refactor menu toggle combo button logic to allow quit combo button
* Quit gamepad combo
* Fixes from @jdgleaver
2021-09-24 18:30:46 +02:00
jdgleaver
50bb7afa9d
(.gitlab-ci.yml) Detect MSVC build errors
2021-09-24 12:39:20 +02:00
jdgleaver
f52fbd32a0
(libretro-common/file_stream) Restore missing filestream_scanf() function
2021-09-24 12:12:52 +02:00
markwkidd
7b020f4cc5
correct vscode gitignore typo ( #13029 )
2021-09-23 18:40:26 +02:00