mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Reindent (->tabs)
This commit is contained in:
1 parent
edb0e8e8b2
commit
5a5f599e1b
52 files changed
+2584
-2586
No files matched your search
+14
-14
@@ -3,7 +3,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
/*
|
||||
static unsigned int randSeed = 22222; // Change this for different random sequences.
|
||||
static unsigned int randSeed = 22222; // Change this for different random sequences.
|
||||
|
||||
void SetSeed(unsigned int seed) {
|
||||
randSeed = seed * 382792592;
|
||||
@@ -21,22 +21,22 @@ unsigned int GenerateRandomNumber() {
|
||||
|
||||
void EnableFZ()
|
||||
{
|
||||
int x;
|
||||
asm(
|
||||
"fmrx %[result],FPSCR \r\n"
|
||||
"orr %[result],%[result],#16777216 \r\n"
|
||||
"fmxr FPSCR,%[result]"
|
||||
:[result] "=r" (x) : :
|
||||
);
|
||||
//printf("ARM FPSCR: %08x\n",x);
|
||||
int x;
|
||||
asm(
|
||||
"fmrx %[result],FPSCR \r\n"
|
||||
"orr %[result],%[result],#16777216 \r\n"
|
||||
"fmxr FPSCR,%[result]"
|
||||
:[result] "=r" (x) : :
|
||||
);
|
||||
//printf("ARM FPSCR: %08x\n",x);
|
||||
}
|
||||
|
||||
void DisableFZ( )
|
||||
{
|
||||
__asm__ volatile(
|
||||
"fmrx r0, fpscr\n"
|
||||
"bic r0, $(1 << 24)\n"
|
||||
"fmxr fpscr, r0" : : : "r0");
|
||||
__asm__ volatile(
|
||||
"fmrx r0, fpscr\n"
|
||||
"bic r0, $(1 << 24)\n"
|
||||
"fmxr fpscr, r0" : : : "r0");
|
||||
}
|
||||
#else
|
||||
|
||||
@@ -50,4 +50,4 @@ void DisableFZ()
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user