예제 #1
0
        public byte[] CloneSaveRam()
        {
            int length = LibSameboy.sameboy_sramlen(SameboyState);

            if (length > 0)
            {
                byte[] ret = new byte[length];
                LibSameboy.sameboy_savesram(SameboyState, ret);
                return(ret);
            }

            return(null);
        }