mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
Compare commits
No commits in common. "b954aaf35d928a5009c592a1b7284ebe839fc78e" and "dc0de47eb15e2924ed48fc611e6f36d235987b49" have entirely different histories.
b954aaf35d
...
dc0de47eb1
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,5 +13,3 @@ debug/
|
||||
release/
|
||||
lib/
|
||||
docs/
|
||||
compile_commands.json
|
||||
.clangd
|
||||
|
@ -1,14 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## Version 4.4.2
|
||||
|
||||
#### system
|
||||
* ensure correct addresses for bss
|
||||
|
||||
#### miscellaneous
|
||||
* fix timezone to allow +/- and alphanumrics
|
||||
* end compile_commmands generation when elf linked
|
||||
|
||||
## Version 4.4.1
|
||||
|
||||
#### miscellaneous
|
||||
|
@ -10,7 +10,7 @@ include $(DEVKITPRO)/devkitA64/base_rules
|
||||
|
||||
export LIBNX_MAJOR := 4
|
||||
export LIBNX_MINOR := 4
|
||||
export LIBNX_PATCH := 2
|
||||
export LIBNX_PATCH := 0
|
||||
|
||||
|
||||
VERSION := $(LIBNX_MAJOR).$(LIBNX_MINOR).$(LIBNX_PATCH)
|
||||
|
@ -553,7 +553,7 @@ Result swkbdInlineGetImage(SwkbdInline* s, void* buffer, u64 size, bool *data_av
|
||||
if (!buffer || !size) return MAKERESULT(Module_Libnx, LibnxError_BadInput);
|
||||
|
||||
if (_swkbdInlineHandleFinished(s)) {
|
||||
*data_available = false;
|
||||
data_available = false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -320,13 +320,10 @@ void __libnx_init_time(void)
|
||||
hour = tmp_offset % 24;
|
||||
|
||||
memset(envstr, 0, sizeof(envstr));
|
||||
strptr = envstr;
|
||||
// Some tznames have numeric characters and '-'/'+', so quote tzname with <>.
|
||||
*strptr++ = '<';
|
||||
|
||||
//Avoid using *printf.
|
||||
strncpy(strptr, info.timezoneName, sizeof(envstr)-1);
|
||||
strncpy(envstr, /*info.timezoneName*/"NX", sizeof(envstr)-1); // Some tznames have numeric characters and '-'/'+', so the actual tzname can't be used.
|
||||
strptr = &envstr[strlen(envstr)];
|
||||
*strptr++ = '>';
|
||||
*strptr++ = is_west ? '+' : '-';
|
||||
|
||||
*strptr++ = '0' + (hour / 10);
|
||||
|
@ -134,6 +134,7 @@ SECTIONS
|
||||
SORT(CONSTRUCTORS)
|
||||
} :data
|
||||
|
||||
__bss_start__ = .;
|
||||
.bss ALIGN(8) :
|
||||
{
|
||||
*(.dynbss)
|
||||
@ -146,8 +147,7 @@ SECTIONS
|
||||
. += + SIZEOF(.tdata) + SIZEOF(.tbss);
|
||||
__tls_end = .;
|
||||
} : data
|
||||
__bss_start__ = ADDR(.bss);
|
||||
__bss_end__ = ADDR(.bss) + SIZEOF(.bss);
|
||||
__bss_end__ = .;
|
||||
|
||||
__end__ = ABSOLUTE(.) ;
|
||||
|
||||
|
@ -77,6 +77,5 @@ endif
|
||||
#---------------------------------------------------------------------------------
|
||||
%.elf:
|
||||
@echo linking $(notdir $@)
|
||||
$(ADD_COMPILE_COMMAND) end
|
||||
@$(LD) $(LDFLAGS) $(OFILES) $(LIBPATHS) $(LIBS) -o $@
|
||||
@$(NM) -CSn $@ > $(notdir $*.lst)
|
||||
|
Loading…
Reference in New Issue
Block a user