Skip to content

Commit

Permalink
v2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro670 committed Oct 17, 2024
1 parent 6cd604c commit 4880c6c
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 170 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ build
.vs/usb-botbaseZ/v17/.wsuo
.vs/VSWorkspaceState.json
.vs/usb-botbaseZ/FileContentIndex/c8c2c0c2-77a2-4c4d-8604-565ccc2b92eb.vsidx
.vs/usb-botbaseZ2024/FileContentIndex/0fa68de7-5c50-4128-a61e-8b4287c8e489.vsidx
.vs/usb-botbaseZ2024/FileContentIndex/37c81c93-e8b6-4f44-b5c2-d030dda42965.vsidx
.vs/usb-botbaseZ2024/FileContentIndex/640ba31a-260c-47ab-a206-7e4d3f53f055.vsidx
.vs/usb-botbaseZ2024/FileContentIndex/980aaf16-dedc-4720-949d-8dca3093e77f.vsidx
.vs/usb-botbaseZ2024/FileContentIndex/9a75620b-8ab0-427c-b19b-80dc8fadbd3c.vsidx
.vs/usb-botbaseZ2024/v17/.wsuo
.vs/usb-botbaseZ2024/v17/workspaceFileList.bin
switch-tools/
sys-botbase/usb-botbaseZ/usb-botbaseZ/430000000000000B/config.cfg
sys-botbase/usb-botbaseZ/usb-botbaseZ/430000000000000B/flags/boot2.flag
11 changes: 6 additions & 5 deletions sys-botbase/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
#include <poll.h>

#define TITLE_ID 0x430000000000000B
#define HEAP_SIZE 0x00400000
#define HEAP_SIZE 0x00480000
#define THREAD_SIZE 0x1A000
#define VERSION_S "2.4"

typedef enum
{
Expand Down Expand Up @@ -67,8 +68,8 @@ TimeServiceType __nx_time_service_type = TimeServiceType_System;
void __libnx_initheap(void)
{
static u8 inner_heap[HEAP_SIZE];
extern void *fake_heap_start;
extern void *fake_heap_end;
extern void* fake_heap_start;
extern void* fake_heap_end;

// Configure the newlib heap.
fake_heap_start = inner_heap;
Expand Down Expand Up @@ -693,13 +694,13 @@ int argmain(int argc, char **argv)
{
if (usb)
{
char buf[] = "2.353\n";
char buf[] = "2.4\n";
response.data = buf;
response.size = sizeof(buf);
sendUsbResponse(response);
}
else
printf("2.353\n");
printf("%s\n", VERSION_S);
}

// follow pointers and print absolute offset (little endian, flip it yourself if required)
Expand Down
Loading

0 comments on commit 4880c6c

Please sign in to comment.