Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
melonDS
Commits
6f91bcc3
Commit
6f91bcc3
authored
May 06, 2021
by
Arisotura
Browse files
use shitfucking stupid linebreaks so that our text files don't like stupid compact blobs in Notepad
(really, fuck Notepad)
parent
d3c298bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ARCodeFile.cpp
View file @
6f91bcc3
...
...
@@ -171,20 +171,20 @@ bool ARCodeFile::Save()
{
ARCodeCat
&
cat
=
*
it
;
if
(
it
!=
Categories
.
begin
())
fprintf
(
f
,
"
\n
"
);
fprintf
(
f
,
"CAT %s
\
n
\n
"
,
cat
.
Name
);
if
(
it
!=
Categories
.
begin
())
fprintf
(
f
,
"
\
r\
n
"
);
fprintf
(
f
,
"CAT %s
\
r\n\r
\n
"
,
cat
.
Name
);
for
(
ARCodeList
::
iterator
jt
=
cat
.
Codes
.
begin
();
jt
!=
cat
.
Codes
.
end
();
jt
++
)
{
ARCode
&
code
=
*
jt
;
fprintf
(
f
,
"CODE %d %s
\n
"
,
code
.
Enabled
,
code
.
Name
);
fprintf
(
f
,
"CODE %d %s
\
r\
n
"
,
code
.
Enabled
,
code
.
Name
);
for
(
u32
i
=
0
;
i
<
code
.
CodeLen
;
i
+=
2
)
{
fprintf
(
f
,
"%08X %08X
\n
"
,
code
.
Code
[
i
],
code
.
Code
[
i
+
1
]);
fprintf
(
f
,
"%08X %08X
\
r\
n
"
,
code
.
Code
[
i
],
code
.
Code
[
i
+
1
]);
}
fprintf
(
f
,
"
\n
"
);
fprintf
(
f
,
"
\
r\
n
"
);
}
}
...
...
src/Config.cpp
View file @
6f91bcc3
...
...
@@ -173,9 +173,9 @@ void Save()
}
if
(
entry
->
Type
==
0
)
fprintf
(
f
,
"%s=%d
\n
"
,
entry
->
Name
,
*
(
int
*
)
entry
->
Value
);
fprintf
(
f
,
"%s=%d
\
r\
n
"
,
entry
->
Name
,
*
(
int
*
)
entry
->
Value
);
else
fprintf
(
f
,
"%s=%s
\n
"
,
entry
->
Name
,
(
char
*
)
entry
->
Value
);
fprintf
(
f
,
"%s=%s
\
r\
n
"
,
entry
->
Name
,
(
char
*
)
entry
->
Value
);
entry
++
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment