Skip to content

Releases: sc2ad/beatsaber-hook

Fixups to wrapper types

06 Jan 22:08
Compare
Choose a tag to compare

ArrayW and ByRef got some fixups, ArrayW can now be null constructed again (and is done so on default), likewise with ByRef.

HOWEVER, it should be noted that codegen should ultimately have an Array<T>* for parameters, and return an ArrayW<T> from calls. This would allow a null parameter to be passed in WITHOUT breaking the concept behind ArrayW's usage. Note, however, that if a returned array is null, it may still break, so it seems that there will be a non-trivial solution in either case.

For now, however, this will do.

Add RMR

24 Dec 21:31
Compare
Choose a tag to compare

RMR should now be applicable to generated code, update definition of ByRef<T> and ArrayW<T>

Add RunMethodRethrow, better ByRef usage

21 Dec 20:40
Compare
Choose a tag to compare

Fix for casting for conversion wrapper types

20 Dec 20:48
Compare
Choose a tag to compare

Better usage of has_conversion

20 Dec 20:30
Compare
Choose a tag to compare
v3.4.1

Updated qpm.json

Revert RMT invokes, add exception raising helpers

18 Dec 23:01
Compare
Choose a tag to compare

Make RMT runtime_invoke wrappable

15 Dec 18:27
Compare
Choose a tag to compare

This change is because of how exceptions are handled differently in our version of NDK as compared to the NDK version they use when compiling. As for a full list of differences, there is at least size inconsistencies in the _Unwind_Exception and cxa_exception types (as compared with ghidra and looking at asm io)

Sadly, this means that the performance benefits of RMT are out the window-- though we can still keep using RMT as a wrapper that will one day be better again. It is unfortunately quite a large method now, though, and should almost certainly be split up more before another minor release.

Add more useful ArrayW conversions

17 Oct 17:19
Compare
Choose a tag to compare
v3.3.4

Updated qpm.json

Fix for redundant definitions

16 Oct 20:57
Compare
Choose a tag to compare
v3.3.3

Updated qpm.json

Update to fix method invokes with codegen

16 Oct 18:53
Compare
Choose a tag to compare