Commit Graph

9434 Commits

Author SHA1 Message Date
JosJuice
ce07ef1821 android: Use correct encoding when converting strings
The JNI functions that have "UTF" their name use "modified UTF-8"
rather than the standard UTF-8 that Citra uses, at least according
to Oracle's documentation, so it is incorrect for us to use them.
This change fixes the problem by converting between UTF-8 and
UTF-16 manually instead of letting JNI do it for us.
2022-08-03 15:54:15 +02:00
JosJuice
87677be921 android: Create utility function for converting strings to Java 2022-08-03 15:45:11 +02:00
JosJuice
e65ca8b907 android: Deduplicate GetJString 2022-08-03 15:45:11 +02:00
Morph
bf6e4a41d7
Merge pull request #6086 from zhaobot/tx-update-20220801035019
Update translations (2022-08-01)
2022-08-01 06:43:59 -04:00
pawelniegowski
ce441237cf
Update src/core/frontend/emu_window.h
clang-format

Co-authored-by: BreadFish64 <mohror64@gmail.com>
2022-08-01 09:07:23 +02:00
The Citra Community
2c91bab0c5 Update translations (2022-08-01) 2022-08-01 03:50:38 +00:00
pawelniegowski
ff81fb04b4 Fix MakeCurrent and shader issues with AMD 22.7 driver 2022-07-29 12:26:18 +02:00
Ian Chamberlain
6764264488
Initialize GAMECONTROLLER in EmuWindow_SDL2 (#6078)
Resolves #6077

If only `SDL_INIT_JOYSTICK` is used, `InputCommon::SDL::SDLState` later tries to initialize the game controller in a background thread, which on macOS causes a crash in `SDL_PumpEvents`. From [the SDL docs](https://wiki.libsdl.org/SDL_Init), `SDL_INIT_GAMECONTROLLER` implies `SDL_INIT_JOYSTICK`, so this should be a total superset of the previous behavior.
2022-07-28 20:51:53 +05:30
Diego Arias
357025dfdf
loader: check for overflow of seg_sizes[] in 3dsx loader (#6075) 2022-07-23 21:57:55 +05:30
Z11-V
2b2868f156
screenshot fixes (#6070)
* screenshot fixes

* formatting

* disable screenshot on pause
2022-07-23 21:57:32 +05:30
merry
2d95b9946f
framebuffer_layout: Fix positioning of small screen when centered in landscape on mobile (#6071) 2022-07-17 17:49:55 +05:30
BreadFish64
353aaaf665
Merge pull request #6010 from SachinVin/gunman
shader_jit: Fixes for Gunman clive
2022-07-06 23:45:44 -05:00
Z11-V
19d97e4180
added quick screenshot (#6025)
Modified Capture screenshot to save screenshots with a timestamped name in the user directory.
2022-07-06 21:51:01 -05:00
Morph
355933218d
Merge pull request #6062 from SachinVin/dyn-msvc
dynarmic: workaround MSCV compile error
2022-07-03 08:28:39 -04:00
SachinVin
243548afc4 bump dynarmic
workaround MSCV compile error
2022-07-03 13:56:33 +05:30
SachinVin
d84b3d9330
Merge pull request #6053 from Morph1984/assert-noinline
common/assert: Use noinline lambda instead of a wrapper template
2022-07-03 11:50:50 +05:30
Morph
edbe7600f5 common/assert: Use noinline lambda instead of a wrapper template
MSVC now supports specifying __declspec on lambda functions
2022-06-30 08:58:36 -04:00
SachinVin
84d5d62cf5
Merge pull request #5519 from vitor-k/decouple
Remove citra-room dependence on core
2022-06-25 14:42:31 +05:30
Morph
f71e853054
externals: Update cpp-jwt to e12ef062 (#6051)
Resolves compilation errors when compiling with C++20
2022-06-25 14:41:57 +05:30
Morph
49c0ed297f common_funcs: Add CITRA_NO_INLINE 2022-06-14 07:18:12 -04:00
Vitor Kiguchi
bc5bf28333 webservice: change naming on android as well 2022-06-11 11:44:49 +02:00
Vitor Kiguchi
28188f13f5 remove dedicated_room dependence on core 2022-06-11 10:21:18 +02:00
Vitor Kiguchi
fa0cb52a5d Move webservice settings to own file 2022-06-11 10:21:17 +02:00
SachinVin
88a4759702
citra_qt: configure_input.cpp: update the modifier settings for both the sticks (#6033)
The Controller config UI exposes the Circle mod, only for the Circle pad's modifier, So after changing the binding, it leaves the default binding for the c-stick untouched, and the user is nagged about the (default) D key being bound to something, when trying to bind it to any other button.

With this PR we update the modifier for both the Circle Pad and C-stick.
2022-06-11 11:53:27 +05:30
SachinVin
3f16cd9c82
Merge pull request #6045 from liushuyu/web-export-ssl
web_service: infect other targets with OpenSSL exports
2022-06-11 11:53:02 +05:30
liushuyu
8d603032f8
web_service: infect other targets with OpenSSL exports ...
... this can avoid the missing symbol issue when linking
2022-06-08 01:22:11 -06:00
Pengfei Zhu
3bb027ac12
Merge pull request #6042 from zhaowenlan1779/translation-fix
Add configure_enhancements.ui to CMakeLists.txt
2022-06-06 15:56:53 +08:00
Pengfei Zhu
f453fddbde
Add configure_enhancements.ui to CMakeLists.txt
This was omitted, which seemed to be preventing this tab from being translated.
2022-06-06 13:47:07 +08:00
SachinVin
b7c1c21019
Merge pull request #6030 from Daisouji/daisouji-midnight-theme
Adding Midnight Theme
2022-06-04 14:10:05 +05:30
zhaobot
a2cd03bccb
Update translations (2022-06-01) (#6039)
Co-authored-by: The Citra Community <noreply-fake@community.citra-emu.org>
2022-06-04 14:09:37 +05:30
BreadFish64
6f6a9357c2
Merge pull request #6023 from Morph1984/c4267
general: Enforce C4267 warning on MSVC
2022-06-01 19:40:35 -05:00
SachinVin
65611e5b51 Shader jit: Save and restore LOOPCOUNT_REG for nested loops,
also add the assert back for nested loops
update test
2022-05-21 11:24:32 +05:30
scribblemaniac
a6e7a81de9
Use cubic mapping for volume control (#6020)
* Use cubic mapping for volume control

* Update comment for hardware volume slider
2022-05-20 22:47:37 +05:30
Morph
77ce1c8f14 CMakeLists: Enforce C4267 on MSVC 2022-05-18 00:05:41 -04:00
Morph
adcc786ef2 tests: Resolve C4267 warning on MSVC 2022-05-18 00:05:41 -04:00
Morph
0d955c452b citra_qt: Resolve C4267 warning on MSVC 2022-05-18 00:05:41 -04:00
Morph
de1374c1b9 video_core: Resolve C4267 warning on MSVC 2022-05-18 00:05:41 -04:00
Morph
3a43475149 core: Resolve C4267 warning on MSVC 2022-05-18 00:05:41 -04:00
Morph
4e73ff3978 input_common: Resolve C4267 warning on MSVC 2022-05-18 00:05:41 -04:00
Morph
1cc1c33a15 common: Resolve C4267 warning on MSVC
Also removes Timer::GetDoubleTime() as it is unused.
2022-05-18 00:05:40 -04:00
Daisouji
2223cef4d2 Update style.qrc 2022-05-17 10:56:13 -04:00
Daisouji
577b4fe4e9 Adding Midnight_Blue to themes
Add files via upload

Removed refresh and view_refresh
2022-05-17 09:48:02 -04:00
Daisouji
67c143f971 Adding RC 2022-05-17 09:46:30 -04:00
Daisouji
0b80df25c3 Adding Midnight Assets
Add files via upload
2022-05-17 09:46:28 -04:00
Morph
46c6e5c4c0
externals: Update libressl to 3.5.2 (#6021)
Resolves compiler errors in VS 2022
2022-05-15 11:01:54 +05:30
Frazer Smith
c864bf1b0f
ci: bump github actions (#6026)
* ci: bump actions/checkout from 2 to 3

* ci: bump actions/cache from 2 to 3

* ci: bump actions/upload-artifact from 2 to 3

* ci: bump actions/download-artifact from 2 to 3
2022-05-15 11:01:34 +05:30
scribblemaniac
44e1f2319f
Improve tab ordering (#6019) 2022-05-13 20:36:09 +05:30
bunnei
856b3d6c95
Merge pull request #6014 from SachinVin/custom
FileUtil, Frontends: Fix updating custom NAND/SDMC path
2022-05-03 12:58:40 -07:00
SachinVin
b6ff58a9d6 FileUtil, Frontends: Fix updating custom NAND/SDMC path 2022-04-30 15:53:45 +05:30
SachinVin
047e238d09 shader_jit: Compile nested loops
and use `T_NEAR` instead of the default in Compile_BREAKC
2022-04-24 23:12:53 +05:30