Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fixed cast
gfx.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gfx.cpp b/gfx.cpp
index d3cfd81..e85954c 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -2431,7 +2431,7 @@ void S9xUpdateScreen (){
for (int y=endy-starty+1;y;y--)
__memcpy4a(
(long unsigned int*)(0x44000000+512*272*2*2+256*240*2+2*256*256*2+starty*256*2),
- (long unsigned int*)GPUPack.GFX.Screen+starty*GPUPack.GFX.Pitch2,
+ (long unsigned int*)(GPUPack.GFX.Screen+starty*GPUPack.GFX.Pitch2),
256*2/4);
}
// put back cache off and writeback Dcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.