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
Unknown W. Brackets bd6d9a97a5 Retain NaN bits in fp16/fp32 conversions.
This matches PSP behavior better.
2015-04-19 16:07:00 -07:00
android Add Mupen64's hack around the broken Moga library (that won't work in android 21+) 2015-04-03 11:35:55 +02:00
audio Unicode prep 2013-08-26 18:59:08 +02:00
base Don't use CLOCK_MONOTONIC_RAW on android, it is super choppy on Nexus 9. 2015-04-04 11:27:22 +02:00
data Unicode prep 2013-08-26 18:59:08 +02:00
ext Merge pull request #264 from Bigpet/vs2015 2015-03-06 21:45:00 +01:00
file Oops, fix another leak. 2015-04-10 11:48:22 -07:00
gfx ARM64: Make sure that eglGetProcAddress is declared, so the return value doesn't get truncated to int. 2015-03-07 13:56:17 +01:00
gfx_es2 Blacklist NV_shader_framebuffer_fetch on Tegra 3. 2015-04-08 16:57:17 -07:00
i18n ChoiceWithValueDisplay: Allow translation of the value 2014-07-21 18:42:25 +02:00
image Fix a small warning. 2015-02-22 13:30:35 -08:00
input Fix horizontal scrolling in ScrollViews and horizontal scroll gesture detection 2015-02-24 00:22:58 +01:00
json Add drag capturing (useful to resolve conflicts between scrollviews and draggable controls within) 2014-01-31 14:32:06 +01:00
math Retain NaN bits in fp16/fp32 conversions. 2015-04-19 16:07:00 -07:00
midi Unicode prep 2013-08-26 18:59:08 +02:00
net Make compilable with VS2015 2015-03-06 21:01:19 +01:00
profiler Tabs unification 2012-05-08 22:04:24 +02:00
thin3d cleanup 2015-02-09 23:12:51 +01:00
thread Make a parent class destructor virtual. 2014-12-25 19:30:24 -08:00
tools atlastool buildfix (yeah, it's still a mess to build, I know) 2014-07-23 12:50:30 +02:00
ui UI: Make InfoView focusable, make it possible to make TextView focusable. 2015-04-03 11:14:21 +02:00
util Add wchar conversion on non-Windows. 2014-12-07 15:22:52 -08:00
.gitignore define changes for mac from vit6969. 2013-05-06 23:30:34 +02:00
Android.mk ARM64 buildfix 2015-03-07 01:30:09 +01:00
LICENSE.TXT Update README and add LICENSE 2012-03-31 10:32:57 +02:00
native.vcxproj Statically link MSVCRT 2015-01-24 13:30:18 +01:00
native.vcxproj.filters Port my old webserver from the predecessor to native 2014-12-15 00:06:54 +01: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