A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
Go to file
2013-05-02 15:45:51 +10:00
android Add queue flush ability. Fix VGrid wrapping in UI. Fix some strange java error. 2013-04-14 11:58:07 +02:00
audio Resource leak fix, also cleanup. 2013-02-02 01:36:53 -05:00
base First attempt at fixing native/tools build 2013-04-24 17:07:13 +02:00
data Listable, json tweaks 2012-06-03 17:24:33 +02:00
ext Fix build again when __SSE_4_2__ is enabled 2013-04-24 22:37:34 +02:00
file Win32: Make getFileInfo() fail and label the path non-directory when GetFileAttributesExA fails 2013-04-21 23:13:07 +08:00
gfx another FBO_ARB/FBO_EXT issue 2013-04-20 14:48:13 +08:00
gfx_es2 Basic internationalization (i18n) framework. 2013-04-18 11:56:50 +02:00
i18n Fix language ini reading on android 2013-04-18 23:39:22 +02:00
image Build fix for Qt 2013-04-04 17:29:09 +10:00
input Allow mapping thumb stick clicks. Make touch controls show the state of real controls. 2013-03-31 11:22:49 +02:00
json Reindent (->tabs) 2012-10-30 13:20:55 +01:00
math Fix for my_isnan 2013-04-13 23:04:53 +02:00
midi warnin fixin 2012-07-09 01:11:18 +02:00
net Remove bad include sys/endian.h 2013-03-21 23:32:25 +01:00
profiler Tabs unification 2012-05-08 22:04:24 +02:00
thread Use boost to do C++11 features on Symbian. Use namespaces. 2013-05-02 15:45:51 +10:00
tools Add a brief description of the USE_KANJI 2013-05-02 01:08:07 +09:00
ui Kanji stuff 2013-04-18 14:41:09 +02:00
util atlastool CMake buildfix 2013-04-25 14:19:53 +02:00
.gitignore Add ant build 2012-11-18 23:58:16 +01:00
Android.mk Added ThreadPool to Android Makefile, hope this works 2013-05-01 13:23:51 +02:00
LICENSE.TXT Update README and add LICENSE 2012-03-31 10:32:57 +02:00
native.vcxproj Eliminated lambda, undo debug compialtion changes 2013-05-01 16:06:54 +02:00
native.vcxproj.filters Added ThreadPool with parallel loop functionality 2013-05-01 13:18:25 +02:00
README.md Switch out etcpack with the ZLIB licensed rg_etc1 library 2013-03-29 13:53:04 +01:00

native

This is my library of stuff that I use when writing C++ programs, mostly for Android but it's all written to enable easy portability between Android, Linux, Windows and MacOSX. The code is part ugly, part inconsistent but quite useful.

Features

  • JSON read/write (two libraries that should be made more similar)
  • basic OpenGL utility code, like compressed texture loading
  • 2D texture atlases and drawing code
  • ETC1 texture save/load support
  • basic logging
  • Really simple audio mixer with OGG sample support
  • RIFF file read/write
  • MIDI Input (only on Windows)

Notes

  • The associated tools to create ZIM texture files and atlases do not yet live here but I might move them here eventually.
  • This library is not really meant to be a public library but I see no reason not to set it free.
  • Note that the included VS project is probably not very useful for you and you're likely better off making your own.
  • Don't complain about inconsistent naming etc - this consists of code that has been cobbled together from a variety of my projects through the years. Fashions come and go.

Licenses

This library, for my convenience, incorporates code from a variety of public domain or similarly-licensed code. This is the list:

  • glew (GL extension wrangler), MIT license. TODO: should just use a submodule.
  • rg_etc1. ZLIB license.
  • sha1, public domain implementation by Dominik Reichl
  • vjson in a heavily modified form, originally by Ivan Vashchaev (TODO: break out into its own repo?)
  • libzip with attribution "Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner"
  • stb_vorbis, public domain by Sean Barrett of RAD Tools

If you're not okay with the licenses above, don't use this code.

I hereby release all code here not under the licenses above under the MIT license.

Contact

If you find this useful for your own projects, drop me a line at hrydgard@gmail.com .

Henrik Rydgård