Commit Graph

155 Commits

Author SHA1 Message Date
piepie62 90a43089ba Debuffer cheat reading and strip whitespace
Effectively doubles the amount of cheats possible, while also getting rid of that annoying line limit
2019-04-18 14:01:46 -07:00
piepie62 1e0baeb30e Fix reading past the end of a file 2019-04-18 14:01:02 -07:00
piepie62 353f7d1705 Add bounds checking 2019-04-18 14:01:02 -07:00
piepie62 f5f3764f99 Improve cheat execution parameters and handle CRLF properly 2019-04-18 14:01:02 -07:00
TuxSH eef22f8701 Fix "debug next process" with hbldr homebrew 2019-04-18 22:58:53 +02:00
TuxSH 9e1a9f2842 Implement HBLDR_DebugNextApplicationByForce
also prevent port 4003 (next application) from being extended-remote
2019-04-18 22:28:23 +02:00
TuxSH 0b33134f6c Loader services refactor 2019-04-18 19:48:01 +02:00
TuxSH 5c4d6c68b2 gdb: fix GDB_AttachToProcess returning success even when the process doesn't exist 2019-04-18 00:40:20 +02:00
TuxSH 89e42a457c gdb: hio: fix error parsing 2019-04-17 23:53:27 +02:00
TuxSH 17ca09346d gdb: fix multiple extended-remote issues, also fix possible race condtions 2019-04-17 23:12:29 +02:00
TuxSH 06bcb39721 always save errdisp to file; hio changes 2019-04-17 00:18:12 +02:00
TuxSH 4c9fe186d7 gdb: hio support (untested yet) 2019-04-14 21:48:15 +02:00
TuxSH e11cc090b2 gdb: add support to run new processes
Only titleId [mediaType [launchFlags]] is supported, and the launched title shouldn't rely on APT and all 3 parameters should be hex-encoded.

usage example, with titleId+mediaType:
(gdb) set remote file-exec 0004013000003702
(gdb) r 0
2019-04-13 19:18:47 +02:00
TuxSH 763a1de8d3 gdb: add extended-remote support, implement vAttach 2019-04-12 23:40:51 +02:00
TuxSH e57b546dd4 gdb: rework meaning of selected/used 2019-04-10 23:38:10 +02:00
TuxSH bd670cf87c gdb: add GDB_FindAllocatedContextByPid 2019-04-10 23:17:49 +02:00
TuxSH 1e0996c395 gdb: simply gdbstate 2019-04-09 23:59:05 +02:00
TuxSH 63736d7873 Refactor process detaching code 2019-03-31 22:58:36 +02:00
TuxSH fb800bd4c9 Add support to force-debug applications before they start running code 2019-03-31 20:01:16 +02:00
TuxSH 219f38169f Update drawString (rosalina) 2019-03-31 17:04:07 +02:00
TuxSH c688600d33 PMDBG_GetCurrentAppTitleId => PMDBG_GetCurrentAppTitleIdAndPid 2019-03-31 16:12:31 +02:00
TuxSH ea14d8a186 gdb: avoid race conditions 2019-03-31 01:14:40 +01:00
TuxSH cd18b85632 gdb: refactor port/ctx alloc 2019-03-31 00:24:45 +01:00
TuxSH 22ec031495 Add client code for new custom pm commands, use them, fix pm race conditions 2019-03-30 18:12:54 +01:00
TuxSH ef034a87d4 revert fsldr change, fix null deref in pm 2019-03-29 22:40:54 +01:00
TuxSH e688ec9257 move patches to pm 2019-03-29 19:07:24 +01:00
TuxSH 7177799021 Rosalina: delete "auto screenfilter restore on wakeup" functionality.
It was causing sleep mode wakeup issues and/or interfering with gsp in a
bad way.
2019-03-29 18:23:52 +01:00
TuxSH e57abad52f ctrulib changes 2019-03-29 00:09:59 +01:00
TuxSH 74bbfb95d3 service_manager: auto subscribe 2019-03-28 22:56:13 +01:00
TuxSH 474eb3001b Introduce service_manager, also fix hb:ldr pm/pm race condition 2019-03-16 23:40:43 +01:00
TuxSH f72d99d9b0 Fix wrong number of menus 2019-03-16 23:34:51 +01:00
TuxSH e64f267e4c Fix section declarations in .s files 2019-03-15 23:03:23 +01:00
TuxSH d28e961adc Use <string.h> & <3ds/exheader.h>, fix some bugs, etc.
also fix all warnings and use -Werror
2019-03-15 23:03:23 +01:00
TuxSH 4b40dd52f4 Give a proper build system for each sysmodule, k11ext, arm11.
Previously, these Makefiles didn't correctly track header changes.
The project doesn't build as a whole, future commits will fix it.
2019-03-15 23:03:19 +01:00
TuxSH 020236742f Fix gdbstub UB with IO 2019-03-15 22:37:04 +01:00
TuxSH faeb0d9395 Fix strict-aliasing-related UB 2019-03-15 22:23:44 +01:00
TuxSH b05f993221 Fix wrong memset size in screen_filters 2019-03-15 17:04:15 +01:00
TuxSH a7100a1e7f Fix implicit fallthrough in debug.c 2019-02-28 19:08:39 +01:00
BuildTools 1c7b55ee1e Bump copyright year 2019-02-24 18:04:32 -07:00
TuxSH f437d92374 Merge pull request #1065 from panicbit/screen_filter
Implement blue light filters
2019-02-21 19:48:07 +01:00
TuxSH 47916b2831 Fix menu thread stack overflow
sizeof(menuThreadStack) not matching 0x3000
2019-02-21 19:47:35 +01:00
tstambaugh92 2219b19d5f Fixed cheat functionality (#1117) 2018-08-09 14:21:16 +02:00
tstambaugh92 bc06b17823 Fixed cheat functionality (#1116)
Fixed functionality of BXXXXXXX codes
2018-08-07 12:50:48 +02:00
Nanquitas dd6e071dde socAccept: Fix an omitted comment, which masked a condition 2018-07-05 23:33:34 +02:00
TuxSH 1600171ffa Bump copyright year 2018-06-14 18:13:57 +02:00
panicbit 74a0b2feae Simplify color LUT writes 2018-04-16 01:28:57 +02:00
panicbit d0306609c3 Apply screen filter when waking up from standby 2018-04-15 16:26:20 +02:00
panicbit d13cde3d7b Implement blue light filters in rosalina 2018-04-15 04:55:20 +02:00
panicbit 38f54fd2b6 Add parts of redshift to rosalina 2018-04-15 04:55:20 +02:00
TuxSH a2177c0510 Fix menu entries (again) 2018-04-05 23:40:18 +02:00