code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/input/mouse.cpp
C++
gpl2
1,981
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/input/quiz.cpp
C++
gpl2
1,690
#ifndef _DEBUG_H_ #define _DEBUG_H_ #include "conddebug.h" #include "git.h" #include "nsf.h" //watchpoint stuffs #define WP_E 0x01 //watchpoint, enable #define WP_W 0x02 //watchpoint, write #define WP_R 0x04 //watchpoint, read #define WP_X 0x08 //watchpoint, execute #define WP_...
zyking1987-zhsy
fceu_src/debug.h
C++
gpl2
5,261
/* Copyright (C) 2005 Guillaume Duhamel Copyright (C) 2008-2009 DeSmuME team This file is part of DeSmuME DeSmuME is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the ...
zyking1987-zhsy
fceu_src/types-des.h
C++
gpl2
11,697
void FCEU_CheatResetRAM(void); void FCEU_CheatAddRAM(int s, uint32 A, uint8 *p); void FCEU_LoadGameCheats(FILE *override); void FCEU_FlushGameCheats(FILE *override, int nosave); void FCEU_ApplyPeriodicCheats(void); void FCEU_PowerCheats(void); int FCEU_CheatGetByte(uint32 A); void FCEU_CheatSetByte(uint32 A,...
zyking1987-zhsy
fceu_src/cheat.h
C
gpl2
332
#include "types.h" #include "fceu.h" #include "drawing.h" #include "video.h" #include "movie.h" #include "driver.h" static uint8 Font6x7[792] = { 6, 0, 0, 0, 0, 0, 0, 0, 3, 64, 64, 64, 64, 64, 0, 64, 5, 80, 80, 80, 0, 0, 0, 0, 6, 80, 80,248, 80,248, 80, 80, 6, 32,120,160,112, 40,240, 32, ...
zyking1987-zhsy
fceu_src/drawing.cpp
C++
gpl2
23,388
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 1998 BERO * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either...
zyking1987-zhsy
fceu_src/input.cpp
C++
gpl2
32,856
/// \file /// \brief Contains methods related to the build configuration #include <string.h> #include <stdio.h> #include <stdlib.h> #include "types.h" #include "version.h" #include "fceu.h" #include "driver.h" #include "utils/memory.h" static char *aboutString = 0; ///returns a string suitable for us...
zyking1987-zhsy
fceu_src/config.cpp
C++
gpl2
1,434
{ 0xecf78d8a13a030a6LL, "Ai Sensei no Oshiete", INESB_HACKED }, { 0x10f90ba5bd55c22eLL, "Alien Syndrome", INESB_HACKED }, { 0x4712856d3e12f21fLL, "Akumajou Densetsu", INESB_HACKED }, { 0x0d69ab3ad28ad1c2LL, "Banana", INESB_INCOMPLETE }, { 0x85d2c348a161cdbfLL, "Bio Senshi Dan", INESB_HACKED }, { 0x18fdb7c16aa8cb5cLL, "...
zyking1987-zhsy
fceu_src/ines-bad.h
C
gpl2
2,161
int InitNetplay(void); void NetplayUpdate(uint8 *joyp); extern int FCEUnetplay; #define FCEUNPCMD_RESET 0x01 #define FCEUNPCMD_POWER 0x02 #define FCEUNPCMD_VSUNICOIN 0x07 #define FCEUNPCMD_VSUNIDIP0 0x08 #define FCEUNPCMD_FDSINSERTx 0x10 #define FCEUNPCMD_FDSINSERT 0x18 //#define FCEUNPCMD_FDSEJE...
zyking1987-zhsy
fceu_src/netplay.h
C
gpl2
627
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/x6502.h
C
gpl2
2,473
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/video.cpp
C++
gpl2
18,262
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2001 Aaron Oneal * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
zyking1987-zhsy
fceu_src/version.h
C
gpl2
2,136
/// \file /// \brief 6502 assembler and disassembler #include <string.h> #include <stdlib.h> #include <stdio.h> #include "types.h" #include "utils/xstring.h" #include "debug.h" #include "asm.h" #include "x6502.h" ///assembles the string to an instruction located at addr, storing opcodes in output buffer ...
zyking1987-zhsy
fceu_src/asm.cpp
C++
gpl2
19,726
#ifdef _USE_FCEU_LUA_ENGINE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <zlib.h> #include <assert.h> #include <vector> #include <map> #include <string> #include <algorithm> #include <stdlib.h> #include <math.h> #ifdef __linux #include <unistd.h> #define Set...
zyking1987-zhsy
fceu_src/lua-engine.cpp
C++
gpl2
154,458
int FCEU_InitVirtualVideo(void); void FCEU_KillVirtualVideo(void); int SaveSnapshot(void); int SaveSnapshot(char[]); uint32 GetScreenPixel(int x, int y, bool usebackup); int GetScreenPixelPalette(int x, int y, bool usebackup); extern uint8 *XBuf; extern uint8 *XBackBuf; extern int ClipSidesOffset; extern struc...
zyking1987-zhsy
fceu_src/video.h
C++
gpl2
819
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/fds.cpp
C++
gpl2
18,140
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/state.h
C
gpl2
2,969
/// \file /// \brief Sound filtering code #include <math.h> #include <stdio.h> #include "types.h" #include "sound.h" #include "x6502.h" #include "fceu.h" #include "filter.h" #include "fcoeffs.h" static int32 sq2coeffs[SQ2NCOEFFS]; static int32 coeffs[NCOEFFS]; static uint32 mrindex; static uint32...
zyking1987-zhsy
fceu_src/filter.cpp
C++
gpl2
4,682
/* Copyright (C) 2009-2010 DeSmuME team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
zyking1987-zhsy
fceu_src/emufile.cpp
C++
gpl2
4,745
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 1998 BERO * Copyright (C) 2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either...
zyking1987-zhsy
fceu_src/ppu.cpp
C++
gpl2
63,276
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/file.cpp
C++
gpl2
18,936
#ifndef __MOVIE_H_ #define __MOVIE_H_ #include <vector> #include <map> #include <string> #include <ostream> #include <stdlib.h> #include "input/zapper.h" #include "utils/guid.h" #include "utils/md5.h" struct FCEUFILE; enum EMOVIE_FLAG { MOVIE_FLAG_NONE = 0, //an ARCHAIC flag which means the mo...
zyking1987-zhsy
fceu_src/movie.h
C++
gpl2
7,680
#ifndef _FCEUH #define _FCEUH extern int fceuindbg; extern int newppu; void ResetGameLoaded(void); #define DECLFR(x) uint8 x (uint32 A) #define DECLFW(x) void x (uint32 A, uint8 V) void FCEU_MemoryRand(uint8 *ptr, uint32 size); void SetReadHandler(int32 start, int32 end, readfunc func); void SetWriteHand...
zyking1987-zhsy
fceu_src/fceu.h
C
gpl2
3,499
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/unif.cpp
C++
gpl2
13,653
#ifndef EMUFILE_TYPES_H #define EMUFILE_TYPES_H #include "types.h" typedef uint8 u8; typedef uint16 u16; typedef uint32 u32; typedef uint64 u64; typedef int8 s8; typedef int16 s16; typedef int32 s32; typedef int64 s64; #endif //EMUFILE_TYPES_H
zyking1987-zhsy
fceu_src/emufile_types.h
C
gpl2
264
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/nsf.cpp
C++
gpl2
14,656
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002,2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
zyking1987-zhsy
fceu_src/palette.cpp
C++
gpl2
7,800
void FCEUPPU_Init(void); void FCEUPPU_Reset(void); void FCEUPPU_Power(void); int FCEUPPU_Loop(int skip); void FCEUPPU_LineUpdate(); void FCEUPPU_SetVideoSystem(int w); extern void (*PPU_hook)(uint32 A); extern void (*GameHBIRQHook)(void), (*GameHBIRQHook2)(void); /* For cart.c and banksw.h, mostly */ ext...
zyking1987-zhsy
fceu_src/ppu.h
C
gpl2
1,064
/* * Copyright 2001-2004 Unicode, Inc. * * Disclaimer * * This source code is provided as is by Unicode, Inc. No claims are * made as to fitness for any particular purpose. No warranties of any * kind are expressed or implied. The recipient agrees to determine * applicability of information provided. If this ...
zyking1987-zhsy
fceu_src/utils/ConvertUTF.h
C
gpl2
5,941
#ifndef _VALUEARRAY_H_ #define _VALUEARRAY_H_ template<typename T, int N> struct ValueArray { T data[N]; T &operator[](int index) { return data[index]; } static const int size = N; bool operator!=(ValueArray<T,N> &other) { return !operator==(other); } bool operator==(ValueArray<T,N> &other) { for(i...
zyking1987-zhsy
fceu_src/utils/valuearray.h
C++
gpl2
423
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/utils/memory.cpp
C++
gpl2
2,488
/* * Copyright 2001-2004 Unicode, Inc. * * Disclaimer * * This source code is provided as is by Unicode, Inc. No claims are * made as to fitness for any particular purpose. No warranties of any * kind are expressed or implied. The recipient agrees to determine * applicability of information provided. If this ...
zyking1987-zhsy
fceu_src/utils/ConvertUTF.c
C
gpl2
19,067
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/utils/memory.h
C
gpl2
1,345
#ifndef _guid_h_ #define _guid_h_ #include <string> #include "../types.h" #include "valuearray.h" struct FCEU_Guid : public ValueArray<uint8,16> { void newGuid(); std::string toString(); static FCEU_Guid fromString(std::string str); static uint8 hexToByte(char** ptrptr); void scan(std::string& str);...
zyking1987-zhsy
fceu_src/utils/guid.h
C++
gpl2
338
extern uint32 uppow2(uint32 n);
zyking1987-zhsy
fceu_src/utils/general.h
C
gpl2
37
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/utils/general.cpp
C++
gpl2
1,089
/* Extended string routines * * Copyright notice for this file: * Copyright (C) 2004 Jason Oster (Parasyte) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of t...
zyking1987-zhsy
fceu_src/utils/xstring.cpp
C++
gpl2
22,535
my_list = Split(""" crc32.cpp endian.cpp general.cpp guid.cpp md5.cpp memory.cpp unzip.cpp xstring.cpp """) for x in range(len(my_list)): my_list[x] = 'utils/' + my_list[x] Return('my_list')
zyking1987-zhsy
fceu_src/utils/SConscript
Python
gpl2
196
#ifndef _MD5_H #define _MD5_H #include "../types.h" #include "valuearray.h" struct md5_context { uint32 total[2]; uint32 state[4]; uint8 buffer[64]; }; typedef ValueArray<uint8,16> MD5DATA; void md5_starts( struct md5_context *ctx ); void md5_update( struct md5_context *ctx, uint8 *input...
zyking1987-zhsy
fceu_src/utils/md5.h
C
gpl2
519
#include "guid.h" #include <stdlib.h> #include <cctype> void FCEU_Guid::newGuid() { for(int i=0;i<size;i++) data[i] = rand(); } std::string FCEU_Guid::toString() { char buf[37]; sprintf(buf,"%08X-%04X-%04X-%04X-%02X%02X%02X%02X%02X%02X", FCEU_de32lsb(data),FCEU_de16lsb(data+4),FCEU_de16lsb(data+6...
zyking1987-zhsy
fceu_src/utils/guid.cpp
C++
gpl2
1,171
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/utils/crc32.cpp
C++
gpl2
1,099
/* unzip.c -- IO on .zip files using zlib Version 0.15 beta, Mar 19th, 1998, Read unzip.h for more info */ #include <string> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "zlib.h" #include "unzip.h" #ifdef STDC # include <stddef.h> # include <string.h> # include <stdli...
zyking1987-zhsy
fceu_src/utils/unzip.cpp
C++
gpl2
35,265
#ifndef __FCEU_ENDIAN #define __FCEU_ENDIAN #include <iosfwd> #include <stdio.h> #include "../types.h" #include "../emufile.h" class EMUFILE; inline uint64 double_to_u64(double d) { union { uint64 a; double b; } fuxor; fuxor.b = d; return fuxor.a; } inline double u64_to_double(uint64 u) {...
zyking1987-zhsy
fceu_src/utils/endian.h
C++
gpl2
2,870
/* unzip.h -- IO for uncompress .zip files using zlib Version 0.15 beta, Mar 19th, 1998, Copyright (C) 1998 Gilles Vollant This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g WinZip, InfoZip tools and compatible. Encryption and multi volume ZipFile (span) are not...
zyking1987-zhsy
fceu_src/utils/unzip.h
C
gpl2
10,248
uint32 CalcCRC32(uint32 crc, uint8 *buf, uint32 len);
zyking1987-zhsy
fceu_src/utils/crc32.h
C
gpl2
55
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/utils/endian.cpp
C++
gpl2
7,188
/* Extended string routines * * Copyright notice for this file: * Copyright (C) 2004 Jason Oster (Parasyte) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of t...
zyking1987-zhsy
fceu_src/utils/xstring.h
C++
gpl2
3,748
/// \file /// \brief RFC 1321 compliant MD5 implementation, /// RFC 1321 compliant MD5 implementation, /// by Christophe Devine <devine@cr0.net>; /// this program is licensed under the GPL. //Modified October 3, 2003, to remove testing code, and add include of "types.h". //Added simple MD5 to ASCII string conve...
zyking1987-zhsy
fceu_src/utils/md5.cpp
C++
gpl2
7,171
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
zyking1987-zhsy
fceu_src/sound.cpp
C++
gpl2
30,735
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/cheat.cpp
C++
gpl2
18,437
int32 NeoFilterSound(int32 *in, int32 *out, uint32 inlen, int32 *leftover); void MakeFilters(int32 rate); void SexyFilter(int32 *in, int32 *out, int32 count);
zyking1987-zhsy
fceu_src/filter.h
C
gpl2
162
#ifndef __FCEU_GIT #define __FCEU_GIT enum EGIT { GIT_CART = 0, //Cart GIT_VSUNI = 1, //VS Unisystem GIT_FDS = 2, // Famicom Disk System GIT_NSF = 3, //NES Sound Format }; enum EGIV { GIV_NTSC = 0, //NTSC emulation. GIV_PAL = 1, //PAL emulation. GIV_USER = 2, //What was set by FCEUI_Se...
zyking1987-zhsy
fceu_src/git.h
C
gpl2
2,614
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/fceu.cpp
C++
gpl2
25,433
#ifndef _FCEU_FILE_H_ #define _FCEU_FILE_H_ #include <string> #include <iostream> #include "types.h" #include "emufile.h" extern bool bindSavestate; struct FCEUFILE { //the stream you can use to access the data //std::iostream *stream; EMUFILE *stream; //the name of the file, or the logical name ...
zyking1987-zhsy
fceu_src/file.h
C++
gpl2
4,477
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, o...
zyking1987-zhsy
fceu_src/netplay.cpp
C++
gpl2
7,400
#include "types.h" void FCEU_WriteWaveData(int32 *Buffer, int Count); int FCEUI_EndWaveRecord();
zyking1987-zhsy
fceu_src/wave.h
C
gpl2
101
/// \file /// \brief Implements core debugging facilities #include <stdlib.h> #include <string.h> #include "types.h" #include "x6502.h" #include "fceu.h" #include "cart.h" #include "ines.h" #include "debug.h" #include "driver.h" #include "ppu.h" #include "x6502abbrev.h" int vblankScanLines = 0; //...
zyking1987-zhsy
fceu_src/debug.cpp
C++
gpl2
20,780
# fceuDroid Makefile # - for eclipse to auto build all: ndk-build -j8 #APP_OPTIM=debug NDK_DEBUG=1 clean: ndk-build clean headers: javah -classpath bin ca.halsafar.nesdroid.Emulator mv ca_halsafar_nesdroid_Emulator.h ./jni/EmulatorBridge.h install: adb install NESDroidRelease.apk uninstall: adb unin...
zyking1987-zhsy
Makefile
Makefile
gpl2
552
package ca.halsafar.filechooser; import java.io.File; import java.io.FileInputStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Stack; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import ca.halsafar.downloader.DecompressListener; import ca...
zyking1987-zhsy
src/ca/halsafar/filechooser/FileChooser.java
Java
gpl2
12,537
package ca.halsafar.filechooser; /** * Based on: * @author http://www.dreamincode.net/forums/topic/190013-creating-simple-file-chooser/ * */ public class Option implements Comparable<Option>{ private String name; private String data; private String path; public Option(String n,String d,S...
zyking1987-zhsy
src/ca/halsafar/filechooser/Option.java
Java
gpl2
830
package ca.halsafar.filechooser; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Set; import ca.halsafar.nesdroid.R; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup;...
zyking1987-zhsy
src/ca/halsafar/filechooser/FileArrayAdapter.java
Java
gpl2
4,201
package ca.halsafar.widgets; import ca.halsafar.nesdroid.R; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.preference.DialogPreference; import android.widget.SeekBar; import android.widget.Tex...
zyking1987-zhsy
src/ca/halsafar/widgets/SeekBarPreference.java
Java
gpl2
4,764
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import android.app.Activity; import android.content.Context; import android.util.Log; // Mimic the C++ side for compati...
zyking1987-zhsy
src/ca/halsafar/nesdroid/EmulatorButtons.java
Java
gpl2
6,541
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import android.app.ListActivity; import android.content.Context; import android.content.SharedPreferences; import andro...
zyking1987-zhsy
src/ca/halsafar/nesdroid/KeyboardConfigActivity.java
Java
gpl2
8,462
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Edito...
zyking1987-zhsy
src/ca/halsafar/nesdroid/InputPreferences.java
Java
gpl2
12,871
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; /** * MAJOR TODO - remove app specific stuff in PreferenceFacade */ /** * Emulator bridge to native side. * All Ja...
zyking1987-zhsy
src/ca/halsafar/nesdroid/Emulator.java
Java
gpl2
3,174
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import android.app.Activity; import android.content.Context; import android.graphics.PixelFormat; import android.graphi...
zyking1987-zhsy
src/ca/halsafar/nesdroid/EmulatorView.java
Java
gpl2
21,273
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import java.io.File; import java.util.Map; import ca.halsafar.downloader.Decompress; import ca.halsafar.downloader.Dec...
zyking1987-zhsy
src/ca/halsafar/nesdroid/SettingsActivity.java
Java
gpl2
17,766
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import a...
zyking1987-zhsy
src/ca/halsafar/nesdroid/WelcomeActivity.java
Java
gpl2
1,502
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import ca.halsafar.audio.AudioPlayer; import ca.halsafar.nesdroid.PreferenceFacade; import android.app.Activity; import...
zyking1987-zhsy
src/ca/halsafar/nesdroid/PreferenceFacade.java
Java
gpl2
15,951
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import java.io.IOException; import java.io.InputStream; import ca.halsafar.nesdroid.R; import android.app.Activity; im...
zyking1987-zhsy
src/ca/halsafar/nesdroid/InputConfigActivity.java
Java
gpl2
20,413
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import ca.halsafar.nesdroid.R; import android.app.Activity; import android.content.pm.PackageInfo; import android.conte...
zyking1987-zhsy
src/ca/halsafar/nesdroid/AboutActivity.java
Java
gpl2
2,612
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import ca.halsafar.audio.AudioPlayer; import ca.halsafar.filechooser.FileChooser; import ca.halsafar.nesdroid.EmulatorA...
zyking1987-zhsy
src/ca/halsafar/nesdroid/EmulatorActivity.java
Java
gpl2
9,583
/** * ANDROID EMUFRAMEWORK * * SEE LICENSE FILE FOR LICENSE INFO * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.nesdroid; import java.io.File; import ca.halsafar.audio.AudioPlayer; import ca.halsafar.filechooser.FileChooser; import ca.halsaf...
zyking1987-zhsy
src/ca/halsafar/nesdroid/MainActivity.java
Java
gpl2
14,760
/** * AudioPlayer * * See LICENSE file included with this project for info. * Free to use, non-commercial license. * * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ package ca.halsafar.audio; import android.media.AudioFormat; import android.media.AudioManager; i...
zyking1987-zhsy
src/ca/halsafar/audio/AudioPlayer.java
Java
gpl2
4,772
/** * HALSAFAR DownloaderHelpers * * SEE LICENSE FILE * Free to use, non-commercial license. * * Copyright 2011 - Stephen Damm (shinhalsafar@gmail.com) */ package ca.halsafar.downloader; import java.io.BufferedInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStre...
zyking1987-zhsy
src/ca/halsafar/downloader/DownloadFile.java
Java
gpl2
4,270
/** * HALSAFAR DownloaderHelpers * * SEE LICENSE FILE * Free to use, non-commercial license. * * Copyright 2011 - Stephen Damm (shinhalsafar@gmail.com) */ package ca.halsafar.downloader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.zip.ZipEntry; impo...
zyking1987-zhsy
src/ca/halsafar/downloader/Decompress.java
Java
gpl2
3,456
/** * HALSAFAR DownloaderHelpers * * SEE LICENSE FILE * Free to use, non-commercial license. * * Copyright 2011 - Stephen Damm (shinhalsafar@gmail.com) */ package ca.halsafar.downloader; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipI...
zyking1987-zhsy
src/ca/halsafar/downloader/DecompressSingle.java
Java
gpl2
3,619
/** * HALSAFAR DownloaderHelpers * * SEE LICENSE FILE * Free to use, non-commercial license. * * Copyright 2011 - Stephen Damm (shinhalsafar@gmail.com) */ package ca.halsafar.downloader; public interface DecompressListener { void onDecompressSuccess(final String filename, final Integer numFiles); ...
zyking1987-zhsy
src/ca/halsafar/downloader/DecompressListener.java
Java
gpl2
368
/** * HALSAFAR DownloaderHelpers * * SEE LICENSE FILE * Free to use, non-commercial license. * * Copyright 2011 - Stephen Damm (shinhalsafar@gmail.com) */ package ca.halsafar.downloader; public interface DownloadListener { void onDownloadAlreadyUpdated(final String filename); void onDownloadSucces...
zyking1987-zhsy
src/ca/halsafar/downloader/DownloadListener.java
Java
gpl2
419
/** * NESDroid * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com * * fceuSupport.cpp * * Created on: Oct 12, 2010 * Author: halsafar */ #include <string.h> #include <android/log.h> #include "FceuSystem.h" #include "GraphicsDriver.h" #include "common.h" #include...
zyking1987-zhsy
jni/FceuSystem.cpp
C++
gpl2
3,384
/** * NESDroid * Copyright 2011 Stephen Damm (Halsafar) * All rights reserved. * shinhalsafar@gmail.com */ #include "Application.h" #include "fceu_src/fceu.h" #include "fceu_src/ppu.h" #include "fceu_src/driver.h" #include "libzip/zip.h" Application::Application(): Input(BUTTON_INDEX_COUNT, 1) { _ini...
zyking1987-zhsy
jni/Application.cpp
C++
gpl2
11,834
/* pngread.c - read a PNG file * * Last changed in libpng 1.5.2 [March 31, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under the libpng license...
zyking1987-zhsy
jni/libpng/pngread.c
C
gpl2
42,595
/* png.c - location for general purpose libpng functions * * Last changed in libpng 1.5.1 [February 3, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is relea...
zyking1987-zhsy
jni/libpng/png.c
C
gpl2
72,922
/* pngrio.c - functions for data input * * Last changed in libpng 1.5.0 [January 6, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under the libpn...
zyking1987-zhsy
jni/libpng/pngrio.c
C
gpl2
5,222
/* pnginfo.h - header file for PNG reference library * * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * Last changed in libpng 1.5.0 [January 6, 2011] * * This code is release...
zyking1987-zhsy
jni/libpng/pnginfo.h
C
gpl2
12,463
/* pngget.c - retrieval of values from info struct * * Last changed in libpng 1.5.1 [February 3, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released un...
zyking1987-zhsy
jni/libpng/pngget.c
C
gpl2
27,518
/* pngmem.c - stub functions for memory allocation * * Last changed in libpng 1.5.1 [February 3, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released un...
zyking1987-zhsy
jni/libpng/pngmem.c
C
gpl2
17,292
/* pngwio.c - functions for data output * * Last changed in libpng 1.5.0 [January 6, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under the libp...
zyking1987-zhsy
jni/libpng/pngwio.c
C
gpl2
7,635
/* pngconf.h - machine configurable file for libpng * * libpng version 1.5.2 - March 31, 2011 * * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under th...
zyking1987-zhsy
jni/libpng/pngconf.h
C
gpl2
23,317
/* png.h - header file for PNG reference library * * libpng version 1.5.2 - March 31, 2011 * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under the libp...
zyking1987-zhsy
jni/libpng/png.h
C
gpl2
96,494
/* pngtrans.c - transforms the data in a row (used by both readers and writers) * * Last changed in libpng 1.5.2 [March 31, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * ...
zyking1987-zhsy
jni/libpng/pngtrans.c
C
gpl2
19,600
/* pngwrite.c - general routines to write a PNG file * * Last changed in libpng 1.5.1 [February 3, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released ...
zyking1987-zhsy
jni/libpng/pngwrite.c
C
gpl2
49,406
/* pngwtran.c - transforms the data in a row for PNG writers * * Last changed in libpng 1.5.2 [March 31, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is rel...
zyking1987-zhsy
jni/libpng/pngwtran.c
C
gpl2
17,383
/* pngstruct.h - header file for PNG reference library * * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * Last changed in libpng 1.5.0 [January 6, 2011] * * This code is relea...
zyking1987-zhsy
jni/libpng/pngstruct.h
C
gpl2
13,563
/* pngwutil.c - utilities to write a PNG file * * Last changed in libpng 1.5.0 [January 6, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is released under th...
zyking1987-zhsy
jni/libpng/pngwutil.c
C
gpl2
83,529
/* pngpriv.h - private declarations for use inside libpng * * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) ...
zyking1987-zhsy
jni/libpng/pngpriv.h
C
gpl2
47,718
/*=== cexcept.h 2.0.1 (2008-Jul-19-Sat) http://www.nicemice.net/cexcept/ Adam M. Costello http://www.nicemice.net/amc/ An interface for exception-handling in ANSI C (C89 and subsequent ISO standards), developed jointly with Cosmin Truta. Copyright (c) 2000-2008 Adam M. Costello and Cosmin Truta. This software...
zyking1987-zhsy
jni/libpng/contrib/visupng/cexcept.h
C
gpl2
10,244
/* pngerror.c - stub functions for i/o and memory allocation * * Last changed in libpng 1.5.1 [February 3, 2011] * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is r...
zyking1987-zhsy
jni/libpng/pngerror.c
C
gpl2
12,970