Commit Graph

96 Commits

Author SHA1 Message Date
LibretroAdmin
29774f5b7a
Small opts (#14186)
* (joypad_connection) Small optimizations -
* Turn functions static where possible
* Hose strlen call out of loop

* (input_driver.c) General cleanups:
* Some small code/style nits

task_screenshot.c:
* Move widget callback function for screenshots to task_screenshot.c

(file_path.c):
* Turn get_pathname_num_slashes into static function
* path_linked_list_free - always returns true, so get rid of return value
* path_linked_list_new - fix function signature
* path_get_archive_delim - do not NULL-terminate string, already done by strlcpy later on

General:
* Slight optimizations - use int/size_t for loop counter variable instead of unsigned
* Take advantage of fact that strlcpy already NULL-terminates, so don't do this explicitly
outside if we're just going to end up calling strlcpy/fill_pathname_join on it anyway
2022-07-19 10:01:33 +02:00
libretroadmin
e91cf0e40d No longer use fill_pathname_noext - just basic strlcpy/strlcat string
concatenation
2022-07-11 18:48:02 +02:00
Adie
327f220857 Fix debug-level logging definitions
Both INFO and DEBUGGING log functions were outputting [INFO] logs.
I switched the debug log function to output debug logs instead of info logs, and changed the output of debug logs from [VERBOSE] to [DEBUG]
2021-08-02 22:58:39 -05:00
U-LAPTOP-0BS9KNOH\crystal
23acacf436 PSL1GHT salamander build fix 2021-05-19 00:31:09 +02:00
twinaphex
2fbcc99b24 RARCH_LOG_BUFFER - doesn't need early return 2021-04-04 20:05:00 +02:00
Michael Burgardt
f54098618e RARCH_LOG_V checking for verbosity level is not necessary and can cause
issues; removed said check.
2021-03-31 18:12:42 +02:00
CrystalCT
9ac61f9cc5 Add some PSL1GHT ifdefs 2021-03-17 08:46:02 +01:00
Autechre
33110603e5
Shader log spam reduction (#11977)
* (Shaders) Change label

* Create RARCH_DBG - if you have Logging Verbosity set to 0, the
shader parsing log spam will show, otherwise it won't
2021-02-03 13:49:07 +01:00
twinaphex
b3ec942646 (verbosity.c) reorder struct, alignment 2020-08-20 19:16:05 +02:00
twinaphex
f35010e1ae Cleanups 2020-08-02 10:28:23 +02:00
twinaphex
1b86ea43c3 Try to use vsnprintf where possible instead of vsprintf 2020-06-26 20:56:14 +02:00
jdgleaver
0a33e562f4 Add option to backup/restore installed cores 2020-06-04 12:20:58 +01:00
twinaphex
56619d7276 Add more TODO/FIXME notes 2020-05-29 06:31:15 +02:00
twinaphex
5b562c4c24 Style nits/cleanups 2020-05-24 18:21:30 +02:00
Francisco Javier Trujillo Mata
1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
twinaphex
54fd445c75 (verbosity) move static global variables to struct 2020-05-19 02:13:51 +02:00
twinaphex
86b78e2fea Cleanups 2020-05-12 09:11:18 +02:00
twinaphex
5a147fe46f (manual_content_scan.c) Rearrange struct members
(verbosity.c) Add TODO/FIXME
2020-03-07 18:41:39 +01:00
twinaphex
e005044f64 Remove retro_main_log_file function 2020-02-01 23:56:51 +01:00
twinaphex
84251b02bd verbosity.c - add necessary header 2020-01-31 15:06:50 +01:00
twinaphex
9f66968d1b Update verbosity.c 2020-01-31 02:34:16 +01:00
twinaphex
5d428d471c Move logging code over to verbosity.c 2020-01-30 19:22:57 +01:00
twinaphex
a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
twinaphex
4eac009c27 Buffer more before we send text to be logged to stderr/stdout
and the logger interface for help/features/startup
2019-09-19 05:50:26 +02:00
twinaphex
75754c54e3 verbosity.c - cleanups - no longer need file_path_str 2019-08-20 05:25:22 +02:00
twinaphex
17c3635a38 RARCH_LOG_BUFFER - if verbosity level is above 1, skip 2019-08-20 03:54:10 +02:00
twinaphex
73663104b3 Add separate setting for Frontend Logging Level 2019-08-20 01:34:40 +02:00
twinaphex
0de1453445 Cleanups 2019-08-15 13:44:26 +02:00
LazyBumHorse
f51e50a423 fix logging on Windows sometimes not being null-terminated 2019-08-15 13:39:19 +02:00
twinaphex
498c1b8538 (verbosity.c) Cleanups 2019-08-15 12:43:59 +02:00
Brad Parker
08cd3a90f2 initial cdrom reading work 2019-06-30 18:33:59 -04:00
M4xw
24dadb276e [LIBNX] Unconditional Mutex for logging 2019-04-29 16:43:01 +02:00
twinaphex
39c3a25ad6 Start using smaller buffers for stdout logging 2019-04-28 02:54:02 +02:00
twinaphex
fb306a9358 (verbosity.c) Code formatting cleanups 2019-04-13 18:49:05 +02:00
twinaphex
3619fae2d9 (LGTM) Silence some warnings 2019-04-13 02:15:26 +02:00
jdgleaver
2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
jdgleaver
93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
radius
8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
twinaphex
e612773645 (Xbox OG) Buildfixes 2019-02-07 05:42:23 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
twinaphex
bb5cd1dfeb Change C++ comments to c 2018-12-31 21:08:25 +01:00
Twinaphex
8ca9797a16
Merge pull request #7850 from orbea/log
cli: Only print verbose output when '--verbose' is used.
2018-12-31 20:40:19 +01:00
Francisco Javier Trujillo Mata
d44ad6abd4 PS2 TODOs 2018-12-31 18:56:22 +01:00
orbea
c9c604a37a cli: Only print verbose output when '--verbose' is used.
Fixes https://github.com/libretro/RetroArch/issues/7844
2018-12-31 08:35:18 -08:00
krzys-h
b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
Francisco Javier Trujillo Mata
5b7a71abd3 Make logs work for the PS2 2018-12-26 14:17:25 +01:00
twinaphex
af469698da Silence threading error 2018-11-28 09:56:12 +01:00
lifajucejo
c39bc4ecab [LIBNX] Synchronize nxlink logging
- Logs were interleaved and caused instability on certain setups
2018-09-30 19:09:20 -04:00
twinaphex
90efa02718 Fix more scan-build issues 2018-08-18 16:16:17 +02:00
twinaphex
95278d39f7 Buildfix for MSVC 2003 2018-05-02 01:03:40 +02:00