SDL :
- Renamed the configuration file to vbam.cfg to avoid conflict with the original VBA (thanks to tttttttttanaka for the patch) - Changed the window title to VBA-M
This commit is contained in:
parent
7cf772ea6c
commit
474231f6bb
|
@ -282,9 +282,9 @@ IF( CAN_BUILD_VBAM )
|
||||||
)
|
)
|
||||||
|
|
||||||
INSTALL(PROGRAMS vbam DESTINATION bin)
|
INSTALL(PROGRAMS vbam DESTINATION bin)
|
||||||
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/sdl/VisualBoyAdvance.cfg-example
|
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/sdl/vbam.cfg-example
|
||||||
DESTINATION ${SYSCONFDIR}
|
DESTINATION ${SYSCONFDIR}
|
||||||
RENAME VisualBoyAdvance.cfg)
|
RENAME vbam.cfg)
|
||||||
|
|
||||||
ENDIF( CAN_BUILD_VBAM )
|
ENDIF( CAN_BUILD_VBAM )
|
||||||
|
|
||||||
|
|
|
@ -838,7 +838,7 @@ void sdlOpenGLInit(int w, int h)
|
||||||
|
|
||||||
void sdlReadPreferences()
|
void sdlReadPreferences()
|
||||||
{
|
{
|
||||||
FILE *f = sdlFindFile("VisualBoyAdvance.cfg");
|
FILE *f = sdlFindFile("vbam.cfg");
|
||||||
|
|
||||||
if(f == NULL) {
|
if(f == NULL) {
|
||||||
fprintf(stderr, "Configuration file NOT FOUND (using defaults)\n");
|
fprintf(stderr, "Configuration file NOT FOUND (using defaults)\n");
|
||||||
|
@ -2223,7 +2223,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
autoFrameSkipLastTime = throttleLastTime = systemGetClock();
|
autoFrameSkipLastTime = throttleLastTime = systemGetClock();
|
||||||
|
|
||||||
SDL_WM_SetCaption("VisualBoyAdvance", NULL);
|
SDL_WM_SetCaption("VBA-M", NULL);
|
||||||
|
|
||||||
// now we can enable cheats?
|
// now we can enable cheats?
|
||||||
{
|
{
|
||||||
|
@ -2426,9 +2426,9 @@ void systemShowSpeed(int speed)
|
||||||
if(!fullscreen && showSpeed) {
|
if(!fullscreen && showSpeed) {
|
||||||
char buffer[80];
|
char buffer[80];
|
||||||
if(showSpeed == 1)
|
if(showSpeed == 1)
|
||||||
sprintf(buffer, "VisualBoyAdvance-%3d%%", systemSpeed);
|
sprintf(buffer, "VBA-M - %d%%", systemSpeed);
|
||||||
else
|
else
|
||||||
sprintf(buffer, "VisualBoyAdvance-%3d%%(%d, %d fps)", systemSpeed,
|
sprintf(buffer, "VBA-M - %d%%(%d, %d fps)", systemSpeed,
|
||||||
systemFrameSkip,
|
systemFrameSkip,
|
||||||
showRenderedFrames);
|
showRenderedFrames);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue