code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
#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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | fceu_src/netplay.cpp | C++ | gpl2 | 7,400 |
#include "types.h"
void FCEU_WriteWaveData(int32 *Buffer, int Count);
int FCEUI_EndWaveRecord();
| zyking1987-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | 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-sjdiuwhiloql | jni/libpng/pngerror.c | C | gpl2 | 12,970 |
/* libpng STANDARD API DEFINITION */
/* pnglibconf.h - library build configuration */
/* libpng version 1.5.0 - last changed on February 11, 2011 */
/* Copyright (c) 1998-2011 Glenn Randers-Pehrson */
/* This code is released under the libpng license. */
/* For conditions of distribution and use, see the disclaime... | zyking1987-sjdiuwhiloql | jni/libpng/pnglibconf.h | C | gpl2 | 6,031 |
/* pngpread.c - read a png file in push mode
*
* 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 ... | zyking1987-sjdiuwhiloql | jni/libpng/pngpread.c | C | gpl2 | 51,196 |
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_CFLAGS := -Os \
-fomit-frame-pointer
LOCAL_MODULE := libgnupng
LOCAL_SRC_FILES :=\
png.c \
pngerror.c \
pngget.c \
pngmem.c \
pngpread.c \
pngread.c \
pngrio.c \
pngrtran.c \
pngrutil.c \
pngset.c \
pngtrans.c \
pngwio... | zyking1987-sjdiuwhiloql | jni/libpng/Android.mk | Makefile | gpl2 | 451 |
/* pngdebug.h - Debugging macros for libpng, also used in pngtest.c
*
* 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 ... | zyking1987-sjdiuwhiloql | jni/libpng/pngdebug.h | C | gpl2 | 5,403 |
/* pngrtran.c - transforms the data in a row for PNG readers
*
* 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-sjdiuwhiloql | jni/libpng/pngrtran.c | C | gpl2 | 138,249 |
/* pngset.c - storage of image information into 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 re... | zyking1987-sjdiuwhiloql | jni/libpng/pngset.c | C | gpl2 | 34,053 |
/* pngrutil.c - utilities to 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 ... | zyking1987-sjdiuwhiloql | jni/libpng/pngrutil.c | C | gpl2 | 99,827 |
#
# NESDROID
#
# SEE LICENSE FILE FOR LICENSE INFO
#
# Copyright 2011 Stephen Damm (Halsafar)
# All rights reserved.
# shinhalsafar@gmail.com
#
APP_BUILD_SCRIPT = $(APP_PROJECT_PATH)/Android.mk
LOCAL_JNI_SHARED_LIBRARIES := libzip libpng
#APP_OPTIM := debug
APP_OPTIM := release
#APP_STL := gnustl_static
APP_STL :=... | zyking1987-sjdiuwhiloql | jni/Application.mk | Makefile | gpl2 | 595 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef Graphics_H_
#define Graphics_H_
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include "libzip/zip.h"
#include "libpng/png.h"
#include "libpng... | zyking1987-sjdiuwhiloql | jni/libemu/GraphicsDriver.h | C++ | gpl2 | 2,512 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef INPUTHANDLER_H_
#define INPUTHANDLER_H_
#include <sys/types.h>
#include "GraphicsDriver.h"
#include "Sphere.h"
typedef struct _TouchEvent
{
... | zyking1987-sjdiuwhiloql | jni/libemu/InputHandler.h | C++ | gpl2 | 2,981 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#include <GLES/gl.h>
#include <GLES/glext.h>
#include "GraphicsDriver.h"
#include "common.h"
static const char gVertexShader[] = "attribute vec4 a_positio... | zyking1987-sjdiuwhiloql | jni/libemu/GraphicsDriver.cpp | C++ | gpl2 | 23,973 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef QUAD_H_
#define QUAD_H_
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
/*typedef struct _Quad2D
{
float x;
float y;
float w;
... | zyking1987-sjdiuwhiloql | jni/libemu/Quad.h | C++ | gpl2 | 761 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*
* common.h
*
* Created on: 2011-04-24
* Author: halsafar
*/
#ifndef COMMON_H_
#define COMMON_H_
#include <android/log.h>
#include <time.h>
#de... | zyking1987-sjdiuwhiloql | jni/libemu/common.h | C | gpl2 | 2,210 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#include "Quad.h"
Quad2D::Quad2D()
{
Visible = false;
Vertices = new GLfloat[4*3];
TexCoords = new GLfloat[4*2];
TextureId = -1;
... | zyking1987-sjdiuwhiloql | jni/libemu/Quad.cpp | C++ | gpl2 | 1,580 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#include <string.h>
#include "InputHandler.h"
#include "common.h"
InputHandler::InputHandler(int buttonCount, int analogCount)
{
_buttons = NULL;
... | zyking1987-sjdiuwhiloql | jni/libemu/InputHandler.cpp | C++ | gpl2 | 9,298 |
/**
* HAL EMU FRAMEWORK
*
* SEE LICENSE FILE FOR LICENSE INFO
*
* Copyright 2011 Stephen Damm (Halsafar)
* All rights reserved.
* shinhalsafar@gmail.com
*/
#ifndef SPHERE_H_
#define SPHERE_H_
class Sphere
{
public:
Sphere() :
_x(0), _y(0), _z(0), _radius(0)
{
}
Sphere(float x,... | zyking1987-sjdiuwhiloql | jni/libemu/Sphere.h | C++ | gpl2 | 1,795 |
/*
zip_stat_index.c -- get information about file by index
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modifica... | zyking1987-sjdiuwhiloql | jni/libzip/zip_stat_index.c | C | gpl2 | 3,046 |
/*
zip_unchange.c -- undo changes to file in zip archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificati... | zyking1987-sjdiuwhiloql | jni/libzip/zip_unchange.c | C | gpl2 | 2,488 |
/*
zip_rename.c -- rename file in zip archive
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are per... | zyking1987-sjdiuwhiloql | jni/libzip/zip_rename.c | C | gpl2 | 2,260 |
/*
zip_stat.c -- get information about file by name
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, a... | zyking1987-sjdiuwhiloql | jni/libzip/zip_stat.c | C | gpl2 | 1,882 |
/*
zip_entry_new.c -- create and init struct zip_entry
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification... | zyking1987-sjdiuwhiloql | jni/libzip/zip_entry_new.c | C | gpl2 | 2,449 |
/*
zip_source_zip.c -- create data source from zip file
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificatio... | zyking1987-sjdiuwhiloql | jni/libzip/zip_source_zip.c | C | gpl2 | 4,491 |
/*
zip_error_get.c -- get zip error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted pro... | zyking1987-sjdiuwhiloql | jni/libzip/zip_error_get.c | C | gpl2 | 1,756 |
/*
zip_new.c -- create and init struct zip
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permit... | zyking1987-sjdiuwhiloql | jni/libzip/zip_new.c | C | gpl2 | 2,302 |
/*
This file was generated automatically by ./make_zip_err_str.sh
from ./zip.h; make changes there.
*/
#include "zipint.h"
const char * const _zip_err_str[] = {
"No error",
"Multi-disk zip archives not supported",
"Renaming temporary file failed",
"Closing zip archive failed",
"Seek erro... | zyking1987-sjdiuwhiloql | jni/libzip/zip_err_str.c | C | gpl2 | 1,162 |
/*
zip_unchange_archive.c -- undo global changes to ZIP archive
Copyright (C) 2006-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
mod... | zyking1987-sjdiuwhiloql | jni/libzip/zip_unchange_archive.c | C | gpl2 | 1,877 |
/*
zip_free.c -- free struct zip
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted provid... | zyking1987-sjdiuwhiloql | jni/libzip/zip_free.c | C | gpl2 | 2,294 |
/*
zip_entry_free.c -- free struct zip_entry
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are perm... | zyking1987-sjdiuwhiloql | jni/libzip/zip_entry_free.c | C | gpl2 | 1,887 |
/*
zip_get_num_files.c -- get number of files in archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificati... | zyking1987-sjdiuwhiloql | jni/libzip/zip_get_num_files.c | C | gpl2 | 1,774 |
#ifndef _HAD_ZIPINT_H
#define _HAD_ZIPINT_H
/*
zipint.h -- internal declarations.
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, wi... | zyking1987-sjdiuwhiloql | jni/libzip/zipint.h | C | gpl2 | 9,015 |
/*
zip_fopen_index.c -- open file in zip archive for reading by index
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without... | zyking1987-sjdiuwhiloql | jni/libzip/zip_fopen_index.c | C | gpl2 | 5,624 |
/*
zip_name_locate.c -- get index by name
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitt... | zyking1987-sjdiuwhiloql | jni/libzip/zip_name_locate.c | C | gpl2 | 2,630 |
/*
$NiH: zip_unchange_data.c,v 1.14 2004/11/30 23:02:47 wiz Exp $
zip_unchange_data.c -- undo helper function
Copyright (C) 1999, 2004 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use... | zyking1987-sjdiuwhiloql | jni/libzip/zip_unchange_data.c | C | gpl2 | 1,996 |
/*
zip_set_name.c -- rename helper function
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permi... | zyking1987-sjdiuwhiloql | jni/libzip/zip_set_name.c | C | gpl2 | 2,399 |
/*
zip_sterror.c -- get string representation of zip error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modifica... | zyking1987-sjdiuwhiloql | jni/libzip/zip_strerror.c | C | gpl2 | 1,768 |
#ifndef _HAD_ZIP_H
#define _HAD_ZIP_H
/*
zip.h -- exported declarations.
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or wit... | zyking1987-sjdiuwhiloql | jni/libzip/zip.h | C | gpl2 | 9,563 |
/*
zip_file_error_get.c -- get zip file error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are per... | zyking1987-sjdiuwhiloql | jni/libzip/zip_file_error_get.c | C | gpl2 | 1,776 |
/*
zip_source_free.c -- free zip data source
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are perm... | zyking1987-sjdiuwhiloql | jni/libzip/zip_source_free.c | C | gpl2 | 1,849 |
/*
zip_fread.c -- read from file
Copyright (C) 1999-2009 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are permitted provid... | zyking1987-sjdiuwhiloql | jni/libzip/zip_fread.c | C | gpl2 | 3,599 |
/*
zip_source_filep.c -- create data source from FILE *
Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificatio... | zyking1987-sjdiuwhiloql | jni/libzip/zip_source_filep.c | C | gpl2 | 4,994 |
/*
zip_get_archive_flag.c -- get archive global flag
Copyright (C) 2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are p... | zyking1987-sjdiuwhiloql | jni/libzip/zip_get_archive_flag.c | C | gpl2 | 1,843 |
/*
zip_source_buffer.c -- create zip data source from buffer
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modifi... | zyking1987-sjdiuwhiloql | jni/libzip/zip_source_buffer.c | C | gpl2 | 3,627 |
/* $NiH: mkstemp.c,v 1.3 2006/04/23 14:51:45 wiz Exp $ */
/* Adapted from NetBSB libc by Dieter Baron */
/* NetBSD: gettemp.c,v 1.13 2003/12/05 00:57:36 uebayasi Exp */
/*
* Copyright (c) 1987, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and bin... | zyking1987-sjdiuwhiloql | jni/libzip/mkstemp.c | C | gpl2 | 3,667 |
/*
zip_unchange.c -- undo changes to all files in zip archive
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modif... | zyking1987-sjdiuwhiloql | jni/libzip/zip_unchange_all.c | C | gpl2 | 1,894 |
/*
zip_error_sterror.c -- get string representation of struct zip_error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or witho... | zyking1987-sjdiuwhiloql | jni/libzip/zip_error_strerror.c | C | gpl2 | 2,556 |
/*
zip_replace.c -- replace file via callback function
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification... | zyking1987-sjdiuwhiloql | jni/libzip/zip_replace.c | C | gpl2 | 2,431 |
/*
zip_add.c -- add file via callback function
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are pe... | zyking1987-sjdiuwhiloql | jni/libzip/zip_add.c | C | gpl2 | 1,898 |
/*
zip_get_name.c -- get filename for a file in zip file
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modificati... | zyking1987-sjdiuwhiloql | jni/libzip/zip_get_name.c | C | gpl2 | 2,395 |
/*
zip_get_archive_flag.c -- set archive global flag
Copyright (C) 2008 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are p... | zyking1987-sjdiuwhiloql | jni/libzip/zip_set_archive_flag.c | C | gpl2 | 1,819 |
/*
zip_stat_init.c -- initialize struct zip_stat.
Copyright (C) 2006-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modification, are... | zyking1987-sjdiuwhiloql | jni/libzip/zip_stat_init.c | C | gpl2 | 1,919 |
/*
zip_memdup.c -- internal zip function, "strdup" with len
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
modific... | zyking1987-sjdiuwhiloql | jni/libzip/zip_memdup.c | C | gpl2 | 1,945 |
/*
zip_file_sterror.c -- get string representation of zip file error
Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
... | zyking1987-sjdiuwhiloql | jni/libzip/zip_file_strerror.c | C | gpl2 | 1,788 |