nastys
ce7b1576e0
Low Power Mode detection
...
Change low to reduced
Low Power Mode detection
Fix namespace space
Low Power Mode detection
Fix namespace space
Low Power Mode detection
2022-03-14 08:28:02 +01:00
Eladash
86a04a867b
Qt: show time of day in 'last played' game info, log current time when RPCS3 boots ( #11220 )
2022-02-23 23:40:18 +01:00
Megamouse
c5680c29bd
Qt: set organization name
2022-02-22 14:19:29 +01:00
Megamouse
7895d43a98
Terminate headless rpcs3 if nothing was booted
2022-02-12 12:46:07 +01:00
Megamouse
d172b9add6
Rename CallAfter to CallFromMainThread
2022-02-07 19:42:08 +01:00
Nekotekina
580bd2b25e
Initial Linux Aarch64 support
...
* Update asmjit dependency (aarch64 branch)
* Disable USE_DISCORD_RPC by default
* Dump some JIT objects in rpcs3 cache dir
* Add SIGILL handler for all platforms
* Fix resetting zeroing denormals in thread pool
* Refactor most v128:: utils into global gv_** functions
* Refactor PPU interpreter (incomplete), remove "precise"
* - Instruction specializations with multiple accuracy flags
* - Adjust calling convention for speed
* - Removed precise/fast setting, replaced with static
* - Started refactoring interpreters for building at runtime JIT
* (I got tired of poor compiler optimizations)
* - Expose some accuracy settings (SAT, NJ, VNAN, FPCC)
* - Add exec_bytes PPU thread variable (akin to cycle count)
* PPU LLVM: fix VCTUXS+VCTSXS instruction NaN results
* SPU interpreter: remove "precise" for now (extremely non-portable)
* - As with PPU, settings changed to static/dynamic for interpreters.
* - Precise options will be implemented later
* Fix termination after fatal error dialog
2022-01-15 06:48:04 +03:00
nastys
3571e6ef85
macOS: Set correct maxfiles (fixes shader cache and SPU LLVM)
2022-01-11 08:05:17 +03:00
nastys
08333e0876
macOS moltenVK support and SIGBUS handling ( #11252 )
2021-12-12 21:35:56 +01:00
陈俊嘉
05881ffa62
Disable vulkan in Windows build when HAVE_VULKAN is off and other cmake build fixes. ( #11118 )
...
* Make WolfSSL build support multi-config generator.
Fix a build error in Windows when using QT's moc.
Disable vulkan in Windows build when HAVE_VULKAN is off.
* add WIN32_LEAN_AND_MEAN definition to VS project.
add HAVE_VULKAN definition to VS project.
Define NTSTATUS in main.cpp.
2021-11-13 16:11:49 +01:00
Megamouse
cbec04cd0f
Curl: fix --verbose-curl option
2021-11-11 17:37:22 +01:00
Megamouse
2359ba9aed
curl: add verbose logging
...
and really verbose logging i you use --verbose-curl
2021-11-11 00:36:42 +01:00
Megamouse
8f1dc7a2d4
Fix VFS regression
...
Implements cfg_mode
2021-09-25 19:21:59 +03:00
Megamouse
ebde86b967
CLI: add "high-res-timer" argument (defaults to 1)
2021-09-18 00:58:05 +02:00
Eladash
1cbcf7e1ad
Reimplement config selection for game startup
...
* Implement manual selection of config file.
* Implement default config option.
* Fix bug which led to 'force global config' to not work in some games. (any game using process relaunch such most game collections, RDR, MGS4 etc)
* Relax CLI config purpose - instead the emulator forever ignoring any other config except for the one provided in arg, use it only for the CLI-booted game.
2021-09-09 21:56:50 +02:00
Eladash
bd66dfedc9
Do not allow to unpause after fatal error occured in emulation
...
* Plus fix #10590
2021-09-09 19:30:54 +02:00
Nekotekina
8db02dcf40
Fixup get-commit-db utility
2021-08-30 14:42:16 +03:00
Megamouse
2431fcc2a1
windows: fix get-commit-db
2021-08-28 18:29:46 +02:00
Megamouse
1060e93783
curl: log errors
2021-08-28 17:37:52 +02:00
Nekotekina
696be6aacd
Implement fmt::ensure (assert-like with formatted message) + fmt::tie
...
Arguments should be provided via fmt::tie() due to some limitations.
Allow to specify simple message (non-formatting) for plain ::ensure().
Remove redundant function for narrow error.
2021-06-10 21:16:57 +03:00
Nekotekina
2491aad6f2
types.hpp: implement min_v<>, max_v<>, SignedInt, UnsignedInt, FPInt concepts
...
Restrict smax to only work with signed values for consistency.
Cleanup <climits> includes.
Cleanup <limits> includes.
2021-05-23 19:43:51 +03:00
Nekotekina
04cac6cd33
logs.hpp: refactoring (logs::message)
...
Make .error/.warning/... callable objects which can be pointed to.
Make .always() more hard to access.
Memory layout optimizations.
2021-05-20 01:08:32 +03:00
Megamouse
1caf81811a
Move unspecific Emulator code out of System.cpp
2021-04-24 11:21:22 +03:00
Megamouse
332eb5fbd6
Log firmware after Emu was initialized
2021-04-10 15:18:16 +02:00
Megamouse
03b76b4606
Emu: some cleanup
2021-04-09 21:03:49 +02:00
Nekotekina
1ddeef71c6
Fix some typos
2021-04-03 21:54:15 +03:00
Eladash
73320d4180
Output all fatal log messages to Console/debugger as well
2021-04-03 08:47:58 +02:00
Megamouse
9c7230e79f
cli: set user-id per command line
2021-04-02 11:50:28 +02:00
Megamouse
98687d474b
Move system info to extra line
2021-04-02 07:14:23 +02:00
Megamouse
a982280400
Qt: Drop int for QT_SCALE_FACTOR_ROUNDING_POLICY
2021-03-29 20:37:33 +02:00
Megamouse
d62983e1a2
Qt: Properly set QT_SCALE_FACTOR_ROUNDING_POLICY
2021-03-29 20:37:33 +02:00
Megamouse
9f80a55652
Qt: don't show updater if booted with cli arg
2021-03-25 23:39:42 +01:00
Megamouse
554ba9d6a6
Qt: Allow package installation through cli
...
Adds --installpkg cli option
2021-03-21 18:44:11 +01:00
Megamouse
70c98fff19
Make cli fw installation more foolproof
2021-03-20 11:57:04 +01:00
Romain TISSERAND
b5698ee101
Add command-line option to install firmware
2021-03-20 11:57:04 +01:00
Nekotekina
379138af27
Fix NtSetTimerResolution in no-gui mode (Win32)
...
Add dummy persistent timer with 10ms period.
Replace QTimer invocation with Emu.CallAfter().
This way, headless and no-gui modes should be affected by it.
2021-03-19 22:26:48 +03:00
Eladash
cd6ef2958b
Add information about unnamed/main threads in logs and fatal dialog
...
* If thread is unnamed, keep log name empty for main thread, otherwise print thread id. In fatal dialog, main thread can be handled differently (with special remark that it's main thread).
* Always print thread id in fatal dialog, regardless of thread type.
Co-authored-by: Nekotekina <nekotekina@gmail.com>
2021-03-11 22:55:06 +03:00
Megamouse
9da7910fc9
Fix auto updates. Don't pass exe as arg0 to execl
2021-03-07 01:56:25 +03:00
Nekotekina
3609eb25c9
Implement thread_ctrl::is_main()
2021-03-06 23:10:31 +03:00
Megamouse
7205a93751
add some log messages for debugging
2021-03-06 18:06:21 +03:00
Nekotekina
3aaa0172d5
named_thread: implement "default" event loop
...
Fixup "sleepy" thread at startup on Windows.
Permit threads which lack operator()() overload.
2021-02-28 20:16:13 +03:00
Eladash
4c1026436f
Log "Missing Firmware" if firmware is missing
2021-02-15 09:50:52 +01:00
Nekotekina
c32fec774f
Create mini-cache for commits
...
Located in bin/git/commits.lst;
Created with GitHub API with --get-commit-db key.
Can be lazily appended with the same key.
2021-02-06 00:37:53 +03:00
Megamouse
2865865382
Don't use std::exit during Qt initialization
2021-02-05 17:32:48 +01:00
Eladash
7ce835e878
Support logger stopping at std::exit ( #9722 )
2021-02-05 17:07:17 +03:00
Megamouse
2c32a721fc
Allow BootGame with indirect paths
2021-02-02 13:21:26 +01:00
Megamouse
8c6aa9db31
Print report_fatal_error to cmd
...
useful if used like:
start /w ./rpsc3 --headless <path>
2021-02-01 21:44:23 +01:00
Megamouse
3359458175
Handle missing cases of Emu.BootGame failure
2021-01-28 20:54:27 +01:00
Nekotekina
db8e6fe7a7
Enable -Wunused-variable
2021-01-12 14:34:14 +03:00
Nekotekina
b7bf316c1a
Don't randomly include "stdafx.h"
...
It's file for precompiled headers.
Include what is used, don't rely on transitive includes.
2020-12-22 14:32:30 +03:00
Nekotekina
bd269bccaf
types.hpp: remove intrinsic includes
...
Replace v128 with u128 in some places.
Removed some unused files.
2020-12-21 21:11:25 +03:00
Nekotekina
db9b7db531
Cleanup and move sysinfo.h -> util/sysinfo.hpp
2020-12-18 12:55:54 +03:00
Nekotekina
fb29933d3d
Add usz alias for std::size_t
2020-12-18 12:23:53 +03:00
Nekotekina
6b3f722ff0
Hotfix: useless error
2020-12-16 11:57:29 +03:00
Nekotekina
24c246a9f6
Fix potential thread_pool crash on exit
...
Minor issue.
2020-12-15 20:01:26 +03:00
Nekotekina
e321765c54
Split BEType.h to util/v128.hpp and util/to_endian.hpp
2020-12-13 16:34:45 +03:00
RipleyTom
af8c661a64
Remove BOM markers
2020-12-06 15:30:12 +03:00
Nekotekina
2bee096246
Try to set 2-3 GiB working space and show error if it's failed (Windows)
2020-11-27 14:49:07 +03:00
Nekotekina
d1ee7c651f
Make memory locking optional (mlock, VirtualLock).
...
Fix desired locking operation (to fix "sudo" memory).
It was discovered that some systems have outdated configuration.
With too tight limit, it's almost impossible to lock anything in memory.
2020-11-10 06:05:37 +03:00
Nekotekina
bd5253047b
Improve DYNAMIC_IMPORT
...
Don't call get_proc_address every time if if failed.
Also rename Utilities/dynamic_library.h to util/dyn_lib.hpp
2020-11-10 01:44:31 +03:00
Nekotekina
083397a555
vm: lock memory under "sudo" addr
...
Remove memory touching from transactions.
2020-11-09 23:54:36 +03:00
Megamouse
91b8e7504e
Set some things to log level always
2020-11-04 12:13:56 +01:00
Megamouse
088931525d
Add option to log qDebug
2020-11-03 06:42:51 +01:00
Megamouse
ef9638e094
Log Qt version
2020-11-03 06:42:51 +01:00
Nekotekina
1b8bf081b5
Upgrade to LLVM 11 Stable
2020-11-02 21:23:25 +03:00
Megamouse
e6e753f37f
Qt/Linux: fix QT_AUTO_SCREEN_SCALE_FACTOR typo
2020-08-18 10:04:31 +02:00
Megamouse
25d73f5a70
Try to fix ugly GUIs
2020-08-03 22:03:15 +02:00
Megamouse
d633a266c1
Add config override as cli arg: --config <path>
...
And add some more logging
2020-08-03 21:31:53 +02:00
Megamouse
3bba9708d9
Gracefully abort headless mode with unsupported video renderers
...
Also fix no_return bug
2020-07-30 20:03:51 +02:00
Megamouse
03ae1481fb
Don't open an error dialog in headless mode
2020-07-30 12:17:35 +02:00
Nekotekina
3b8e7d0967
Implement v128::fma32f
2020-06-07 22:44:07 +03:00
sampletext32
437f374bae
Fix some checks
2020-06-04 19:48:08 +03:00
sampletext32
1a8fb61373
Fix some misspells
...
Note: in main.cpp there are many dirs similar to Program Files, so tip should be appropriate.
2020-05-20 22:53:24 +03:00
Megamouse
078c31c1da
Qt: fix lupdate warnings (used for translation)
2020-04-06 20:59:58 +02:00
Nekotekina
39796141fc
Allow AppImage to spawn its own rpcs3 process for fatal error dialog (Linux)
2020-04-03 12:32:05 +03:00
Nekotekina
89514c043a
Fix "Unknown option: updating"
2020-03-25 11:23:38 +03:00
Nekotekina
19e20d9c19
Auto-Updater: increase lock file waiting timeout in the case of updating
...
Normal case: timeout reduced from 3s to 2s.
Updating case: increased timeout to 10s.
2020-03-23 22:52:05 +03:00
Nekotekina
3d78694590
Debug: measure initialization time (before main() function)
2020-03-23 22:18:45 +03:00
Nekotekina
04dedb17eb
Disable exception handling.
...
Use -fno-exceptions in cmake.
On MSVC, enable _HAS_EXCEPTION=0.
Cleanup throw/catch from the source.
Create yaml.cpp enclave because it needs exception to work.
Disable thread_local optimizations in logs.cpp (TODO).
Implement cpu_counter for cpu_threads (moved globals).
2020-03-12 16:03:08 +03:00
Nekotekina
656db6c668
Fatal errors: concatenate multiple args after --error
...
It should fix error dialogs on Windows since it decomposes the arg string.
2020-03-10 22:42:33 +03:00
Nekotekina
87d4b14ca9
Pause only on fatal messages
...
Also make some access violation an error since we don't pause on it.
2020-03-10 11:26:42 +03:00
Nekotekina
6268a2d384
Improve report_fatal_error()
...
Previously it could cause secondary segfault on Linux.
2020-03-08 22:03:15 +03:00
Nekotekina
1bbe2e9b15
Simplify report_fatal_error
...
Those semaphores didn't achieve anything.
Launch separate process if Qt is already initialized.
2020-03-08 20:45:34 +03:00
Nekotekina
e40019354c
Pause emulation on any fatal log message.
2020-03-08 20:45:34 +03:00
Nekotekina
66b0b78055
Logs.cpp: more code moved to main.cpp
2020-03-07 11:15:44 +03:00
Nekotekina
2209be5216
Logs: remove mem-mapped buffer and move instance lock to main.cpp
...
Part of the work to untangle utilities from RPCS3-specific things.
2020-03-07 10:49:09 +03:00
Stephen McKinney
2b853cc8bc
Don't improperly resolve symlinks when booting games.
2020-02-27 22:30:11 +03:00
Megamouse
f7666f44da
Untangle GUI and input includes
2020-02-24 16:31:01 +01:00
Megamouse
30d176ac5e
Qt/linux: set DISPLAY variable if undefined
2020-02-10 21:48:13 +03:00
Megamouse
5d82b0f4c4
Qt: set min version to 5.14
2020-02-10 14:05:36 +03:00
Silent
9f678cc47a
Fix code relying on initialization order
...
Allows Debug - LLVM to boot
2020-01-31 11:23:55 +03:00
Megamouse
ef6f565dbd
silence some annoying warnings
2019-12-28 15:40:57 +01:00
Megamouse
97fb08935e
Qt: Use QT_ENABLE_HIGHDPI_SCALING starting with Qt 5.14 ( #7090 )
...
* Qt: Use QT_ENABLE_HIGHDPI_SCALING starting with Qt 5.14
* Qt: Add QT_SCALE_FACTOR_ROUNDING_POLICY starting with Qt 5.14
* Qt: remove style path for Qt versions below 5.11 (5.11.0 is min version)
* Qt: Fix dpi-rounding cli arg
* Qt: use rounding policy PassThrough as default dpi scaling policy
* Qt: add missing Qt Version check (facepalm)
2019-12-14 12:48:34 +01:00
Megamouse
91f53a366b
Qt: fix high dpi setting
2019-10-04 23:05:07 +02:00
Megamouse
dadfdc35f4
Qt: add --styles cli arg
2019-09-13 10:30:56 +02:00
Megamouse
2ab19efb90
Qt: Enable stylesheet cli args and add stylesheet option "None"
2019-09-13 10:30:56 +02:00
Megamouse
432364cb04
Qt: add --no-gui mode
2019-08-31 17:08:03 +02:00
Megamouse
7cf037bd49
Fix cli args and app version/name
2019-08-31 17:08:03 +02:00
Megamouse
b3aff3a1c6
cellKb: fix large ASCII characters for some compilers
2019-08-18 08:18:15 +02:00
Pierre-Loup A. Griffais
f342f4b826
Work around a crash on startup on current versions of KDE on Linux.
...
https://bugs.kde.org/show_bug.cgi?id=401637
2019-08-16 20:37:41 +03:00
Megamouse
503d43889d
rename rpcs3_app to headless_application
2019-08-14 23:54:09 +02:00