Author Topic: error when compiling in non-unicode  (Read 1532 times)

Offline robsons2007

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +0/-0
error when compiling in non-unicode
« on: February 08, 2016, 12:40:45 PM »
I'm trying to compile version 0.2.97.37 not in unicode but I am in a single error
this line does not want to compile in #unicode

struct InputInOut InputInOutD Input = {init, exit, SetCooperativeLevel, NEWFRAME, getState, readGamepadAxis, readMouseAxis, find, getControlName, NULL, _T ("DirectInput8 input")};
error
src/intf/input/win32/inp_dinput.cpp(876) : error C2440: 'inicializando' : n?o ? poss?vel converter de 'int (__cdecl *)(int,wchar_t *,wchar_t *)' para 'INT32 (__cdecl *)(INT32,TCHAR *,TCHAR *)'



the current fba not compile as not unicode?  makefile  >> #unicode = 1


Offline dink

  • Administrator
  • *****
  • Posts: 4039
  • Karma: +337/-0
  • pie? I nearly bought one!
Re: error when compiling in non-unicode
« Reply #1 on: February 08, 2016, 10:48:51 PM »
keep unicode enabled, it won't cause issues on any system winxp or higher.

Offline dink

  • Administrator
  • *****
  • Posts: 4039
  • Karma: +337/-0
  • pie? I nearly bought one!
Re: error when compiling in non-unicode
« Reply #2 on: February 08, 2016, 10:55:18 PM »
Regarding Megadrive/Genesis savestates: it won't be possible to have reliable savestates before 0.2.97.31 due to bugs in the cpu and sound cores, sorry!  Some good news though, the next version of FBA will have a very accurate/improved & reliable Megadrive core.

best regards,
- dink

Offline robsons2007

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +0/-0
Re: error when compiling in non-unicode
« Reply #3 on: February 09, 2016, 02:26:12 PM »
Thank  dink you always helping me