删行末空格

This commit is contained in:
MrZ_26
2023-08-03 10:11:27 +08:00
parent c9cbb0e363
commit 0ae9cbcdaa
11 changed files with 20 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ index c1932555..552e432e 100644
**/
-void vibrate();
+void vibrate(const double seconds);
/**
* Enable mix mode (e.g. with background music apps) and playback with a muted device.
diff --git a/src/common/ios.mm b/src/common/ios.mm
@@ -18,16 +18,16 @@ index 7730991e..4ba8e708 100644
@@ -36,6 +36,8 @@
#include <SDL_video.h>
#include <SDL_syswm.h>
+#include <sys/utsname.h>
+
static NSArray *getLovesInDocuments();
static bool deleteFileInDocuments(NSString *filename);
@@ -391,10 +393,40 @@ std::string getExecutablePath()
}
}
-void vibrate()
+void vibrate(const double seconds)
{
@@ -73,7 +73,7 @@ index c8af8596..ae7a5e32 100644
@@ -140,6 +140,10 @@ enum DoneAction
DONE_RESTART,
};
+extern "C" {
+ int luaopen_CCloader(lua_State *L);
+}
@@ -84,7 +84,7 @@ index c8af8596..ae7a5e32 100644
@@ -158,6 +162,9 @@ static DoneAction runlove(int argc, char **argv, int &retval)
lua_State *L = luaL_newstate();
luaL_openlibs(L);
+ // Init CCloader
+ luaopen_CCloader(L);
+

View File

@@ -90,7 +90,6 @@ Module.expectedDataFileDownloads++;
function assert(check, msg) {
if (!check) throw msg + new Error().stack;
}
function DataRequest(start, end, crunched, audio) {
this.start = start;