Page 2 of 2

Re: Kitchen Sink Update

Posted: Sat Feb 04, 2017 8:38 am
by ant512
With this version installed my DS games run ~4x faster than they should and flicker like crazy. Sticking 4 vwaits in slows things down to a reasonable speed but things still flicker. setCPUSpeed() has no effect. I'm assuming this has something to do with DSi mode; any way to disable that?

Re: Kitchen Sink Update

Posted: Sun Feb 05, 2017 2:09 am
by ant512
Aha, reverting libnds commit 469c168d7ed86c2cbea3890595c2bae0bb7f7b65 ("Replace broken DSi ARM9 BIOS swiWaitForVBlank implementation") fixes it.

Re: Kitchen Sink Update

Posted: Sun Feb 05, 2017 2:43 am
by ant512
ant512 wrote:Aha, reverting libnds commit 469c168d7ed86c2cbea3890595c2bae0bb7f7b65 ("Replace broken DSi ARM9 BIOS swiWaitForVBlank implementation") fixes it.
That's tested in desmume and on a DSi, btw. My DS Lite doesn't recognize carts (bah) so I can't test it there.

Re: Kitchen Sink Update

Posted: Tue Mar 21, 2017 5:48 pm
by Oibaf
Any chance to have an official version of Portlibs recompiled with with the latest tools?

The current version of zlib in sourceforge seems not to be working.

Thanks

Re: Kitchen Sink Update

Posted: Thu Mar 23, 2017 3:59 pm
by ph111p
With this update, I can't get anything to link that includes the iostream header from the c++ standard library; the following error is thrown instead:

Code: Select all

/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/lib/thumb/libstdc++.a(locale_init.o): In function `(anonymous namespace)::get_locale_mutex()':
(.text._ZN12_GLOBAL__N_116get_locale_mutexEv+0x6): undefined reference to `__sync_synchronize'
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/lib/thumb/libstdc++.a(locale.o): In function `std::locale::_Impl::_M_install_cache(std::locale::facet const*, unsigned int)':
(.text._ZNSt6locale5_Impl16_M_install_cacheEPKNS_5facetEj+0x14): undefined reference to `__sync_synchronize'
A minimal example to reproduce this is (using the standard makefile from the arm9 template):

Code: Select all

#include <iostream>
int main() {}
This error occurs on fresh installs on Windows 10, Arch Linux, and Ubuntu 14.04.
(You can find a build failure of a more complex example here: https://travis-ci.org/PH111P/perm2/jobs/214246108.)

Re: Kitchen Sink Update

Posted: Fri Jul 14, 2017 1:21 am
by WinterMute
ph111p wrote:With this update, I can't get anything to link that includes the iostream header from the c++ standard library; the following error is thrown instead:
I'll fix this properly with the next release but for the time being you can work around the link error with

Code: Select all

extern "C" void __sync_synchronize() {}

Re: Kitchen Sink Update

Posted: Thu Aug 17, 2017 8:07 am
by LewisPit
This release is working perfect for me so thanks!