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
fb9dddc3
Commit
fb9dddc3
authored
Feb 27, 2017
by
StapleButter
Browse files
dumb copypasta bug of the year.
parent
8c2572e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
GPU.h
View file @
fb9dddc3
...
...
@@ -328,7 +328,7 @@ T ReadVRAM_ARM7(u32 addr)
template
<
typename
T
>
void
WriteVRAM_ARM7
(
u32
addr
,
T
val
)
{
u32
mask
=
VRAMMap_
BOBJ
[(
addr
>>
17
)
&
0x1
];
u32
mask
=
VRAMMap_
ARM7
[(
addr
>>
17
)
&
0x1
];
if
(
mask
&
(
1
<<
2
))
*
(
T
*
)
&
VRAM_C
[
addr
&
0x1FFFF
]
=
val
;
if
(
mask
&
(
1
<<
3
))
*
(
T
*
)
&
VRAM_D
[
addr
&
0x1FFFF
]
=
val
;
...
...
melonDS.depend
View file @
fb9dddc3
...
...
@@ -10,7 +10,7 @@
1481161027 c:\documents\sources\melonds\types.h
148822
5095
source:c:\documents\sources\melonds\nds.cpp
148822
7258
source:c:\documents\sources\melonds\nds.cpp
<stdio.h>
<string.h>
"NDS.h"
...
...
@@ -125,7 +125,7 @@
"NDS.h"
"GPU.h"
148822
5864
c:\documents\sources\melonds\gpu.h
148822
7363
c:\documents\sources\melonds\gpu.h
"GPU2D.h"
"GPU3D.h"
...
...
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