orbisdev / liborbis

Libraries and samples for PlayStation 4
63 stars 22 forks source link

Load Mod files from SandBox #20

Open LightningMods opened 5 years ago

LightningMods commented 5 years ago

tested as seen here

log: [PS4][DEBUG]: ready to have a lot of fun... log: [PS4][DEBUG]: caching framebuffersize: 3686400b log: [PS4][DEBUG]: liborbisaudio already initialized using configuration external log: [PS4][DEBUG]: orbisaudio_initialized=1 log: [PS4][DEBUG]: ready to have a lot of fun... log: [PS4][DEBUG]: In play 0 log: [PS4][DEBUG]: In play m_bPlaying 1

masterzorag commented 5 years ago

We have to optimize this "where load from", this way we will risk to duplicate whole code; I'm already planning to provide an automatic way to let us use just 1 function to call when we have to access content For the moment it's ok and working, but I want reuse code and will add a new standard facility for the task; That way we will have 1 standard call to allocate/read/return_buf and use buf then with .mod, .png. every other file, will be handy; I'm already working on

psxdev commented 5 years ago

i have created liborbisFile, it will be the basic file i/o operation for liborbis, the orbis2d is freezed right now, orbisGl will be the main graphic core.