diff --git a/Source/Android/PluginRSP/mem.cpp b/Source/Android/PluginRSP/mem.cpp index 990a1628d..f940c7980 100644 --- a/Source/Android/PluginRSP/mem.cpp +++ b/Source/Android/PluginRSP/mem.cpp @@ -1,14 +1,9 @@ -// Project64 - A Nintendo 64 emulator -// http://www.pj64-emu.com/ -// Copyright(C) 2001-2021 Project64 -// Copyright(C) 2012 Bobby Smiles -// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html #include "stdafx.h" #include #include "mem.h" -/* Global functions */ +// Global functions void load_u8(uint8_t* dst, const unsigned char* buffer, unsigned address, size_t count) { while (count != 0) @@ -31,7 +26,7 @@ void store_u16(unsigned char* buffer, unsigned address, const uint16_t* src, siz void load_u32(uint32_t* dst, const unsigned char* buffer, unsigned address, size_t count) { - /* Optimization for uint32_t */ + // Optimization for uint32_t memcpy(dst, u32(buffer, address), count * sizeof(uint32_t)); } @@ -47,6 +42,6 @@ void load_u16(uint16_t* dst, const unsigned char* buffer, unsigned address, size void store_u32(unsigned char* buffer, unsigned address, const uint32_t* src, size_t count) { - /* Optimization for uint32_t */ + // Optimization for uint32_t memcpy(u32(buffer, address), src, count * sizeof(uint32_t)); -} \ No newline at end of file +}