- Joined
- Mar 26, 2016
- Messages
- 1,365
- Reaction score
- 1,853
- Trophies
- 1
- Location
- ↑↑↓↓←→←→BA
- Website
- github.com
- XP
- 2,309
- Country

Ok, thanks! I like the dots.OCD? Yes,
And this is why bytecode patches are a good thing (TM)

Ok, thanks! I like the dots.OCD? Yes,
Yeah, I was more thinking of how much faster testing ideas would be with the bytecode patches as opposed to compiling and reinstalling the whole firmware.I'm pretty sure it's probably not worth the effort to import my code, honestly. I do a lot differently than pretty much everything and importing would imply importing ~80% of the code. The other thing that somewhat makes this infeasible is Corbenik is really NOT meant to be used in a self-contained manner in any way.

Yeah, I was more thinking of how much faster testing ideas would be with the bytecode patches as opposed to compiling and reinstalling the whole firmware.
loc = memsearch(memory, pattern, size_mem, size_patn) - 2
memcpy(loc, repl, size_repl)
find <pattern>
back 02
set <repl>

I still have small jumping around problems in the menu men not as bad as before.
Do you move on key down AND key up?
No. The way the function works is as such:
- Wait until a key has been pressed
- Wait for the key read to NOT be depressed
- Return and process the key (and only ONE key)
This is why I'm so confused about your issue. There's no possible way this could happen unless your dpad is shorting. I literally just spin until a key is pressed, so that I don't have to limit the runspeed.
Luma actually loops through the menu code at a limited framerate (like a game's main loop,) so this probably doesn't occur there due to precise waits.
Could you have a glitchy d-pad that sometimes sends multiple clicks per press?It seems that it jump one on key down and once again key up the few times I get double jumps..

It seems that it jump one on key down and once again key up the few times I get double jumps..

Nope. Doesn't haopen anywhere else.
Like it is not, I push down thw button, the selection jumps but then it will jump one more selecting when I stop pushing down
And again, this isn't my fault. I'm really sorry, but there's nothing more I can do here. I can't cater to glitchy hardware.![]()

. It's better compared to older versions so I have to live with thisthanks for caring!


how to boot to setup again after enabling autoboot?

I've never said I supported compiling on Windows with good reason. It was pure luck it worked until now. Did you check out the submodules properly? You also need a host gcc/g++, e.g. mingw/cygwin now.

From here on out, I think I will just wait for official releases. CFW working perfectly so I really have no reason to update to latest commit. Thanks @chaoskagami.

make[1]: Entering directory `/d/ABuildCFWs/corbenik/host/bdfe'
rm -f bdfe
rm -f *.o
make[1]: Leaving directory `/d/ABuildCFWs/corbenik/host/bdfe'
rm -rf out build
make -C host/bdfe
make[1]: Entering directory `/d/ABuildCFWs/corbenik/host/bdfe'
g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o
main.c: In function 'int main(int, char**)':
main.c:89:25: error: 'basename' was not declared in this scope
usage(basename(argv[0]));
^
main.c:95:26: error: 'basename' was not declared in this scope
usage(basename(argv[0]));
^
main.c:211:22: error: 'basename' was not declared in this scope
file = basename(file);
^
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/d/ABuildCFWs/corbenik/host/bdfe'
make: *** [hosttools] Error 2
%.o: %.c $(HFILES)
$(CXX) -c $(CFLAGS) -DOSSD_TARGET=OSSD_IF_LINUX $< -o $@
Looks like the basename(char *) function isn't a thing in Windows and would need working around in upstream.Here's my build error :/ gcc/g++ (cygwin/mingw) are both installed
Not complaining, like @chaoskagami said, he never supported compiling on Windows.
Code:make[1]: Entering directory `/d/ABuildCFWs/corbenik/host/bdfe' rm -f bdfe rm -f *.o make[1]: Leaving directory `/d/ABuildCFWs/corbenik/host/bdfe' rm -rf out build make -C host/bdfe make[1]: Entering directory `/d/ABuildCFWs/corbenik/host/bdfe' g++ -c -Wall -Werror -g -DOSSD_TARGET=OSSD_IF_LINUX main.c -o main.o main.c: In function 'int main(int, char**)': main.c:89:25: error: 'basename' was not declared in this scope usage(basename(argv[0])); ^ main.c:95:26: error: 'basename' was not declared in this scope usage(basename(argv[0])); ^ main.c:211:22: error: 'basename' was not declared in this scope file = basename(file); ^ make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/d/ABuildCFWs/corbenik/host/bdfe' make: *** [hosttools] Error 2
Think we need a windows equivalent for this line in the makefile:
(Then again, i know nothing about code and makefiles, so i could be wrong)
Code:%.o: %.c $(HFILES) $(CXX) -c $(CFLAGS) -DOSSD_TARGET=OSSD_IF_LINUX $< -o $@

